Lune

ICLR2024Top-tier venue

A Hard-to-Beat Baseline for Training-free CLIP-based Adaptation

Zhengbo Wang, Jian Liang, Lijun Sheng, Ran He, Zilei Wang, Tieniu Tan

Abstract

Contrastive Language-Image Pretraining (CLIP) has gained popularity for its remarkable zero-shot capacity. Recent research has focused on developing efficient fine-tuning methods, such as prompt learning and adapter, to enhance CLIP's performance in downstream tasks. However, these methods still require additional training time and computational resources, which is undesirable for devices with limited resources. In this paper, we revisit a classical algorithm, Gaussian Discriminant Analysis (GDA), and apply it to the downstream classification of CLIP. Typically, GDA assumes that features of each class follow Gaussian distributions with identical covariance. By leveraging Bayes' formula, the classifier can be expressed in terms of the class means and covariance, which can be estimated from the data without the need for training. To integrate knowledge from both visual and textual modalities, we ensemble it with the original zero-shot classifier within CLIP. Extensive results on 17 datasets validate that our method surpasses or achieves comparable results with state-of-the-art methods on few-shot classification, imbalanced learning, and out-of-distribution generalization. In addition, we extend our method to base-to-new generalization and unsupervised learning, once again demonstrating its superiority over competing approaches. Our code is publicly available at https://github.com/mrflogs/ICLR24.

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.

27 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

  • Boosting Vision-Language Models with Transduction cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Boosting Vision-Language Models with Transduction cites Learning Transferable Visual Models From Natural Language Supervision
  • Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • 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 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • DOTA: Distributional Test-time Adaptation of Vision-Language Models cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • DOTA: Distributional Test-time Adaptation of Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Enhancing Zero-Shot Vision Models by Label-Free Prompt Distribution Learning and Bias Correcting cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Enhancing Zero-Shot Vision Models by Label-Free Prompt Distribution Learning and Bias Correcting cites Learning Transferable Visual Models From Natural Language Supervision
  • Let Go of Your Labels with Unsupervised Transfer cites Learning Transferable Visual Models From Natural Language Supervision
  • External Knowledge Injection for CLIP-Based Class-Incremental Learning cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • External Knowledge Injection for CLIP-Based Class-Incremental Learning cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • External Knowledge Injection for CLIP-Based Class-Incremental Learning 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 papers27

  1. Boosting Vision-Language Models with TransductionMaxime Zanella, Benoît Gérin, Ismail Ben AyedNeurIPS 2024 · 42 citations
  2. 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
  3. DOTA: Distributional Test-time Adaptation of Vision-Language ModelsZongbo Han, Jialong Yang, Guangyu Wang, Junfan Li et al.NeurIPS 2025 · 25 citations
  4. Let Go of Your Labels with Unsupervised TransferArtyom Gadetsky, Yulun Jiang, Maria BrbicICML 2024 · 16 citations
  5. External Knowledge Injection for CLIP-Based Class-Incremental LearningDa-Wei Zhou, Kai-Wen Li, Jingyi Ning, Han-Jia Ye et al.ICCV 2025 · 13 citations

Builds on22

  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. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  3. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  4. 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
  5. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations

Related papers

  1. CALIP: Zero-Shot Enhancement of CLIP with Parameter-Free AttentionZiyu Guo, Renrui Zhang, Longtian Qiu, Xianzheng Ma et al.AAAI 2023 · 182 citations
  2. Meta-Adapter: An Online Few-shot Learner for Vision-Language ModelCheng Cheng, Lin Song, Ruoyi Xue, Hang Wang et al.NeurIPS 2023 · 65 citations
  3. Not All Features Matter: Enhancing Few-shot CLIP with Adaptive Prior RefinementXiangyang Zhu, Renrui Zhang, Bowei He, Aojun Zhou et al.ICCV 2023 · 121 citations
  4. Causal Disentanglement and Cross-Modal Alignment for Enhanced Few-Shot LearningTianjiao Jiang, Zhen Zhang, Yuhang Liu, Javen Qinfeng ShiICCV 2025 · 3 citations
  5. Supervision Exists Everywhere: A Data Efficient Contrastive Language-Image Pre-training ParadigmYangguang Li, Feng Liang, Lichen Zhao, Yufeng Cui et al.ICLR 2022 · 565 citations
Dusk over the sea between two cliffs drawn in fine vertical lines