Show that generalised advantage estimation , with , equals when and the Monte Carlo advantage when . How do these limits explain the bias–variance role of ? How do you check your claim on rewards and values with ?
Reinforcement learning, Actor–critic
Level L3 Intermediate. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can prove the two limits by telescoping and link them to low-bias versus low-variance advantage estimates.
Key idea
At only the term survives, so (one-step TD advantage). At the sum of telescopes into . The parameter interpolates between the two.
Steps
- : every weight for , so .
- : write and split it into three sums: .
- The second sum is the third sum without its first term, so they cancel except for (the far-future term vanishes at an episode end or as ). Hence .
- Numbers. The TD errors are . With the advantages are exactly these. With the recursion with factor gives . Check against and . They match.
- Interpret bias. uses the learned , so it is biased when the critic is wrong. uses only observed rewards, so it is unbiased for any critic.
- Interpret variance. contains one random reward and one random next state, so its variance is low. sums many random rewards and many random transitions, so its variance is high and grows with the horizon.
- Conclude: is a dial. In practice to with works well. Equivalently, GAE is an exponentially weighted average of the -step advantage estimators with weights .
Common mistakes
- Treating and as the same dial. changes the objective itself (how far ahead we care), while changes only the estimator's bias–variance balance for the same .
- Saying has no bias in practice. It is unbiased for the discounted objective, but its variance can make it unusable.
- Forgetting the terminal condition. If the last state is non-terminal (truncation), the bootstrapped value must be kept, not set to .
How long your answer should be
A page; 7–8 minutes.
Last checked on 4 December 2026.
Read this
Previous in Reinforcement learning: A linear value function is with . The agent moves from to with , where and . With and , compute the semi-gradient TD(0) update, and compare with the residual-gradient update. Why is TD(0) called a "semi-gradient" method?
Next in Reinforcement learning: In RLHF, a reward model gives scores to the human-preferred answer and to the rejected one. Under the Bradley–Terry model, . Compute this probability, the loss , and the gradients with respect to and . What happens when the scores are the other way round, and why does the loss depend only on the difference?