[Paper Review] Continual Learning with Strong Experience Replay
This paper proposes Strong Experience Replay (SER), a continual learning method that enhances traditional experience replay by introducing two consistency losses: backward consistency using stored past samples and forward consistency by mimicking the old model's predictions on current data. SER significantly reduces catastrophic forgetting and outperforms state-of-the-art methods on image classification benchmarks, achieving higher average accuracy with minimal computational overhead.
Continual Learning (CL) aims at incrementally learning new tasks without forgetting the knowledge acquired from old ones. Experience Replay (ER) is a simple and effective rehearsal-based strategy, which optimizes the model with current training data and a subset of old samples stored in a memory buffer. To further reduce forgetting, recent approaches extend ER with various techniques, such as model regularization and memory sampling. However, the prediction consistency between the new model and the old one on current training data has been seldom explored, resulting in less knowledge preserved when few previous samples are available. To address this issue, we propose a CL method with Strong Experience Replay (SER), which additionally utilizes future experiences mimicked on the current training data, besides distilling past experience from the memory buffer. In our method, the updated model will produce approximate outputs as its original ones, which can effectively preserve the acquired knowledge. Experimental results on multiple image classification datasets show that our SER method surpasses the state-of-the-art methods by a noticeable margin.
Motivation & Objective
- To address catastrophic forgetting in continual learning, where models degrade on previous tasks when learning new ones.
- To improve the generalization and knowledge retention of experience replay (ER) methods, especially when only a few past samples are available.
- To reduce overfitting to the memory buffer in rehearsal-based methods by introducing a forward consistency loss based on the old model's predictions on current data.
- To achieve a better balance between plasticity (learning new tasks) and stability (preserving old knowledge) without increasing computational cost.
Proposed method
- Proposes a dual consistency loss: backward consistency, which enforces the new model to match the old model’s predictions on past samples stored in the memory buffer.
- Introduces forward consistency, which aligns the new model’s predictions on current training data with the old model’s predictions on the same data, even though the old model has not seen these samples.
- Uses a frozen old model to preserve knowledge during training, ensuring stable backward and forward consistency.
- Combines experience replay with both consistency losses in a single training objective, minimizing forgetting while maintaining plasticity.
- Employs a standard deep neural network backbone with minimal architectural modifications, making SER easy to implement and efficient.
- Computes the forward consistency loss on the full current training batch, enabling knowledge transfer to new tasks over time.
Experimental results
Research questions
- RQ1Can forward consistency, derived from the old model’s predictions on current data, improve knowledge retention in continual learning?
- RQ2Does combining backward and forward consistency reduce forgetting more effectively than existing rehearsal-based methods?
- RQ3How does SER compare to state-of-the-art methods like DER++ and CLS-ER in terms of accuracy and computational efficiency?
- RQ4Can forward consistency alone outperform existing methods when the memory buffer is small?
- RQ5Does the proposed method achieve a better stability-plasticity trade-off than prior approaches?
Key findings
- SER surpasses state-of-the-art methods on multiple image classification benchmarks, achieving a 69.04% average accuracy on CIFAR10 under Class-IL and 95.79% under Task-IL, compared to 64.88% and 91.92% for DER++.
- Simply adding the forward consistency loss to ER improves performance from 64.88% to 69.04% on CIFAR10 (Class-IL), demonstrating its effectiveness even without backward consistency.
- The forward consistency loss enables consistent prediction propagation to new tasks over time, improving generalization on previous tasks.
- SER maintains a better stability-plasticity balance than DER++ and CLS-ER, preserving more knowledge from earlier tasks while achieving strong performance on recent tasks.
- Despite incorporating an additional consistency loss, SER does not increase computational cost compared to DER++, as it avoids redundant sampling from the memory buffer.
- Ablation studies confirm that both backward and forward consistency contribute significantly to performance, with forward consistency being particularly effective under small memory buffer settings.
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.