Introduction
Deep learning models typically suffer from catastrophic forgetting, where learning new tasks leads to the abrupt loss of previously acquired knowledge. Class Incremental Learning (CIL) seeks to mitigate this, often by maintaining a small buffer of "exemplars" (saved images from old tasks). However, in privacy-sensitive or storage-constrained domains like medical imaging or surveillance, saving old data is often prohibited, leading to the more challenging Non-Exemplar CIL (NECIL). This paper addresses two core hurdles in NECIL: the stability-plasticity dilemma and classifier bias toward new classes.
Methodology
The proposed framework utilizes a Vision Transformer (ViT) backbone and introduces two novel components to balance the retention of old knowledge with the acquisition of new features.
Patch-Level Knowledge Selection (PKS)
Traditional knowledge distillation (KD) operates at the image level, often over-constraining the model and hindering its ability to learn new features (plasticity). The authors propose PKS, which leverages the patch-based architecture of ViTs. By analyzing the attention distance between individual patches and the [CLS] token, the model distinguishes between:
- Background Patches: Typically task-agnostic and further from the
[CLS]token. These are assigned higher distillation weights to ensure stability. - Foreground Patches: Contain task-specific object features and are closer to the
[CLS]token. These are allowed more flexibility to change, promoting plasticity.
Prototype Restoration (PR)
To combat classifier bias without stored exemplars, the model uses "prototypes" (class feature means). While previous methods added random noise to these prototypes, the authors introduce Prototype Restoration. They observe that the "offset"—the variation of a sample from its class center—is often task-agnostic. By applying offsets "borrowed" from current task samples to old class centers, the model can synthesize realistic feature distributions for replaying old knowledge, effectively balancing the classifier.
Experimental Results
The method was rigorously evaluated on CIFAR100, TinyImageNet, and ImageNet-Subset across various incremental phases (5, 10, and 20 tasks).
As shown in the results, the proposed method (Ours) consistently maintains higher accuracy as the number of tasks increases compared to existing NECIL baselines like SSRE and PASS. Notably, on CIFAR100 (20 tasks), it achieved a final accuracy of 54.25%, outperforming SSRE by 3.78%. On ImageNet-Subset, it reached 61.42%, significantly ahead of PASS (50.44%). Remarkably, the non-exemplar approach even outperformed some exemplar-based methods (e.g., iCaRL) that store 20 images per class, demonstrating the efficacy of fine-grained knowledge selection.
Conclusion
By shifting from image-level to patch-level distillation and utilizing task-agnostic offsets for prototype restoration, this work provides a robust solution for NECIL. The results underscore the potential of Vision Transformers in incremental learning, showing that architectural priors can be leveraged to solve the stability-plasticity dilemma more effectively than traditional CNN-based approaches.
Summary updated