CLIP model is an Efficient Continual Learner

Vishal Thengane, Salman Khan, Munawar Hayat, Fahad Khan
10/6/2022
cs.CV

Official code: vgthengane/Continual-CLIP (112 stars, Python, Apache-2.0, last commit 2022-12-13).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official repository for "CLIP model is an Efficient Continual Learner".

1127Python, ShellOct 3, 20223 years agoApache-2.0
baselineclipcontinual-learningfoundational-modelsvision-language-pretraining

Similar Papers

Cite this paper

@article{thengane2022clip,
  title  = {CLIP model is an Efficient Continual Learner},
  author = {Vishal Thengane and Salman Khan and Munawar Hayat and Fahad Khan},
  year   = {2022},
  eprint = {2210.03114},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.03114}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.03114.svg)](https://codeofpaper.com/paper/2210.03114)

Discussion