Experience Replay for Continual Learning

David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy P. Lillicrap, Greg Wayne
11/28/2018
1,989 citations
cs.LGcs.AIstat.ML

No official code found. Best implementation: perceivelab/SER (12 stars, Python, last commit 2025-03-14).

Abstract

Continual learning is the problem of learning new tasks or knowledge while protecting old knowledge and ideally generalizing from old experience to learn new tasks faster. Neural networks trained by stochastic gradient descent often degrade on old tasks when trained successively on new tasks with different data distributions.

Show full abstract

This phenomenon, referred to as catastrophic forgetting, is considered a major hurdle to learning with non-stationary data or sequences of new tasks, and prevents networks from continually accumulating knowledge and skills. We examine this issue in the context of reinforcement learning, in a setting where an agent is exposed to tasks in a sequence. Unlike most other work, we do not provide an explicit indication to the model of task boundaries, which is the most general circumstance for a learning agent exposed to continuous experience. While various methods to counteract catastrophic forgetting have recently been proposed, we explore a straightforward, general, and seemingly overlooked solution - that of using experience replay buffers for all past events - with a mixture of on- and off-policy learning, leveraging behavioral cloning. We show that this strategy can still learn new tasks quickly yet can substantially reduce catastrophic forgetting in both Atari and DMLab domains, even matching the performance of methods that require task identities. When buffer storage is constrained, we confirm that a simple mechanism for randomly discarding data allows a limited size buffer to perform almost as well as an unbounded one.

View on arXivView PDF

Code Implementations(1)

perceivelab/SERCommunity25%

Saliency-driven Experience Replay for Continual Learning (NeurIPS2024)

121PythonOct 17, 20241 years agoNOASSERTION
continual-learningneurips-2024online-learningsaliency-predictionselective-attention

Similar Papers

Cite this paper

@article{rolnick2018experience,
  title  = {Experience Replay for Continual Learning},
  author = {David Rolnick and Arun Ahuja and Jonathan Schwarz and Timothy P. Lillicrap and Greg Wayne},
  year   = {2018},
  eprint = {1811.11682},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.11682}
}

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

Discussion