What is the difference between the state-value and the action-value , and how are they related? If , , and , what is ?
Reinforcement learning, Value functions
Level L1 Beginner. Length Short. Nature Th+Mat Both.
What's being asked
Whether you can state both definitions and convert one into the other.
Key idea
is the expected return from when following . is the expected return from taking in first, then following . They are linked by .
Steps
- Define , where is the discounted sum of future rewards.
- Define . The first action is fixed to , and is used from the next step on.
- Relate them. averages over the policy's action probabilities: .
- Compute the example: .
- Say why is useful: given , the greedy action is with no model needed, whereas with alone you need the transition model to look one step ahead.
Common mistakes
- Writing . The max holds only for the optimal policy, .
- Forgetting that and depend on the policy . A different policy gives different values.
- Saying is the immediate reward. It is the expected total return, not just the first reward.
How long your answer should be
3–5 sentences and one line of arithmetic.
Last checked on 4 December 2026.
Read this
Previous in Reinforcement learning: What are the three stages of reinforcement learning from human feedback (RLHF) used to fine-tune a language model, and what does each stage produce?
Next in Reinforcement learning: A deterministic MDP has two states, A and B, and . In A you can "stay" (reward 1, remain in A) or "go" (reward 0, move to B). In B the only action is "stay" (reward 2, remain in B). Starting from , what are the values after three iterations of value iteration, and what are and the optimal policy?