TL;DR
Class-Incremental Learning (CIL) suffers from catastrophic forgetting, a problem traditionally blamed on class imbalance between old and new tasks. This paper reveals a hidden culprit: temporal imbalance, where earlier learned classes are subjected to prolonged negative supervision over time. By introducing Temporal-Adjusted Loss (TAL), the authors dynamically reweight cross-entropy based on a class's historical timeline, significantly mitigating forgetting across multiple competitive benchmarks.
What Problem Does This Paper Address?
In Class-Incremental Learning (CIL), deep learning models learn new classes sequentially over time without retaining full access to past data. This inevitably triggers catastrophic forgetting, where the model develops a severe prediction bias favoring newly introduced classes.
Most existing solutions treat this bias as a standard class imbalance problem (new tasks have lots of data; old tasks only have a few saved exemplars) and attempt to fix it by calibrating the final classification head. However, the authors point out a critical flaw in this assumption: even when old classes have the exact same number of exemplars in memory, earlier classes are forgotten much more severely than later ones.
The paper introduces the concept of temporal imbalance. Because old classes continue to serve as negative samples for every subsequent new task, earlier classes endure a much longer, uninterrupted stream of negative supervision without any positive reinforcement. This suppresses their logits and creates a distinct precision-recall asymmetry.
Methods
To counteract this systematic bias, the authors propose a time-order-sensitive loss function called Temporal-Adjusted Loss (TAL).
- Temporal Supervision Modeling: The method tracks a metric called temporal positive supervision strength ($Q_k$) for each class $k$. This value is updated recursively at each training step using an exponentially decaying memory kernel ($f[n] = \lambda^{n+1}$). A high $Q_k$ means a class has seen positive samples recently, while a low $Q_k$ means it has lacked positive reinforcement.
- Dynamic Reweighting: TAL modifies the standard cross-entropy loss by scaling the negative supervision terms. For non-true classes, the exponential logit term ($e^{z_k}$) is multiplied by a weight function $w(Q_k) = (Q_k / Q_{max})^r$.
- Protection Mechanism: If an old class has not been seen for a long time, its $Q_k$ drops, driving $w(Q_k)$ toward zero. This automatically attenuates its negative supervision weight, protecting the old class from being further suppressed by new class updates.
- Frequency Alignment: The loss includes a scaling factor ($\alpha$) derived mathematically to ensure that if the data stream is perfectly balanced and temporally uniform, TAL naturally degenerates back into standard cross-entropy loss.
Datasets
The authors evaluated TAL by integrating it into several prominent CIL baselines using three standard computer vision benchmarks:
- CIFAR-100: 100 classes, 50,000 training images, and 10,000 test images.
- ImageNet-100: A 100-class subset of ImageNet containing 1,300 training samples per class.
- Food101: 101 food categories consisting of 75,750 training images.
Key Insights and Ideas
- Time Order Matters More Than Sample Count: Equal exemplar counts do not equal fair treatment. The chronological order in which a model encounters data injects a systematic bias affecting all model parameters, not just the classification head.
- The Precision-Recall Asymmetry: Temporal imbalance forces older classes to exhibit high precision but low recall (the model is too conservative to predict them), while newer classes show low precision but high recall. This pattern was proven to be a pervasive, systemic issue across multiple distinct CIL baselines.
- Representation-Level Stability: Because TAL operates directly on the loss function during representation learning rather than acting as a post-hoc patch, it preserves feature-space separation. UMAP visualizations demonstrate that TAL prevents older class features from being overwritten or crowded out by newer classes.
Key Results
TAL was integrated as a plug-and-play component into five state-of-the-art CIL baselines: iCaRL, FOSTER, DER, MEMO, and TagFex. Across 10-task and 20-task splits, TAL consistently improved both average accuracy ($A_{Mean}$) and final task accuracy ($A_{Last}$).
- Major Boosts for Baseline Methods: On ImageNet-100 (10-task setting), adding TAL to the classic iCaRL baseline boosted average accuracy from 43.71% to 52.19% and final accuracy from 24.38% to 32.78%.
- Outperforming Complex Architectures: Remarkably, when enhanced with TAL, the simple iCaRL baseline outperformed much more complex, modern architectures like FOSTER and MEMO in several task configurations.
- Minimal Overhead: The authors noted that the additional computational overhead required to recursively update the temporal vector $Q$ is practically negligible (around 0.8%).
Limitations and Future Work
While highly effective, TAL currently simplifies the temporal decay of sample influence into a fixed exponential form. In real-world scenarios, the optimal memory parameter ($\lambda$) might fluctuate across tasks or evolve dynamically based on data complexity. Furthermore, an exponential decay mathematically approaches zero over infinite time, which might not perfectly mirror how certain foundational representations persist in deep networks.
The authors suggest that future work will explore more flexible, non-parametric forms of temporal modeling to enhance both the interpretability and generality of the loss function.
Summary updated