Averaging $n$-step Returns Reduces Variance in Reinforcement Learning
Brett Daley, Martha White, Marlos C. Machado
TL;DR
The paper identifies variance as a key bottleneck in long-horizon multistep RL targets and proves that averaging multiple $n$-step returns into compound returns reduces variance when contraction properties are matched. It provides a general variance model for compound returns, establishes a variance-reduction theorem, and offers a finite-time convergence bound under linear function approximation. To translate theory into practice, the authors introduce PiLaR, a two-bootstrap, computationally light approximation that preserves variance reduction and matches the effective behavior of $\lambda$-returns. Empirical results in DQN and PPO demonstrate improved sample efficiency in several tasks, highlighting the practical impact of variance-aware multistep targets for both off-policy and on-policy deep RL.
Abstract
Multistep returns, such as $n$-step returns and $λ$-returns, are commonly used to improve the sample efficiency of reinforcement learning (RL) methods. The variance of the multistep returns becomes the limiting factor in their length; looking too far into the future increases variance and reverses the benefits of multistep learning. In our work, we demonstrate the ability of compound returns -- weighted averages of $n$-step returns -- to reduce variance. We prove for the first time that any compound return with the same contraction modulus as a given $n$-step return has strictly lower variance. We additionally prove that this variance-reduction property improves the finite-sample complexity of temporal-difference learning under linear function approximation. Because general compound returns can be expensive to implement, we introduce two-bootstrap returns which reduce variance while remaining efficient, even when using minibatched experience replay. We conduct experiments showing that compound returns often increase the sample efficiency of $n$-step deep RL agents like DQN and PPO.
