The Effects of Memory Replay in Reinforcement Learning

By Ruishan Liu, James Y. Zou. 2017

134 citations recorded by the source corpus.

Experience replay is a key technique behind many recent advances in deep reinforcement learning. Allowing the agent to learn from earlier memories can speed up learning and break undesirable temporal correlations. Despite its widespread application, very little is understood about the properties of experience replay. How does the amount of memory kept affect learning dynamics? Does it help to prioritize certain experiences? In this paper, we address these questions by formulating a dynamical systems ODE model of Q-learning with experience replay. We derive analytic solutions of the ODE for a simple setting. We show that even in this very simple setting, the amount of memory kept can substantially affect the agent’s performance–too much or too little memory both slow down learning. Moreover, we characterize regimes where prioritized replay harms the agent’s learning. We show that our analytic solutions have excellent agreement with experiments. Finally, we propose a simple algorithm for adaptively changing the memory buffer size which achieves consistently good empirical performance.

Subfields: Artificial Intelligence, Cognitive Neuroscience, Management Science and Operations Research

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Sergey Levine
  2. Jeff Clune
  3. Yoshua Bengio
  4. Pieter Abbeel
  5. Chelsea Finn
  6. Quoc V. Le
  7. Ruslan Salakhutdinov
  8. J. Urgen Schmidhuber

In Cognitive Neuroscience

  1. Aviral Kumar
  2. Jeff Clune
  3. Abhishek Gupta
  4. Sergey Levine
  5. Joel Lehman
  6. Kenneth O. Stanley
  7. Yoshua Bengio
  8. Mark Rowland

In Management Science and Operations Research

  1. Sergey Levine
  2. Aviral Kumar
  3. Zhuoran Yang
  4. Zhaoran Wang
  5. Shangtong Zhang
  6. Abhishek Gupta
  7. Yoshua Bengio
  8. Mark Rowland

Citations in the corpus