Lune

ICCV2023Top-tier venue

Bayesian Prompt Learning for Image-Language Model Generalization

Mohammad Mahdi Derakhshani, Enrique Sanchez, Adrian Bulat, Victor Guilherme Turrisi da Costa, Cees G. M. Snoek, Georgios Tzimiropoulos, Brais Martínez

Abstract

Foundational image-language models have generated considerable interest due to their efficient adaptation to downstream tasks by prompt learning. Prompt learning treats part of the language model input as trainable while freezing the rest, and optimizes an Empirical Risk Mini-mization objective. However, Empirical Risk Minimization is known to suffer from distributional shifts which hurt gen-eralizability to prompts unseen during training. By leveraging the regularization ability of Bayesian methods, we frame prompt learning from the Bayesian perspective and formulate it as a variational inference problem. Our approach regularizes the prompt space, reduces overfitting to the seen prompts and improves the prompt generalization on unseen prompts. Our framework is implemented by modeling the input prompt space in a probabilistic manner, as an a priori distribution which makes our proposal compatible with prompt learning approaches that are unconditional or conditional on the image. We demonstrate empirically on 15 benchmarks that Bayesian prompt learning provides an appropriate coverage of the prompt space, prevents learning spurious features, and exploits transferable invariant features. This results in better generalization of unseen prompts, even across different datasets and domains.Code available at: https://github.com/saic-fi/Bayesian-Prompt-Learning

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

32 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Consistency-guided Prompt Learning for Vision-Language Models cites Language Models are Few-Shot Learners
  • Consistency-guided Prompt Learning for Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Learning to Prompt with Text Only Supervision for Vision-Language Models cites Language Models are Few-Shot Learners
  • Learning to Prompt with Text Only Supervision for Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
  • CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models cites Learning to Prompt with Text Only Supervision for Vision-Language Models
  • CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models cites Language Models are Few-Shot Learners
  • CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
  • Adapting to Distribution Shift by Visual Domain Prompt Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Adapting to Distribution Shift by Visual Domain Prompt Generation cites Learning Transferable Visual Models From Natural Language Supervision
  • FinePOSE: Fine-Grained Prompt-Driven 3D Human Pose Estimation via Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Language Models are Few-Shot Learners
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers32

  1. Consistency-guided Prompt Learning for Vision-Language ModelsShuvendu Roy, Ali EtemadICLR 2024 · 102 citations
  2. Learning to Prompt with Text Only Supervision for Vision-Language ModelsMuhammad Uzair Khattak, Muhammad Ferjad Naeem, Muzammal Naseer, Luc Van Gool et al.AAAI 2025 · 52 citations
  3. FinePOSE: Fine-Grained Prompt-Driven 3D Human Pose Estimation via Diffusion ModelsJinglin Xu, Yijie Guo, Yuxin PengCVPR 2024 · 39 citations
  4. CLAP4CLIP: Continual Learning with Probabilistic Finetuning for Vision-Language ModelsSaurav Jha, Dong Gong, Lina YaoNeurIPS 2024 · 36 citations
  5. Adapting to Distribution Shift by Visual Domain Prompt GenerationZhixiang Chi, Li Gu, Tao Zhong, Huan Liu et al.ICLR 2024 · 23 citations

Builds on25

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  3. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  5. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations

Related papers

  1. Make Prompts Adaptable: Bayesian Modeling for Vision-Language Prompt Learning with Data-Dependent PriorYoungjae Cho, HeeSun Bae, Seungjae Shin, Yeo Dong Youn et al.AAAI 2024 · 9 citations
  2. Any-Shift Prompting for Generalization Over DistributionsZehao Xiao, Jiayi Shen, Mohammad Mahdi Derakhshani, Shengcai Liao et al.CVPR 2024 · 3 citations
  3. VaMP: Variational Multi-Modal Prompt Learning for Vision-Language ModelsSilin Cheng, Kai HanNeurIPS 2025 · 7 citations
  4. Prompt Distribution LearningYuning Lu, Jianzhuang Liu, Yonggang Zhang, Yajing Liu et al.CVPR 2022 · 212 citations
  5. Bayesian Prompt Flow Learning for Zero-Shot Anomaly DetectionZhen Qu, Xian Tao, Xinyi Gong, Shichen Qu et al.CVPR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines