The state is the complete description of the environment at a given time step. It is the information the agent uses to decide what action to take. The completeness and quality of the state representation determines what the agent can learn.
A Markov state contains all information needed to predict future outcomes — the past doesn't matter beyond what's in the current state. This property simplifies learning enormously: the agent only needs to learn a policy over current states, not over entire histories. Environments built on Markov states are called Markov Decision Processes (MDPs).
Atari games — Pixel values of the screen, stacked over the last 4 frames to capture motion. High-dimensional (84×84×4 grayscale = ~28,000 numbers).
Robotic control — Joint angles, velocities, end-effector position, contact forces. Continuous-valued vectors, lower dimension than pixels.
Language model RL (RLHF) — The sequence of tokens generated so far. The state is the conversation or generation history.
Partial observation — When the agent sees only part of the state, it may stack recent observations or use an LSTM/transformer to infer the hidden state from history.
Ask the AI assistant about RL states, the Markov property, state vs observation, or how neural networks handle large state spaces.