Abstract
Humans naturally utilize curricula—structured sequences of learning and review—to acquire new skills. This study explores the integration of such curricula into replay-based rehearsal methods for continual learning (CL) agents. We systematically examine three aspects of curriculum design: the frequency of interleaving replayed exemplars, the sequence of replay (e.g., easy-to-hard), and the strategy for selecting exemplars into the replay buffer. Our results demonstrate that these structured approaches effectively mitigate catastrophic forgetting and enhance positive knowledge transfer, outperforming standard random replay methods on benchmark datasets like ciFAIR-10 and ciFAIR-100.
Introduction
Artificial intelligence often struggles with Continual Learning (CL). Unlike humans, who build on past knowledge, neural networks tend to suffer from catastrophic forgetting: when learning a new task, they abruptly overwrite the parameters used for previous tasks. To combat this, researchers use rehearsal-based methods, where a small "replay buffer" of old data is mixed in while training on new data. However, most current methods pick and play these samples randomly. This research investigates whether structured "curricula"—choosing what to review and in what order—can make replay more effective by drawing inspiration from pedagogy and neuroscience.
Methodology
We systematically tested three types of curricula for the replay process:
- Interleave Frequency: We varied the frequency of mixing old data with new data, measured in "interleave divisions." This ranged from replaying all old data once at the end of an epoch (Div Num 1) to frequent, small bursts throughout training (up to Div Num 600).
- Replay Sequence: We compared Easy-to-Hard vs. Hard-to-Easy sequences. Difficulty was determined using two metrics: Confidence Scores (teacher model certainty) and Distance Vectors (geometric centrality in feature space).
- Selection Strategy: We evaluated which samples to retain in the limited replay buffer: the easiest, the hardest, or a uniform distribution across all difficulty levels.
Key Results and Discussion
The Impact of Selection and Frequency
Our experiments on ciFAIR-100 reveal that the strategy used to populate the replay buffer significantly affects performance. Selecting only the "hardest" samples proved detrimental, likely due to a more complex loss landscape that hinders convergence. Conversely, a uniform distribution of difficulty levels was the most robust strategy, achieving the highest average accuracy.
Furthermore, the frequency of interleaving is a critical factor. Increasing the interleave divisions from 1 to 600 consistently improved accuracy across all selection strategies, though a saturation point is typically reached around 120 divisions.
Sequence Effects on Forgetting
Replaying samples in an Easy-to-Hard sequence consistently outperformed the reverse. This approach likely provides more stable gradient updates, allowing the model to consolidate previous knowledge without disrupting the learning of new tasks.
As shown in Figure 5, the Easy-to-Hard sequence (light grey bars) coupled with high interleave frequency (Div Num 600) results in the best balance of high accuracy and low forgetting. We also observed that using a teacher model’s confidence score was a more effective difficulty metric than geometric distance vectors.
Conclusion
Integrating structured curricula into replay methods significantly advances continual learning methodologies. By optimizing how frequently we review, the order of review, and the diversity of the review material, we can substantially reduce catastrophic forgetting. Future work will explore real-time "student feedback loops" to determine sample difficulty dynamically, potentially eliminating the need for external teacher models and making these methods more practical for real-world applications.
Summary updated