Averaging n-step Returns Reduces Variance in Reinforcement Learning

Brett Daley, Martha White, Marlos C. Machado
2/1/2024
rl

No confident code implementation found for this paper.

Abstract

Multistep returns, such as $n$-step returns and $\lambda$-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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{daley2024averaging,
  title  = {Averaging n-step Returns Reduces Variance in Reinforcement Learning},
  author = {Brett Daley and Martha White and Marlos C. Machado},
  year   = {2024},
  eprint = {2402.03903},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.03903},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.03903.svg)](https://codeofpaper.com/paper/2402.03903)

Discussion