mlsanityData to 7 Oct 2026

A Simple Zero-shot Prompt Weighting Technique to Improve Prompt Ensembling in Text-Image Models

arXiv 2302.06235 ↗First posted 13 Feb 2023cs.LG cs.CV stat.MLcited by 39

Not on the map. Why?

Abstract (arXiv)

Contrastively trained text-image models have the remarkable ability to perform zero-shot classification, that is, classifying previously unseen images into categories that the model has never been explicitly trained to identify. However, these zero-shot classifiers need prompt engineering to achieve high accuracy. Prompt engineering typically requires hand-crafting a set of prompts for individual downstream tasks. In this work, we aim to automate this prompt engineering and improve zero-shot accuracy through prompt ensembling. In particular, we ask "Given a large pool of prompts, can we automatically score the prompts and ensemble those that are most suitable for a particular downstream dataset, without needing access to labeled validation data?". We demonstrate that this is possible. In doing so, we identify several pathologies in a naive prompt scoring method where the score can be easily overconfident due to biases in pre-training and test data, and we propose a novel prompt scoring method that corrects for the biases. Using our proposed scoring method to create a weighted average prompt ensemble, our method outperforms equal average ensemble, as well as hand-crafted prompts, on ImageNet, 4 of its variants, and 11 fine-grained classification benchmarks, all while being fully automatic, optimization-free, and not requiring access to labeled validation data.

Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). Builds on 31 of its 57 references that are in the map. First posted on arXiv 13 Feb 2023.

Builds on

31 of 57 references.

References · 31

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  6. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  7. 2013Describing Textures in the Wildcited by 2,110
  8. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  9. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
  10. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  11. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
  12. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
19 more
  1. 2019Natural Adversarial Examplescited by 1,401
  2. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  3. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
  4. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  5. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  6. 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 791
  7. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  8. 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 572
  9. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  10. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
  11. 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 379
  12. 2020AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Promptscited by 246
  13. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
  14. 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 193
  15. 2021Combined Scaling for Zero-shot Transfer Learningcited by 182
  16. 2022An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labelscited by 88
  17. 2021Uncertainty Baselines: Benchmarks for Uncertainty & Robustness in Deep Learningcited by 81
  18. 2022Improving Zero-shot Generalization and Robustness of Multi-modal Modelscited by 44
  19. 2021Sparse MoEs meet Efficient Ensemblescited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 9; 2024: 14; 2025: 9; 2026: 7.

39 papers.

Sort:

By area:

  1. 2024C-TPT: Calibrated Test-Time Prompt Tuning for Vision-Language Models via Text Feature Dispersioncited by 82
  2. 2023Generalized Logit Adjustment: Calibrating Fine-tuned Models by Removing Label Bias in Foundation Modelscited by 32
  3. 2023A Simple Recipe for Language-guided Domain Generalized Segmentationcited by 27
  4. 2024Prompt Learning via Meta-Regularizationcited by 26
  5. 2024Enhancing Zero-Shot Vision Models by Label-Free Prompt Distribution Learning and Bias Correctingcited by 26
  6. 2023A Survey on Stability of Learning with Limited Labelled Data and its Sensitivity to the Effects of Randomnesscited by 14
  7. 2023Investigating the Limitation of CLIP Models: The Worst-Performing Categoriescited by 12
  8. 2024What Do You See? Enhancing Zero-Shot Image Classification with Multimodal Large Language Modelscited by 10
  9. 2024OTSeg: Multi-prompt Sinkhorn Attention for Zero-Shot Semantic Segmentationcited by 9
  10. 2025Latte: Collaborative Test-Time Adaptation of Vision-Language Models in Federated Learningcited by 9
  11. 2024An Information Compensation Framework for Zero-Shot Skeleton-based Action Recognitioncited by 7
  12. 2024SenCLIP: Enhancing zero-shot land-use mapping for Sentinel-2 with ground-level promptingcited by 7
27 more
  1. 2025Cluster-Aware Prompt Ensemble Learning for Few-Shot Vision-Language Model Adaptationcited by 7
  2. 2023Improving CLIP Robustness with Knowledge Distillation and Self-Trainingcited by 6
  3. 2023Descriptor and Word Soups: Overcoming the Parameter Efficiency Accuracy Tradeoff for Out-of-Distribution Few-shot Learningcited by 6
  4. 2024Tailoring Education with GenAI: A New Horizon in Lesson Planningcited by 5
  5. 2025Mint: A Simple Test-Time Adaptation of Vision-Language Models against Common Corruptionscited by 5
  6. 2023Large Language Models in Cryptocurrency Securities Cases: Can a GPT Model Meaningfully Assist Lawyers?cited by 4
  7. 2024Improving Recall of Large Language Models: A Model Collaboration Approach for Relational Triple Extractioncited by 3
  8. 2025EcoWikiRS: Learning Ecological Representation of Satellite Images from Weak Supervision with Species Observations and Wikipediacited by 3
  9. 2025Neural Network Reprogrammability: A Unified Theme on Model Reprogramming, Prompt Tuning, and Prompt Instructioncited by 3
  10. 2023SLPT: Selective Labeling Meets Prompt Tuning on Label-Limited Lesion Segmentationcited by 2
  11. 2023AutoCLIP: Auto-tuning Zero-Shot Classifiers for Vision-Language Modelscited by 2
  12. 2024Review of Zero-Shot and Few-Shot AI Algorithms in The Medical Domaincited by 2
  13. 2024Test-time Contrastive Concepts for Open-world Semantic Segmentation with Vision-Language Modelscited by 2
  14. 2025Does GenAI Rewrite How We Write? An Empirical Study on Two-Million Preprintscited by 2
  15. 2026Adaptive Debiasing Tsallis Entropy for Test-Time Adaptationcited by 2
  16. 2026Dual-Modality Anchor-Guided Filtering for Test-time Prompt Tuningcited by 2
  17. 2026CARPRT: Class-Aware Zero-Shot Prompt Reweighting for Black-Box Vision-Language Modelscited by 2
  18. 2024On Sensitivity of Learning with Limited Labelled Data to the Effects of Randomness: Impact of Interactions and Systematic Choicescited by 1
  19. 2024Retaining and Enhancing Pre-trained Knowledge in Vision-Language Models with Prompt Ensemblingcited by 1
  20. 2025Label Anything: An Interpretable, High-Fidelity and Prompt-Free Annotatorcited by 1
  21. 2025CoCoA-Mix: Confusion-and-Confidence-Aware Mixture Model for Context Optimizationcited by 1
  22. 2026Leveraging Prediction Entropy for Automatic Prompt Weighting in Zero-Shot Audio-Language Classificationcited by 1
  23. 2026ORION: ORthonormal Text Encoding for Universal VLM AdaptatIONcited by 1
  24. 2026VIP: Visual-guided Prompt Evolution for Efficient Dense Vision-Language Inferencecited by 1
  25. 2024Robotic State Recognition with Image-to-Text Retrieval Task of Pre-Trained Vision-Language Model and Black-Box Optimizationcited by 0
  26. 2025SecPE: Secure Prompt Ensembling for Private and Robust Large Language Modelscited by 0
  27. 2026Prompt Amplification and Zero-Shot Late Fusion in Audio-Language Models for Speech Emotion Recognitioncited by 0