[Paper Review] Experience Replay for Continual Learning
CLEAR uses a mix of on-policy learning from new data and off-policy replay with behavioral cloning to substantially reduce catastrophic forgetting in continual reinforcement learning.
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. 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.
Motivation & Objective
- Motivate and address the stability-plasticity trade-off in continual RL.
- Develop a replay-based framework that reduces catastrophic forgetting across sequential tasks.
- Enable learning without explicit task boundaries or task identity assumptions.
Proposed method
- Use actor-critic training with a mixture of novel and replay experiences and V-Trace off-policy corrections.
- Apply behavioral cloning between the current policy and a past self to stabilize replay learning.
- Combine on-policy updates for plasticity with off-policy updates for stability; include cloning losses for replay data.
- Employ a distributed IMPALA-like architecture with reservoir sampling to manage replay buffers when memory is limited.
Experimental results
Research questions
- RQ1Can experience replay reduce catastrophic forgetting in continual RL where tasks are presented sequentially?
- RQ2Does mixing on-policy learning with off-policy replay (plus behavioral cloning) improve stability without sacrificing plasticity?
- RQ3How does CLEAR perform relative to task-aware methods (e.g., EWC, Progress & Compress) and to training on separate or simultaneous tasks?
- RQ4What are the effects of buffer size and on/off-policy balance on learning dynamics and forgetting?
Key findings
- CLEAR dramatically reduces catastrophic forgetting in cyclic and sequential task settings.
- CLEAR achieves cumulative performance comparable to training on tasks separately or simultaneously, effectively eliminating forgetting.
- Behavioral cloning strengthens stability, while off-policy replay supports learning on past tasks even as new tasks are learned.
- A 50-50 mix of new and replay data provides a good trade-off between stability and plasticity; 100% replay harms early learning on new tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.