How to Leverage Predictive Uncertainty Estimates for Reducing Catastrophic Forgetting in Online Continual Learning

Giuseppe Serra, Ben Werner, Florian Buettner

Abstract

Online Continual Learning (online-CL) involves learning from a continuous stream of data where tasks appear sequentially. A primary challenge in this setting is catastrophic forgetting (CF), where the model loses performance on previous tasks as it adapts to new ones. While memory buffers for experience replay are widely used, the criteria for selecting which samples to retain remain a subject of debate. This paper introduces a memory management strategy utilizing Bregman Information (BI) to quantify epistemic uncertainty. Our findings reveal a counter-intuitive insight: retaining "representative" samples with low uncertainty (Bottom-k strategy) is more effective at mitigating forgetting than keeping "hard" samples (Top-k strategy). We evaluate our approach on standard and long-tailed CIFAR benchmarks, as well as a real-world medical dataset, demonstrating the superiority of BI-based prototypical sample retention.

Introduction

Deep neural networks typically struggle to learn tasks sequentially without forgetting previously acquired knowledge. In the online-CL paradigm, data is seen only once, making efficient memory management critical. Experience Replay (ER) addresses this by storing a subset of past data in a buffer. However, the field is divided on whether to prioritize "hard" samples near decision boundaries or "prototypical" samples that represent the core of a class. This study investigates this trade-off through the lens of predictive uncertainty, specifically focusing on epistemic uncertainty—the uncertainty stemming from a lack of model knowledge rather than inherent data noise.

Methodology: Bregman Information for Uncertainty Estimation

The authors propose using Bregman Information (BI) as a robust metric for epistemic uncertainty. Unlike standard entropy, which can be sensitive to aleatoric noise, BI is derived from a bias-variance decomposition of the model's loss, targeting the model's internal uncertainty about its predictions.

Visualization of Bregman Information (BI) as an epistemic uncertainty measure. BI highlights regions of high model uncertainty, typically near decision boundaries.

To estimate BI for individual samples during the online stream, the method employs Test-Time Augmentation (TTA). By generating multiple perturbed versions of an input (e.g., via rotations or flips) and measuring the fluctuation in the model's logit-space predictions, the system identifies which samples the model is most confident about.

The core of the proposed strategy is the "Bottom-k" selection: instead of keeping the most uncertain samples (Top-k), the buffer is populated with the most representative, low-uncertainty samples. This ensures the memory contains stable "prototypes" of each class.

Experimental Results

The strategy was tested on CIFAR-10, CIFAR-100, and their long-tailed (LT) variants, which simulate real-world scenarios where data for older tasks may be scarce. Additionally, the BloodCell medical dataset was used to evaluate performance on naturally imbalanced, high-stakes data.

Prototypicality vs. Difficulty

The experiments consistently showed that storing the "easiest" (most representative) samples is more effective than storing "hard" ones. Hard samples often represent outliers or noisy data that do not provide a stable foundation for class boundaries over time.

Relative improvement of Top-k vs. Bottom-k strategies across various uncertainty metrics on CIFAR100 and CIFAR100LT. The Bottom-k strategy (darker bars) consistently outperforms Top-k (lighter bars), with BI showing the strongest gains.

Quantitative Performance

On CIFAR-100 with a 2000-sample buffer, the BI-based approach achieved a final accuracy of 17.03%, outperforming standard ER (16.84%) and other uncertainty metrics like Least Confidence (LC) or Entropy (EN). The advantage was even more pronounced on the BloodCell dataset, where the BI strategy reached 71.88% accuracy with significantly lower forgetting (8.71%) compared to standard ER (64.08% accuracy, 28.50% forgetting).

Discussion and Conclusion

This research highlights that for online-CL, what the model "knows well" is more valuable for long-term retention than what it finds "difficult." By leveraging Bregman Information in the logit space, the proposed method effectively identifies these prototypical samples.

While the use of TTA introduces some computational overhead (less than one second per batch), the gains in accuracy and the reduction in catastrophic forgetting justify the cost, especially in imbalanced or medical domains. Future work may explore more efficient uncertainty estimation or the application of BI to sample retrieval during training.

Summary updated

BibTeX
@article{serra2025how,
  author = {Giuseppe Serra and Ben Werner and Florian Buettner},
  title = {{How to Leverage Predictive Uncertainty Estimates for Reducing Catastrophic Forgetting in Online Continual Learning}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
}
Figure