Abstract
This paper introduces a novel perspective to significantly mitigate catastrophic forgetting in continuous learning (CL), which emphasizes models' capacity to preserve existing knowledge and assimilate new information. Current replay-based methods treat every task and data sample equally and thus can not fully exploit the potential of the replay buffer. In response, we propose COgnitive REplay (CORE), which draws inspiration from human cognitive review processes. CORE includes two key strategies: Adaptive Quantity Allocation and Quality-Focused Data Selection. The former adaptively modulates the replay buffer allocation for each task based on its forgetting rate, while the latter guarantees the inclusion of representative data that best encapsulates the characteristics of each task within the buffer. Our approach achieves an average accuracy of 37.95% on split-CIFAR10, surpassing the best baseline method by 6.52%. Additionally, it significantly enhances the accuracy of the poorest-performing task by 6.30% compared to the top baseline.
Introduction
Deep neural networks are notoriously susceptible to Catastrophic Forgetting when trained on a sequence of tasks. As the model updates its weights to accommodate new information, it effectively overwrites the knowledge required for previous tasks. This phenomenon is a major barrier to effective lifelong learning.
To address this, researchers often employ a replay buffer—a small cache of data from old tasks that the model reviews during new training. However, standard methods typically allocate buffer space indiscriminately and select samples at random. This "one-size-fits-all" approach fails to prioritize tasks that are harder to remember, leading to uneven performance across the task sequence.
Methodology: The CORE Framework
We introduce CORE (COgnitive REplay), which draws inspiration from human cognitive strategies like Targeted Recall (focusing on vulnerable memories) and Spaced Repetition (periodic review of stable ones). The framework consists of two primary components:
1. Adaptive Quantity Allocation (AQA)
Instead of uniform allocation, AQA calculates an "attention score" for each task to modulate its buffer space. For previous tasks, it measures the actual forgetting rate. For the current task, it estimates interference—how much the new training disrupted old knowledge—as a proxy for its future stability. Tasks are then categorized into Targeted Recall (high-forgetting tasks receiving more space) and Spaced Repetition (stable tasks receiving a minimum threshold).
2. Quality-Focused Data Selection (QFDS)
Rather than random sampling, QFDS ensures the buffer contains the most representative samples. It uses the model’s feature extractor to map data into a latent space and employs an iterative algorithm to select sample pairs that minimize the distance to the class mean. This maintains a robust and balanced decision boundary for old tasks.
Experimental Evaluation
CORE was evaluated on three standard benchmarks: split-MNIST, split-CIFAR10, and split-CIFAR100. Each dataset was divided into 10 sequential tasks.
Key Results
CORE demonstrated superior performance across all benchmarks, particularly in balancing task retention:
- Average Accuracy: On split-CIFAR10, CORE achieved 37.95%, outperforming the top baseline (iCaRL) by 6.52%.
- Minimum Task Accuracy: CORE significantly improved the performance of the most difficult-to-remember tasks, maintaining a minimum accuracy of 16.30% compared to the baseline's 5.80%.
- Ablation Studies: Removing either AQA or QFDS resulted in performance drops of 5-6%, confirming that both the quantity of task data and the quality of individual samples are critical for mitigating forgetting.
Conclusion
CORE demonstrates that mimicking human cognitive mechanisms can significantly improve the efficiency of replay-based continual learning. By dynamically prioritizing vulnerable tasks and selecting high-quality representative data, CORE achieves a more balanced and reliable retention of knowledge. Future work will explore integrating additional cognitive strategies, such as sleep-based consolidation, to further enhance model stability.
Summary updated