Abstract
Catastrophic forgetting remains a significant obstacle in continual learning, where neural networks lose previously acquired knowledge upon learning new tasks. This paper explores a behavioral link between the speed at which an example is learned and its likelihood of being forgotten. We demonstrate that examples learned quickly are more robust to forgetting, while those learned slowly are highly susceptible. Leveraging this insight, we propose Speed-Based Sampling (SBS), a replay strategy that prioritizes examples based on their learning dynamics. SBS achieves state-of-the-art results across major benchmarks, highlighting the importance of accounting for forgetting dynamics in algorithm design.
Introduction: The Challenge of Catastrophic Forgetting
In the field of Continual Learning (CL), models are expected to learn a sequence of tasks without losing performance on earlier ones. However, standard neural networks suffer from "catastrophic forgetting," where new information overwrites old weights. Replay-based methods mitigate this by maintaining a small buffer of past examples. While effective, most replay strategies rely on random sampling, overlooking the inherent differences in how individual examples are retained. This research investigates whether we can predict which examples are most likely to be forgotten, enabling more strategic buffer management.
The Speed-Forgetting Correlation
The authors adopt a "behavioral" approach to analyze forgetting, focusing on observable model outputs rather than internal weight shifts. By tracking the "learning speed"—the number of epochs required for a model to consistently classify an example correctly—a clear pattern emerges.
The study reveals a "Last-In-First-Out" (LIFO) forgetting dynamic. Due to simplicity bias, networks prioritize learning easy, prototypical patterns first. These early-learned examples form a stable foundation that is resistant to interference. Conversely, the complex nuances or noisy data points learned later in the training process are the most fragile and are the first to be discarded when the model encounters new tasks.
Speed-Based Sampling (SBS)
Based on the discovery that learning speed predicts forgetting, the researchers developed Speed-Based Sampling (SBS). SBS moves beyond random selection by filtering the training data into three categories:
- Quickest Examples: These are often too simple; the model retains their underlying patterns even without explicit replay.
- Slowest Examples: These may represent noise or outliers that are difficult to store effectively in a limited buffer.
- The "Goldilocks Zone": Moderately fast examples that are complex enough to require re-exposure but stable enough to be useful for long-term retention.
SBS excludes the $q\%$ fastest and $s\%$ slowest examples, sampling uniformly from the remaining set. To determine the optimal $q$ and $s$ parameters without violating the constraints of continual learning (i.e., without "looking ahead" at future tasks), the authors use an auxiliary self-supervised task—predicting image rotation (RotNet)—to gauge the appropriate complexity level for the current dataset.
Experimental Results and Benchmarks
The SBS strategy was evaluated on standard computer vision benchmarks, including CIFAR-10, CIFAR-100, and TinyImageNet, across both Task-Incremental and Class-Incremental settings.
Key findings include:
- Superior Performance: SBS consistently outperformed random sampling and more complex heuristics like Herding or Max Entropy. For instance, on Split CIFAR-100 (20 tasks) with a 1,000-example buffer, SBS achieved 55.43% accuracy, a significant improvement over the 51.75% achieved by random sampling.
- Integration with SOTA Methods: SBS is a "plug-and-play" module. When integrated into high-performance algorithms like DER++, it further boosted their accuracy, demonstrating its general utility.
- Architectural Robustness: The correlation between learning speed and forgetting held true across various architectures (ResNet-18, VGG-16) and optimization settings, suggesting it is a fundamental property of neural network training.
Conclusion and Future Directions
This work provides a new perspective on simplicity bias, showing it governs not just the order of learning but also the order of forgetting. By identifying the "Goldilocks zone" of example complexity, SBS offers a simple yet powerful tool for improving replay-based continual learning.
However, the current implementation of SBS requires multiple training epochs to calculate learning speed, which limits its use in "online" settings where data is seen only once. Future research aims to identify single-pass "proxies" for learning speed—such as specific gradient features—to enable real-time application of speed-based sampling in streaming data environments.
Summary updated