[Paper Review] CLIP model is an Efficient Continual Learner
This paper demonstrates that a frozen CLIP model achieves state-of-the-art zero-shot continual learning performance across class-incremental, domain-incremental, and task-agnostic settings on ImageNet-100/1K, CIFAR-100, TinyImageNet, and CORe50 without fine-tuning, memory replay, or hyperparameter tuning. Its strong generalization stems from CLIP’s contrastive pre-training on 400M image-text pairs, with performance further enhanced via simple prompt engineering.
The continual learning setting aims to learn new tasks over time without forgetting the previous ones. The literature reports several significant efforts to tackle this problem with limited or no access to previous task data. Among such efforts, typical solutions offer sophisticated techniques involving memory replay, knowledge distillation, model regularization, and dynamic network expansion. The resulting methods have a retraining cost at each learning task, dedicated memory requirements, and setting-specific design choices. In this work, we show that a frozen CLIP (Contrastive Language-Image Pretraining) model offers astounding continual learning performance without any fine-tuning (zero-shot evaluation). We evaluate CLIP under a variety of settings including class-incremental, domain-incremental and task-agnostic incremental learning on five popular benchmarks (ImageNet-100 & 1K, CORe50, CIFAR-100, and TinyImageNet). Without any bells and whistles, the CLIP model outperforms the state-of-the-art continual learning approaches in the majority of the settings. We show the effect on the CLIP model's performance by varying text inputs with simple prompt templates. To the best of our knowledge, this is the first work to report the CLIP zero-shot performance in a continual setting. We advocate the use of this strong yet embarrassingly simple baseline for future comparisons in the continual learning tasks.
Motivation & Objective
- To evaluate whether a frozen CLIP model can serve as a strong, generic baseline for continual learning without task-specific design or retraining.
- To assess CLIP’s zero-shot performance across diverse continual learning protocols: class-incremental, domain-incremental, and task-agnostic learning.
- To investigate the impact of prompt engineering on CLIP’s continual learning accuracy using different text prompt templates and pooling strategies.
- To establish a simple, scalable, and memory-free baseline that transcends setting-specific constraints of existing continual learning methods.
- To challenge the current fragmented landscape of continual learning by advocating for foundational vision-language models as unified, generalizable solutions.
Proposed method
- Evaluating a pre-trained, frozen CLIP model on continual learning benchmarks using zero-shot inference, without any fine-tuning or parameter updates.
- Using text prompt templates to condition the CLIP classifier head, with class names derived from ImageNet original labels, curated labels, and WordNet synonyms.
- Applying two prompt pooling strategies: decision-based pooling (averaging logits across prompts) and embedding pooling (stacking text embeddings).
- Testing on five major benchmarks: ImageNet-100/1K, CORe50, CIFAR-100, TinyImageNet, and Gaussian-scheduled CIFAR-100 under multiple continual learning protocols.
- Comparing performance against state-of-the-art continual learning methods across all settings to validate the effectiveness of the frozen CLIP baseline.
- Analyzing confusion matrices to identify failure modes, particularly misclassifications between semantically similar classes.
Experimental results
Research questions
- RQ1Can a frozen CLIP model achieve competitive continual learning performance across multiple protocols without fine-tuning or memory replay?
- RQ2How does prompt engineering—specifically class name selection and pooling strategy—affect CLIP’s zero-shot continual learning accuracy?
- RQ3Does CLIP’s pre-training on 400M image-text pairs enable generalization to continual learning scenarios, even when some downstream classes were present during pre-training?
- RQ4How does the performance of CLIP compare to state-of-the-art continual learning methods across diverse benchmarks and settings?
- RQ5Can a single, unified, frozen vision-language model serve as a robust baseline across class-incremental, domain-incremental, and task-agnostic continual learning?
Key findings
- On ImageNet-100, Continual-CLIP achieved 84.85% accuracy using embedding pooling with curated class names, outperforming state-of-the-art methods in the same setting.
- In the class-incremental setting on ImageNet-1K, the frozen CLIP model achieved competitive performance without any fine-tuning, demonstrating scalability to large-scale datasets.
- On CORe50 in the domain-incremental setting, CLIP showed strong generalization, indicating robustness to domain shifts without retraining.
- The curated class names (type b) yielded the highest accuracy, as they minimized semantic ambiguity between classes, outperforming original ImageNet labels and synonym-based names.
- Embedding pooling (84.85%) slightly outperformed decision-based pooling (82.24%) on ImageNet-100, though both required prompt engineering and additional computation.
- Confusion matrices revealed that errors primarily occurred between semantically similar classes (e.g., 'mouse' misclassified as 'shrew'), indicating limitations in fine-grained visual-semantic alignment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.