Abstract
Class-Incremental Learning (class-IL) faces two primary challenges: catastrophic forgetting of previous knowledge and inter-task confusion between old and new classes. This paper proposes a novel framework that shifts from traditional softmax classifiers to deep metric learning. By recycling the model from the previous task as both a synthetic data generator and a teacher, the proposed method maintains a "chain of knowledge" without storing original images. Experimental results on benchmarks like CIFAR-100 and TinyImageNet demonstrate state-of-the-art performance in exemplar-free incremental learning.
The Challenge of Incremental Learning
In Class-Incremental Learning, an AI model learns new classes in sequence without access to the original training data for earlier tasks. This setup faces two massive hurdles:
- Catastrophic Forgetting (CF): As the model learns new patterns, it overwrites the weights used for old ones, effectively erasing its memory of previous tasks.
- Inter-Task Confusion (ITC): Because the model never sees old and new classes together, it struggles to differentiate between them at test time. It may recognize individual categories but fails to establish the boundaries between them.
Most existing solutions focus on CF but ignore ITC, or they rely on "exemplars"—storing a small subset of real images—which raises privacy and memory concerns.
Proposed Framework
The authors propose a three-part strategy to solve these issues by moving away from standard softmax layers, which are fundamentally limited for incremental learning because they focus only on decision boundaries rather than cluster distribution.
1. Deep Metric Learning
Instead of drawing simple decision lines, the model uses triplet loss to create an "embedding space." Here, similar images are pushed into tight clusters while different ones are pushed far apart. This makes it easier to "fit" new classes into the empty spaces of the embedding map later on.
2. Inter-Task Confusion Regularizer ($L_{TCR}$)
To prevent new classes from overlapping with old ones, the model stores only the centroids (mathematical centers) of past class clusters. During training on new tasks, these centroids act as "negative anchors," pushing new data away from territory occupied by old classes.
3. Model Re-Using & Generative Replay
Instead of storing old images, the framework stores the previous version of the model ($M_{k-1}$). Using a "Deep-Inversion" technique, this old model generates synthetic images representing past classes. These images are fed into both the old (teacher) and new (student) models using a novel Knowledge Distillation loss ($L_{KD}$) that preserves the geometric relationships—both intra-class and inter-class scatter—of the embedding space.
Key Results
The proposed method consistently outperformed existing state-of-the-art (SOTA) methods on five standard computer vision benchmarks (MNIST, CIFAR-10/100, Mini-ImageNet, and TinyImageNet):
- CIFAR-100 (10 tasks): Achieved 54.8% average accuracy, beating the previous best exemplar-free method (LODE) by over 3%.
- TinyImageNet (20 tasks): Achieved 54.1% accuracy, a nearly 6% jump over the previous SOTA.
- Forgetting Rates: The model showed drastically lower forgetting scores compared to standard regularization methods, proving that geometric distillation effectively "locks in" past knowledge.
Conclusion
By combining metric learning with model re-use and generative replay, this framework effectively tackles the dual problems of forgetting and confusion in an exemplar-free manner. While storing previous model weights adds some memory overhead compared to simple regularization, it remains more efficient and privacy-preserving than storing thousands of high-resolution images. Future work involves adapting this to "task-free" environments where data drifts continuously without clear task boundaries.
Summary updated