Back to Reinforcement Learning Mind Map
中文·English
🎮 Reinforcement LearningID: mdp-bellman

MDP & Bellman Equations

MDP 与 Bellman 方程
🎯Core Definition
An MDP (Markov Decision Process) models sequential decisions as a 5-tuple (S,A,P,R,γ)(S, A, P, R, \gamma): SS states, AA actions, P(ss,a)P(s'|s,a) transition probabilities, R(s,a)R(s,a) immediate rewards, and γ[0,1)\gamma \in [0,1) discount factor. The Bellman optimality equation captures self-consistency (optimal substructure) of the optimal value function: V(s)=maxa[r(s,a)+γsP(ss,a)V(s)]V^*(s) = \max_a \left[ r(s,a) + \gamma \sum_{s'} P(s'|s,a) V^*(s') \right], where r(s,a)r(s,a) is the immediate reward, maxa\max_a takes the best action, sP(ss,a)V(s)\sum_{s'} P(s'|s,a) V^*(s') is the transition-weighted expectation over successor states, and γ\gamma discounts future rewards. The Q-version is Q(s,a)=r(s,a)+γsP(ss,a)maxaQ(s,a)Q^*(s,a) = r(s,a) + \gamma \sum_{s'} P(s'|s,a) \max_{a'} Q^*(s',a') with maxaQ(s,a)\max_{a'} Q^*(s',a') the optimal expected value at the next state; the two are linked by V(s)=maxaQ(s,a)V^*(s) = \max_a Q^*(s,a).
💡Use Cases
the modeling starting point of every RL problem — robot control, game AI, recommender systems, and LLM reasoning RL (RLVR) all frame decisions as MDPs; interviews ask for the 5-tuple, the role of γ\gamma, and the derivation of the Bellman equations in both V and Q forms.
Key Problems Solved
it formalizes sequential decisions with long-term consequences into a computable dynamic-programming problem — the Bellman equation decomposes the global optimum into "best current action + optimal substructure", making VV^* the fixed point of a contraction operator TT (V=TVV^* = TV^*), approximable by iterative algorithms such as VI/PI/TD/Q-learning — the shared theoretical foundation of all RL algorithms.
🎯5 High-Frequency Exam Points
1
Write the MDP 5-tuple and explain each element. What role does the discount γ play?
2
Derive and write out the Bellman optimality equations for V* and Q*, explaining every term.
3
How are V* and Q* related? Why does the Bellman equation embody "optimal substructure"?
4
Difference between the Bellman expectation and optimality equations? How is Vπ defined for a given policy π?
5
Why does γ < 1 guarantee a bounded, convergent value function? What happens at γ = 1 or γ = 0?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "MDP & Bellman Equations"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Next CardValue vs Policy Iteration

🔗 More Reinforcement Learning Knowledge Cards

Actor-CriticBehavioral CloningContextual BanditCoT & Reasoning RL