Abstract
Class Incremental Learning (CIL) aims to train models on a sequence of tasks without forgetting previous knowledge. While foundation models like CLIP offer robust zero-shot capabilities, adapting them incrementally remains challenging. This paper proposes a simple yet effective framework using a frozen Vision-Language Model (VLM) backbone with a lightweight linear adapter. By employing a novel parameter retention strategy based on weight drift, the method achieves state-of-the-art performance across multiple benchmarks, including CIFAR-100 and ImageNet, while maintaining high computational efficiency.
Introduction
Class Incremental Learning (CIL) is the challenge of training a model on a sequence of tasks, where each task introduces new, disjoint classes. The primary hurdle is catastrophic forgetting: as the model learns new information, it overwrites the weights necessary to recognize classes from previous tasks.
While recent CIL research has shifted toward using pre-trained models, most work focuses on vision-only backbones (like ResNet or ViT). Vision-Language Models (VLMs) like CLIP offer massive "zero-shot" knowledge, but effectively adapting them to specific incremental tasks without destroying their generalizable features remains a difficult balancing act between plasticity (learning new things) and stability (retaining old things).
Proposed Method
The authors propose a framework that keeps the core CLIP model (both Image and Text encoders) frozen and introduces a lightweight Linear Adapter after the image encoder.
Architecture and Strategy
- Linear Adapter: Image features are passed through a single learnable linear layer ($W \in \mathbb{R}^{M \times M}$). For classification, the frozen CLIP text encoder generates embeddings for class names (e.g., "a photo of a dog"), which act as fixed "weights" for the final classifier.
- Parameter Retention Strategy: To combat forgetting within the adapter, a novel retention mechanism is introduced. After training on a new task, the model calculates the "drift" ($\Delta W$) of each parameter—the difference between its value before and after the task.
- Selective Update: A proportion ($\gamma$, typically 0.8) of parameters with the lowest drift are reverted to their previous values. This ensures that the most "stable" parts of the adapter, likely encoding previous knowledge, are preserved, while only the most "plastic" parameters adapt to new data.
Experimental Results
The proposed method set new state-of-the-art (SOTA) records across major benchmarks, demonstrating both high accuracy and exemplar efficiency.
- CIFAR-100: In the 10-task B0 setting, the model achieved 84.2% average accuracy, a significant improvement over the previous SOTA, DER (75.4%).
- ImageNet-R: The model reached 75.9% accuracy, outperforming other prompt-based methods like L2P (74.1%).
- ImageNet-Full: On the 1000-class benchmark, the method improved over the competitive DER baseline by 6.8% on average.
- Exemplar Efficiency: Even with a minimal buffer of 500 exemplars, the method matched the performance of competing models using 2000 exemplars.
Discussion and Conclusion
One of the most surprising findings is that a single linear layer outperformed more complex self-attention modules. This suggests that for pre-trained VLMs, the adapter's primary role is to "re-align" existing high-quality features for the specific task rather than learning entirely new representations. By using the text encoder as a semantic anchor, the model maintains a stable classification space.
While the parameter retention strategy can cause slight underfitting in very early tasks with few classes, its overall ability to emulate biological synaptic consolidation provides a robust solution to catastrophic forgetting in foundation models. Future work may explore dynamic prompts or scaling this approach to even larger multi-modal models.
Summary updated