The advantage function measures how much better an action is compared to the average action in that state:
- : action is better than average under
- : action is worse than average
- by definition
Why use advantage instead of Q:
- Policy gradients with or return have high variance
- acts as a baseline → using centers the signal, reducing variance without adding bias
- The policy should only increase probability of actions that are better than average, not just positive-return
Generalized Advantage Estimation (GAE):
where is the Miscoral Difference Learning .
- : pure TD advantage (low variance, some bias)
- : Monte Carlo advantage (no bias, high variance)
- Typical — good bias-variance tradeoff
- GAE is the default advantage estimator in Proximal Policy Optimization (PPO)
See also: Value Functions , Policy Gradient Theorem , Actor-Critic Methods