Bellman Equations
Decomposing cumulative value functions into immediate rewards plus discounted future values.
Recursive Value Decomposition
The fundamental principle of Dynamic Programming (Richard Bellman, 1957):
CUMULATIVE DISCOUNTED RETURN
G_t = R_{t+1} + γ R_{t+2} + γ² R_{t+3} + γ³ R_{t+4} + ...
= R_{t+1} + γ ( R_{t+2} + γ R_{t+3} + ... )
= R_{t+1} + γ G_{t+1}
Taking expectations yields the Bellman Equations!
1. Bellman Expectation Equations (Policy Evaluation)
For a fixed policy :
State-Value Function :
Action-Value Function :
2. Bellman Optimality Equations
For the optimal policy :
Bellman Optimality Backup Diagram
(State s)
│
a = max_a
│
▼
(Action-State s,a)
/ \
P(s'|s,a) / \
▼ ▼
(State s') (State s'')
Value Iteration Algorithm
Turn Bellman Optimality Equation into an iterative update rule:
By the Contraction Mapping Theorem, repeatedly applying this operator guarantees linear convergence to unique optimal fixed point .
Say this out loud
"Bellman Equations recursively express the value of a state V(s) or action Q(s,a) as immediate reward plus discounted expected value of successor states: V(s) = E[R + γ V(s')]. Bellman Expectation Equations evaluate a fixed policy π, while Bellman Optimality Equations incorporate the max operator over actions, forming the update rule for Value Iteration and Q-Learning."
Follow-ups to expect
- How does Q-Learning derive from the Bellman Optimality Equation? Q-Learning is a model-free sample-based approximation of the Bellman Optimality Equation, replacing transition probabilities with environment sample experiences .
- What is Bellman Residual / Error? The difference between current value prediction and Bellman target . Minimizing squared Bellman residual trains Q-networks.
Check yourself
What is the core recursive intuition behind the Bellman Equation for State Value V(s)?