Reconciling λ-Returns with Experience Replay

Brett Daley, Christopher Amato
10/23/2018
cs.LGstat.ML
rl

Official code: brett-daley/dqn-lambda (25 stars, Python, MIT, TensorFlow, last commit 2024-05-20).

Abstract

Modern deep reinforcement learning methods have departed from the incremental learning required for eligibility traces, rendering the implementation of the $λ$-return difficult in this context. In particular, off-policy methods that utilize experience replay remain problematic because their random sampling of minibatches is not conducive to the efficient calculation of $λ$-returns.

Show full abstract

Yet replay-based methods are often the most sample efficient, and incorporating $λ$-returns into them is a viable way to achieve new state-of-the-art performance. Towards this, we propose the first method to enable practical use of $λ$-returns in arbitrary replay-based methods without relying on other forms of decorrelation such as asynchronous gradient updates. By promoting short sequences of past transitions into a small cache within the replay memory, adjacent $λ$-returns can be efficiently precomputed by sharing Q-values. Computation is not wasted on experiences that are never sampled, and stored $λ$-returns behave as stable temporal-difference (TD) targets that replace the target network. Additionally, our method grants the unique ability to observe TD errors prior to sampling; for the first time, transitions can be prioritized by their true significance rather than by a proxy to it. Furthermore, we propose the novel use of the TD error to dynamically select $λ$-values that facilitate faster learning. We show that these innovations can enhance the performance of DQN when playing Atari 2600 games, even under partial observability. While our work specifically focuses on $λ$-returns, these ideas are applicable to any multi-step return estimator.

View on arXivView PDF

Code Implementations(1)

TensorFlowMIT

NeurIPS 2019: DQN(λ) = Deep Q-Network + λ-returns.

255PythonOct 28, 20182 years agoMIT
atari-2600cartpoledeep-q-networkdeep-reinforcement-learningopenai-gym+1 more

Similar Papers

Cite this paper

@article{daley2018reconciling,
  title  = {Reconciling λ-Returns with Experience Replay},
  author = {Brett Daley and Christopher Amato},
  year   = {2018},
  eprint = {1810.09967},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.09967}
}

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/1810.09967.svg)](https://codeofpaper.com/paper/1810.09967)

Discussion