Revisiting Fundamentals of Experience Replay
William Fedus, Prajit Ramachandran, Rishabh Agarwal, Yoshua Bengio, Hugo Larochelle, Mark Rowland, Will Dabney
Abstract
Experience replay is central to off-policy algorithms in deep reinforcement learning (RL), but there remain significant gaps in our understanding. We therefore present a systematic and extensive analysis of experience replay in Q-learning methods, focusing on two fundamental properties: the replay capacity and the ratio of learning updates to experience collected (replay ratio). Our additive and ablative studies upend conventional wisdom around experience replay -- greater capacity is found to substantially increase the performance of certain algorithms, while leaving others unaffected. Counterintuitively we show that theoretically ungrounded, uncorrected n-step returns are uniquely beneficial while other techniques confer limited benefit for sifting through larger memory. Separately, by directly controlling the replay ratio we contextualize previous observations in the literature and empirically measure its importance across a variety of deep RL algorithms. Finally, we conclude by testing a set of hypotheses on the nature of these performance benefits.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
67 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- The Primacy Bias in Deep Reinforcement Learning cites Implicit Under-Parameterization Inhibits Data-Efficient Deep Reinforcement Learning
- The Dormant Neuron Phenomenon in Deep Reinforcement Learning cites The Primacy Bias in Deep Reinforcement Learning
- The Dormant Neuron Phenomenon in Deep Reinforcement Learning cites An Optimistic Perspective on Offline Reinforcement Learning
- The Dormant Neuron Phenomenon in Deep Reinforcement Learning cites Implicit Under-Parameterization Inhibits Data-Efficient Deep Reinforcement Learning
- Implicit Under-Parameterization Inhibits Data-Efficient Deep Reinforcement Learning cites An Optimistic Perspective on Offline Reinforcement Learning
- Bigger, Better, Faster: Human-level Atari with human-level efficiency cites The Primacy Bias in Deep Reinforcement Learning
- Bigger, Better, Faster: Human-level Atari with human-level efficiency cites The Dormant Neuron Phenomenon in Deep Reinforcement Learning
- Bigger, Better, Faster: Human-level Atari with human-level efficiency cites An Optimistic Perspective on Offline Reinforcement Learning
- Bigger, Better, Faster: Human-level Atari with human-level efficiency cites Implicit Under-Parameterization Inhibits Data-Efficient Deep Reinforcement Learning
Cited by top-tier papers67
- Mastering Visual Continuous Control: Improved Data-Augmented Reinforcement LearningDenis Yarats, Rob Fergus, Alessandro Lazaric, Lerrel PintoICLR 2022 · 457 citations
- The Primacy Bias in Deep Reinforcement LearningEvgenii Nikishin, Max Schwarzer, Pierluca D'Oro, Pierre-Luc Bacon et al.ICML 2022 · 269 citations
- Implicit Under-Parameterization Inhibits Data-Efficient Deep Reinforcement LearningAviral Kumar, Rishabh Agarwal, Dibya Ghosh, Sergey LevineICLR 2021 · 155 citations
- Bigger, Better, Faster: Human-level Atari with human-level efficiencyMax Schwarzer, Johan S. Obando-Ceron, Aaron C. Courville, Marc G. Bellemare et al.ICML 2023 · 155 citations
- The Dormant Neuron Phenomenon in Deep Reinforcement LearningGhada Sokar, Rishabh Agarwal, Pablo Samuel Castro, Utku EvciICML 2023 · 153 citations
Builds on4
- An Optimistic Perspective on Offline Reinforcement LearningRishabh Agarwal, Dale Schuurmans, Mohammad NorouziICML 2020 · 568 citations
- Attentive Experience ReplayPeiquan Sun, Wengang Zhou, Houqiang LiAAAI 2020 · 62 citations
- Combining Q-Learning and Search with Amortized Value EstimatesJessica B. Hamrick, Victor Bapst, Alvaro Sanchez-Gonzalez, Tobias Pfaff et al.ICLR 2020 · 51 citations
- Ranking Policy GradientKaixiang Lin, Jiayu ZhouICLR 2020 · 8 citations
Related papers
- Small batch deep reinforcement learningJohan S. Obando-Ceron, Marc G. Bellemare, Pablo Samuel CastroNeurIPS 2023 · 38 citations
- Sample-Efficient Reinforcement Learning by Breaking the Replay Ratio BarrierPierluca D'Oro, Max Schwarzer, Evgenii Nikishin, Pierre-Luc Bacon et al.ICLR 2023
- Meta-Q-LearningRasool Fakoor, Pratik Chaudhari, Stefano Soatto, Alexander J. SmolaICLR 2020 · 162 citations
- Large Batch Experience ReplayThibault Lahire, Matthieu Geist, Emmanuel RachelsonICML 2022 · 18 citations
- Learning Expected Emphatic Traces for Deep RLRay Jiang, Shangtong Zhang, Veronica Chelu, Adam White et al.AAAI 2022 · 14 citations
