Abstract
Continual Learning (CL) models often suffer from catastrophic forgetting, a problem intensified in real-world scenarios where data follows a long-tailed distribution. Most existing Long-Tailed Continual Learning (LTCL) methods require prior knowledge of the data distribution, which is often unavailable in online settings. We present the Prior-free Balanced Replay (PBR) framework, which leverages uncertainty—specifically mutual information—to guide reservoir sampling. By prioritizing high-uncertainty samples, PBR naturally balances the memory buffer toward minority classes and preserves critical decision boundaries without requiring prior distribution knowledge. Our evaluations across multiple benchmarks demonstrate that PBR significantly outperforms state-of-the-art methods in both accuracy and robustness.
Introduction
In practical applications, data streams are rarely balanced. Continual Learning (CL) faces the dual challenge of learning new information while retaining old knowledge, known as "catastrophic forgetting." This is particularly difficult in Long-Tailed Continual Learning (LTCL), where a few majority classes dominate the stream, leaving minority classes with sparse representation.
Existing LTCL solutions typically rely on "prior knowledge" of the label distribution to perform re-balancing. However, in true online scenarios, this information is unknown. The authors identify three primary hurdles in LTCL:
- Rapid Forgetting: Minority samples are forgotten much faster than majority ones.
- Classifier Bias: Models become biased toward majority classes from earlier tasks.
- Boundary Erosion: Minority data often resides near task boundaries with high uncertainty, making these critical regions easy to lose during incremental updates.
Methodology
The Prior-free Balanced Replay (PBR) framework addresses these challenges through three "prior-free" pillars:
Uncertainty-guided Reservoir Sampling
Instead of standard random reservoir sampling, PBR employs Monte Carlo (MC) dropout to estimate the Mutual Information (MI) between model parameters and predictions. High uncertainty serves as a proxy for sample importance. Because the model is naturally less confident about rare or "hard" samples, this strategy automatically populates the reservoir with a balanced set of samples, effectively over-representing minority classes without explicit label priors.
Prototype Constraint
To combat weight bias in linear classifiers, PBR replaces the standard dot-product layer with a scaled cosine classifier. This approach treats classifier weights as "class prototypes" in a normalized feature space, focusing on the direction (identity) rather than the magnitude of feature vectors. A distillation loss ensures these prototypes remain stable as new tasks are introduced.
Boundary Constraint
Preserving decision boundaries is crucial for maintaining discriminative power. PBR utilizes a modified cross-entropy loss and knowledge distillation to specifically protect "boundary supporting samples"—uncertain examples that define the edges of class territories in the feature space.
Experimental Evaluation
The framework was evaluated on three standard benchmarks adapted for long-tailed settings: Seq-CIFAR-10-LT, Seq-CIFAR-100-LT, and Seq-TinyImageNet-LT. These were tested under two configurations: Ordered-LTCL (tasks ordered by sample size) and Shuffled-LTCL (random class distribution).
Key Results
PBR consistently outperformed previous state-of-the-art (SOTA) LTCL methods, such as PODNET+:
- Accuracy: On Seq-CIFAR-100-LT (Class-Incremental), PBR achieved 25.05% accuracy vs. PODNET+'s 23.90%. In Task-Incremental settings, PBR reached 52.23% compared to 46.00% for the SOTA.
- Minority Class Retention: In Seq-CIFAR-10-LT, PBR maintained 58.66% accuracy for the smallest task, whereas a standard SGD baseline dropped to 37.20%.
- Robustness: The method proved stable across different buffer sizes and imbalance ratios, demonstrating superior reliability over random sampling methods.
Discussion and Conclusion
The core innovation of PBR lies in using uncertainty as a natural balancer. By decoupling feature magnitude from direction and focusing on boundary-supporting samples, the model maintains high performance across imbalanced streams without needing future knowledge.
While PBR eliminates the need for label priors, the use of Monte Carlo dropout introduces computational overhead, which may be a limitation for edge devices. Future work aims to further relax assumptions regarding task boundaries and explore more complex, boundary-free data streams.
Summary updated