Introduction
Continual Learning (CL) aims to enable machine learning models to acquire new knowledge sequentially without suffering from "catastrophic forgetting"—the loss of previously learned information. A common mitigation strategy involves a replay buffer, which stores a subset of past data to periodically retrain the model. However, traditional methods often treat all classes and samples as equally important, leading to suboptimal memory usage.
The Class-Adaptive Sampling Policy (CASP)
The proposed Class-Adaptive Sampling Policy (CASP) moves beyond uniform sampling by identifying which data is most critical for retention. CASP operates through two primary mechanisms:
- Class Strategy ($\pi_{cs}$): This strategy identifies "vulnerable" classes. By monitoring the fluctuations in a surrogate model's confidence scores over several epochs, CASP identifies classes with high volatility. These classes are deemed harder to retain and are allocated a larger portion of the replay buffer.
- Sample Strategy ($\pi_{ss}$): Within each class, CASP selects specific "Challenging" samples. Unlike "Simple" samples (consistently high confidence) or "Hard" samples (consistently low confidence/noise), Challenging samples exhibit high variance in confidence. These samples typically reside near decision boundaries and provide the most informative representation for the model.
Key Insights: Volatility as a Proxy for Forgetting
A central finding of this research is that the volatility of model confidence during training is a superior predictor of forgetting compared to absolute accuracy. By prioritizing samples that the model "struggles" with—the "aha!" moments—CASP effectively maps the boundaries between classes, ensuring that the most representative data is preserved.
Experimental Evaluation
CASP was evaluated on standard benchmarks including Split CIFAR10, Split CIFAR100, and Split Mini-ImageNet. When integrated into existing CL frameworks like Experience Replay (ER), CASP consistently improved performance. For instance, on Split CIFAR100, it boosted the average accuracy of ER by 3.55%.
Efficiency and Scalability
One of CASP's most significant advantages is its computational efficiency. Unlike gradient-based sampling methods such as GSS or ASER, which require expensive calculations for every batch, CASP utilizes a surrogate model to determine the sampling policy once per task.
As shown in the results, CASP is nearly as fast as random sampling while being 3x to 5x faster than specialized competitors. This makes it a highly scalable "plug-and-play" solution for real-world applications.
Conclusion
CASP demonstrates that intelligent, adaptive data selection can significantly enhance the performance and efficiency of Continual Learning. By focusing on class vulnerability and sample representativeness through the lens of confidence volatility, CASP provides a robust mechanism for maintaining knowledge over time. Future research may explore on-the-fly policy updates and applications to non-visual data modalities.
Summary updated