Advantage A
A(s, a) = Q − V: how much better action a is than the policy’s average action in state s.
In ML papers
The advantage measures how much better taking action is than what the policy does on average from . Positive means better than usual, negative worse.
Policy-gradient methods weight by an estimate instead of the raw return, which gives the same expected gradient with less variance. PPO (Schulman et al. 2017) uses from generalized advantage estimation, GAE (Schulman et al. 2016), which mixes temporal-difference errors with a weight .
Other meanings, by context
- Linear algebra. Outside RL, is usually a matrix (Bold uppercase (matrix)); calligraphic is the action space (State and action spaces).
How to type it
| LaTeX | Shows |
|---|---|
A^\pi(s, a) | |
\hat{A}_t estimated at step t |
A worked example
Action is worth 2 more than the policy's average from this state, so the update makes it more likely.
Common confusions
- The hat in (Hat (estimate)) marks an estimate computed from sampled rewards, not the true advantage.