Lune

ICCV2023Top-tier venue

Black Box Few-Shot Adaptation for Vision-Language models

Yassine Ouali, Adrian Bulat, Brais Martínez, Georgios Tzimiropoulos

Abstract

Vision-Language (V-L) models trained with contrastive learning to align the visual and language modalities have been shown to be strong few-shot learners. Soft prompt learning is the method of choice for few-shot downstream adaptation aiming to bridge the modality gap caused by the distribution shift induced by the new domain. While parameter-efficient, prompt learning still requires access to the model weights and can be computationally infeasible for large models with billions of parameters. To address these shortcomings, in this work, we describe a blackbox method for V-L few-shot adaptation that (a) operates on pre-computed image and text features and hence works without access to the model's weights, (b) it is orders of magnitude faster at training time, (c) it is amenable to both supervised and unsupervised training, and (d) it can be even used to align image and text features computed from uni-modal models. To achieve this, we propose Linear Feature Alignment (LFA), a simple linear approach for V-L re-alignment in the target domain. LFA is initialized from a closed-form solution to a least-squares problem and then it is iteratively updated by minimizing a re-ranking loss. Despite its simplicity, our approach can even surpass soft-prompt learning methods as shown by extensive experiments on 11 image and 2 video datasets. Code available at: https://github.com/saic-fi/LFA W --→ Y. Specifically, our contributions are: • We propose the very first black-box method for the few-shot adaptation of V-L models. • To this end, and motivated by the observation that prompting can be successfully approximated by a lin-

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.

35 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

  • Toward Modality Gap: Vision Prototype Learning for Weakly-supervised Semantic Segmentation with CLIP cites Learning Transferable Visual Models From Natural Language Supervision
  • Boosting Vision-Language Models with Transduction cites Learning Transferable Visual Models From Natural Language Supervision
  • Align before Fuse: Vision and Language Representation Learning with Momentum Distillation cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • Align before Fuse: Vision and Language Representation Learning with Momentum Distillation cites Learning Transferable Visual Models From Natural Language Supervision
  • TCP: Textual-Based Class-Aware Prompt Tuning for Visual-Language Model cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • TCP: Textual-Based Class-Aware Prompt Tuning for Visual-Language Model cites Learning Transferable Visual Models From Natural Language Supervision
  • Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Geodesic Multi-Modal Mixup for Robust Fine-Tuning cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • Geodesic Multi-Modal Mixup for Robust Fine-Tuning cites Learning Transferable Visual Models From Natural Language Supervision
  • Barlow Twins: Self-Supervised Learning via Redundancy Reduction cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Enhancing Zero-Shot Vision Models by Label-Free Prompt Distribution Learning and Bias Correcting 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 papers35

  1. Geodesic Multi-Modal Mixup for Robust Fine-TuningChangdae Oh, Junhyuk So, Hoyoon Byun, YongTaek Lim et al.NeurIPS 2023 · 49 citations
  2. TCP: Textual-Based Class-Aware Prompt Tuning for Visual-Language ModelHantao Yao, Rui Zhang, Changsheng XuCVPR 2024 · 46 citations
  3. Boosting Vision-Language Models with TransductionMaxime Zanella, Benoît Gérin, Ismail Ben AyedNeurIPS 2024 · 42 citations
  4. Enhancing Zero-Shot Vision Models by Label-Free Prompt Distribution Learning and Bias CorrectingXingyu Zhu, Beier Zhu, Yi Tan, Shuo Wang et al.NeurIPS 2024 · 36 citations
  5. Toward Modality Gap: Vision Prototype Learning for Weakly-supervised Semantic Segmentation with CLIPZhongxing Xu, Feilong Tang, Zhe Chen, Yingxue Su et al.AAAI 2025 · 23 citations

Builds on18

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  3. Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen et al.ICML 2021 · 5,401 citations
  4. Align before Fuse: Vision and Language Representation Learning with Momentum DistillationJunnan Li, Ramprasaath R. Selvaraju, Akhilesh Gotmare, Shafiq R. Joty et al.NeurIPS 2021 · 2,985 citations
  5. Barlow Twins: Self-Supervised Learning via Redundancy ReductionJure Zbontar, Li Jing, Ishan Misra, Yann LeCun et al.ICML 2021 · 2,942 citations

Related papers

  1. LaViP: Language-Grounded Visual PromptingNilakshan Kunananthaseelan, Jing Zhang, Mehrtash HarandiAAAI 2024 · 6 citations
  2. Fine-Grained Visual Prompt Learning of Vision-Language Models for Image RecognitionHongbo Sun, Xiangteng He, Jiahuan Zhou, Yuxin PengACM MM 2023 · 16 citations
  3. Connecting the Dots: Collaborative Fine-tuning for Black-Box Vision-Language ModelsZhengbo Wang, Jian Liang, Ran He, Zilei Wang et al.ICML 2024
  4. PØDA: Prompt-driven Zero-shot Domain AdaptationMohammad Fahes, Tuan-Hung Vu, Andrei Bursuc, Patrick Pérez et al.ICCV 2023 · 82 citations
  5. Context-Aware Multimodal PretrainingKarsten Roth, Zeynep Akata, Dima Damen, Ivana Balazevic et al.CVPR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines