Introduction
Policy gradient methods are fundamental to modern reinforcement learning (RL) but suffer from high variance in gradient estimates. To mitigate this, researchers traditionally use a state-dependent baseline $V(s)$ to center the returns. Recent literature suggested that state-action-dependent baselines $\phi(s, a)$ could offer even greater variance reduction without introducing bias. This paper investigates why these theoretical promises often fail to translate into genuine algorithmic improvements in practice, revealing that many reported gains were actually due to subtle implementation biases.
The Dominance of Rollout Noise
To understand the limits of variance reduction, the authors decompose the total variance of the policy gradient ($\Sigma$) into three distinct sources:
- $\Sigma_\tau$: Variance arising from the stochasticity of the trajectory rollout (future rewards).
- $\Sigma_a$: Variance from sampling a specific action at the current state.
- $\Sigma_s$: Variance from visiting different states.
Crucially, action-dependent baselines can only reduce $\Sigma_a$. However, empirical analysis across various benchmarks shows that $\Sigma_\tau$ is often orders of magnitude larger than $\Sigma_a$.
As shown in the figure above, even an "oracle" action-dependent baseline that perfectly eliminates $\Sigma_a$ would have a negligible impact on the total variance because the rollout noise ($\Sigma_\tau$) remains the dominant factor throughout the training process.
Unmasking the Implementation Bias
If the theoretical variance reduction is minimal, why did prior methods like Q-Prop report significant performance gains? The authors conducted an implementation audit and discovered a "mirage" caused by asymmetric normalization.
In many open-source implementations, the learning signal was normalized while the bias correction term was not. This introduced a beneficial bias—effectively acting as an adaptive learning rate—that was misinterpreted as unbiased variance reduction. When this "bug" is corrected to make the algorithm strictly unbiased, the performance gains disappear.
Horizon-Aware Value Functions
The authors identify that the true bottleneck in variance reduction is often the poor fit of the value function approximator. Most RL agents use stationary value functions that ignore the "time remaining" in a finite-horizon task. For example, the expected return at the start of a 1000-step episode is vastly different from the return near the end.
To address this, they propose a horizon-aware parameterization that explicitly incorporates the time step into the value function. This architectural change consistently improved performance across high-dimensional tasks like HalfCheetah and Humanoid by reducing the approximation error—the actual dominant source of noise in these environments.
Conclusion
This research serves as a cautionary tale for the RL community, highlighting how implementation details can mask the true behavior of algorithms. While action-dependent baselines offer an elegant theoretical extension, their practical utility is limited by the overwhelming dominance of rollout noise in standard benchmarks. Future progress in policy gradients may lie not in more complex unbiased baselines, but in better function approximation and a more principled understanding of the bias-variance trade-offs introduced by common implementation tricks.
Summary updated