Introduction
Class-Incremental Learning (CIL) aims to teach neural networks new tasks sequentially without "catastrophic forgetting." While standard CIL research often assumes balanced data, real-world scenarios are almost always long-tailed, where a few "head" classes have many samples and many "tail" classes have very few. This paper identifies a "dual imbalance" problem inherent in this setting and proposes a gradient-based framework to resolve it.
The Dual Imbalance Problem
The authors highlight two distinct types of imbalance that plague CIL on long-tailed data:
- Intra-phase Imbalance: Within a single learning step, head classes dominate the gradients, causing the model to over-fit them and under-fit the tail classes.
- Inter-phase Imbalance: There is a massive disparity between the large amount of new class data and the tiny "exemplar set" of old data saved for rehearsal.
Furthermore, the paper identifies a phenomenon called imbalanced forgetting: head classes actually suffer more performance degradation over time. Because they lose a much larger volume of training data when transitioning from "new" to "old" status, their relative information loss is significantly higher than that of tail classes.
Proposed Methodology
To address these issues, the authors introduce a two-pronged strategy to rebalance the learning process:
1. Gradient Reweighting (GR)
Instead of just adjusting the loss function, the authors modify the gradients directly. By tracking the accumulated magnitude of gradients for each class, they scale updates so that majority and minority classes contribute more equally to optimization.
- Intra-phase GR: Scales updates to ensure classes with smaller historical gradients get a "boost."
- Inter-phase Decoupled Gradient Reweighting (DGR): This separates "plasticity" (learning new things) from "stability" (retaining old things) using a calibrated attenuation factor for new classes.
2. Distribution-Aware Knowledge Distillation (DAKD)
Standard Knowledge Distillation (KD) treats all old classes equally. DAKD adjusts the intensity of distillation based on how much data was lost for a specific class. Since head classes lose the most data, the model applies more stringent regularization to them to prevent knowledge from slipping away.
Experimental Evaluation
The researchers evaluated their method on three major long-tailed benchmarks: CIFAR100-LT, ImageNetSubset-LT, and Food101-LT. They tested these across various incremental steps and memory budgets.
Key Results
The proposed method consistently outperformed existing state-of-the-art (SOTA) methods like FOSTER, LUCIR, and WA:
- CIFAR100-LT (10 tasks): Achieved 35.66% average accuracy, a significant jump over the previous best of ~33.6%.
- ImageNetSubset-LT (10 tasks): Reached 45.12% accuracy, outperforming the next best method by over 5%.
- Robustness: The method showed consistent gains regardless of the memory budget or the severity of the data imbalance.
Key Insights
- Gradients as the Root Cause: The paper demonstrates that bias in CIL is rooted in the magnitude of gradient updates. Balancing these magnitudes leads to a more "honest" classifier.
- Uniform Weight Norms: One of the most striking results is that the method produces weight vectors with nearly uniform $l_2$ norms across all classes, whereas standard methods result in "spiky" norms that correlate heavily with class frequency.
Limitations and Future Work
Like most high-performing CIL methods, this approach still requires an "exemplar set" (a small buffer of old images). In strictly memory-constrained or privacy-sensitive environments where no old data can be stored, this method would need adaptation. Future directions include exploring these gradient-balancing techniques for "exemplar-free" incremental learning.
Summary updated