Abstract
Class-incremental learning (CIL) aims to enable models to continuously learn new classes while overcoming catastrophic forgetting. The introduction of pre-trained models has brought new tuning paradigms to CIL. In this paper, we revisit different parameter-efficient tuning (PET) methods within the context of continual learning. We observe that adapter tuning demonstrates superiority over prompt-based methods, even without parameter expansion in each learning session. Motivated by this, we propose incrementally tuning the shared adapter without imposing parameter update constraints, enhancing the learning capacity of the backbone. Additionally, we employ feature sampling from stored prototypes to retrain a unified classifier, further improving its performance. We estimate the semantic shift of old prototypes without access to past samples and update stored prototypes session by session. Our proposed method eliminates model expansion and avoids retaining any image samples. It surpasses previous pre-trained model-based CIL methods and demonstrates remarkable continual learning capabilities. Experimental results on five CIL benchmarks validate the effectiveness of our approach, achieving state-of-the-art (SOTA) performance.
Introduction
In Class-Incremental Learning (CIL), an AI model must learn new categories of data over time (e.g., first learning to identify dogs, then birds, then cars) without "forgetting" what it previously learned—a phenomenon known as catastrophic forgetting.
Traditionally, researchers solved this by saving a "memory" of old images to replay later, but this raises privacy concerns and requires significant storage. Recently, the field shifted toward using massive pre-trained models (like Vision Transformers) and "prompting" them to learn new tasks. However, the authors of this paper found that current prompt-based methods are often inefficient and struggle to balance learning new things with keeping the old. As shown in Figure 1, adapter-based tuning demonstrates a superior trade-off between accuracy and the number of trainable parameters compared to prompt-based methods.
Methodology: The SSIAT Framework
The authors introduce SSIAT (Semantically-Shifted Incremental Adapter-Tuning), which relies on three key components to turn a Vision Transformer (ViT) into an efficient continual learner without needing to store old images.
1. Incremental Adapter Tuning (IAT)
Instead of using "prompts," SSIAT inserts small, lightweight bottleneck layers called Adapters into the Vision Transformer. A key finding of this work is that simply fine-tuning these shared adapters for every new task—without the usual restrictive constraints or "knowledge distillation" often used in other papers—actually leads to better performance. This "unconstrained" tuning allows the adapter to build a more powerful, cumulative representation over time.
2. Semantic Shift Estimation (SSE)
As adapters are tuned for new classes, the model's "feature space" changes slightly. This means the mathematical representation (prototype) of an "old" class might shift. Since SSIAT doesn't store old images, it uses a clever trick: it measures how much current samples shift during training and uses that to estimate and compensate for the "drift" of old class prototypes mathematically.
3. Unified Classifier Training (UCT)
To ensure the model doesn't become biased toward the most recently learned classes, the authors "hallucinate" features for old classes using the shifted prototypes and a Gaussian distribution. They then retrain the final classification layer using a mix of real new features and these "hallucinated" old features.
Experimental Results
The model was evaluated on five major benchmarks: CIFAR100, CUB200, ImageNet-R, ImageNet-A, and the cross-domain VTAB benchmark.
Key Insights
- Adapters > Prompts: The paper demonstrates that adapters are fundamentally better "continual learners" than prompts, providing a better balance between plasticity (the ability to learn new things) and stability (the ability to remember old things).
- Constraints are a Clog: Surprisingly, the authors found that adding constraints like Knowledge Distillation to the adapter tuning actually hindered the model. Letting the adapter update freely allowed it to build a more powerful representation.
Performance and Efficiency
SSIAT achieved State-of-the-Art (SOTA) results across the board:
- CIFAR100: Achieved 94.35% average accuracy, outperforming the previous best prompt-based method (CODA-Prompt) by nearly 7%.
- CUB200: Reached 93.00% accuracy, a significant jump over fine-tuning methods like SLCA.
- Efficiency: SSIAT has zero extra computational overhead during inference and requires zero image storage for old classes.
Conclusion
SSIAT establishes that unconstrained adapter tuning, combined with mathematical semantic shift estimation, provides a robust and efficient solution for class-incremental learning. While it relies on a strong pre-trained backbone, its performance across diverse benchmarks marks a significant advancement in the field of continual learning.
Summary updated