liveBook · Manning

State

As explained in Causal AI

A state is the representation of an agent's situation that determines the relevant decision and future dynamics in a sequential decision process.

A state represents an agent’s current situation or context within an environment. It captures the information needed to describe where the agent is in a sequential decision process and can be discrete, such as a grid cell, or continuous. section 12.5.1

Grid-world position

In a 3-by-4 grid world, each reachable cell is a state. The agent starts in a random nonterminal cell, navigates around an obstacle, avoids a loss square, and seeks a goal square. Actions change the current state, although borders and obstacles can leave it unchanged. section 12.5.1

Within a Markov decision process, the current state summarizes the relevant decision context: given the last state, the full earlier history is independent of the current state. The next state depends causally on the previous state and selected action through the transition function P(Sₜ₊₁ = s′ | Sₜ = s, Aₜ = a). section 12.5.2 section 12.5.2

State representations can differ according to what the agent can observe:

  • Fully observed MDP: the agent knows which state it occupies. section 12.5.1
  • Partially observed MDP: the agent infers its state from incomplete environmental evidence. section 12.5.3
  • Latent-state models can distinguish an unobserved state causing observations from an unobserved common cause affecting behavior and utility. section 12.5.3
Figure 12.27 A simple grid world
figure

Use the grid-world figure to inspect how positions, obstacles, terminal cells, and rewards instantiate states in a concrete environment. section 12.5.1

Figure 12.28 The Markov decision process represented as a DAG
figure

Use the DAG figure to trace how the previous state and action determine the next state in an MDP. section 12.5.2

How Causal AI covers it

How deep it goes
Defines states, formalizes their transition kernel, and connects Markov assumptions to causal DAG reasoning.
Examples
Uses reachable grid cells, obstacles, terminal cells, latent states, and observed states as concrete representations.
What it assumes
Assumes familiarity with agents and environments while defining states from the grid-world example.
What you can do after
Evaluate/understand sequential decision models and formulate causal queries involving observed or unobserved states.
How it connects
Connects states to actions, rewards, transition functions, Markov decision processes, causal DAGs, and partially observed Markov decision processes.

Also explained in

Compare how 39 books explain state →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Causal AI. The section links point to the parts of the book it draws on.