Reconciling -Returns with Experience Replay
arXiv:1810.09967
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. 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.
NeurIPS 2019 (Camera-Ready) Code available: https://github.com/brett-daley/dqn-lambda
Cited by in corpus (7)
- A reinforcement learning approach to rare trajectory sampling
- An Equivalence between Loss Functions and Non-Uniform Sampling in Experience Replay
- Revisiting Prioritized Experience Replay: A Value Perspective
- Mixture of Step Returns in Bootstrapped DQN
- Belief-Grounded Networks for Accelerated Robot Learning under Partial Observability
- Improved Soft Actor-Critic: Mixing Prioritized Off-Policy Samples with On-Policy Experience
- Human-Level Control without Server-Grade Hardware