Bayesian Principles Improve Prompt Learning In Vision-Language Models

Mingyu Kim, Jongwoo Ko, Mijung Park
4/19/2025
cs.AIcs.CLcs.CV

No official code found. Best implementation: MingyuKim87/BP_CLIP (1 star, MIT, last commit 2025-05-27). 1 more below.

Abstract

Prompt learning is a popular fine-tuning method for vision-language models due to its efficiency. It requires a small number of additional learnable parameters while significantly enhancing performance on target tasks. However, most existing methods suffer from overfitting to fine-tuning data, yielding poor generalizability. To address this, we propose a new training objective function based on a Bayesian learning principle to balance adaptability and generalizability. We derive a prior over the logits, where the mean function is parameterized by the pre-trained model, while the posterior corresponds to the fine-tuned model. This objective establishes a balance by allowing the fine-tuned model to adapt to downstream tasks while remaining close to the pre-trained model.

View on arXivView PDF

Code Implementations(2)

MIT

Official PyTorch implementation of Prompt Learning of CLIP in "Bayesian Principles Improve Prompt Learning In Vision-Language Models (AISTATS2025)"

10Shell, PythonMay 27, 20251 years agoMIT

Official PyTorch implementation of BPCLIP: "Bayesian Principles Improve Prompt Learning In Vision-Language Models (AISTATS2025)"

10May 28, 20251 years ago

Similar Papers

Cite this paper

@article{kim2025bayesian,
  title  = {Bayesian Principles Improve Prompt Learning In Vision-Language Models},
  author = {Mingyu Kim and Jongwoo Ko and Mijung Park},
  year   = {2025},
  eprint = {2504.14123},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.14123v1}
}

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

Discussion