CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models

Saurav Jha, Dong Gong, Lina Yao
2/3/2026

No official code found. Best implementation: srvCodes/clap4clip (38 stars, last commit 2024-10-28).

Abstract

Continual learning (CL) aims to help deep neural networks learn new knowledge while retaining what has been learned. Owing to their powerful generalizability, pre-trained vision-language models such as Contrastive Language-Image Pre-training (CLIP) have lately gained traction as practical CL candidates. However, the domain mismatch between the pre-training and the downstream CL tasks often calls for finetuning of the CLIP on the latter. Most existing finetuning methods exhibit deterministic nature. This makes them overlook the many possible interactions across the input modalities and deems them unsafe for high-risk tasks requiring reliable uncertainty estimation. To address these, our work proposes Continual LeArning with Probabilistic finetuning (CLAP) - a probabilistic modeling framework over visual-guided text features per task, thus providing more calibrated CL finetuning. Unlike recent data-hungry anti-forgetting CL techniques, CLAP alleviates forgetting by exploiting the rich pre-trained knowledge of CLIP for weight initialization and distribution regularization of task-specific parameters. Cooperating with the diverse range of existing prompting methods, CLAP can surpass the predominant deterministic finetuning approaches for CL with CLIP. We conclude with out-of-the-box applications of superior uncertainty estimation abilities of CLAP including novel data detection and exemplar selection within the existing CL setups. Our code is available at \url{https://github.com/srvCodes/clap4clip}.

View on arXivView PDF

Code Implementations(1)

srvCodes/clap4clipCommunity100%

Code for our NeurIPS´24 paper

384Shell, PythonMar 20, 20241 years ago
bayesian-inferencecatastrophic-forgettingcontinual-learningvariational-inferencevision-language-model

Similar Papers

Cite this paper

@article{jha2026clapclip,
  title  = {CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models},
  author = {Saurav Jha and Dong Gong and Lina Yao},
  year   = {2026},
  eprint = {2403.19137},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2403.19137},
  url    = {https://arxiv.org/abs/2403.19137},
  journal = {NEURIPS 2024 2024}
}

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/2403.19137.svg)](https://codeofpaper.com/paper/2403.19137)

Discussion