CARPRT: Class-Aware Zero-Shot Prompt Reweighting for Black-Box Vision-Language Models
On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP
Abstract (arXiv)
Pre-trained vision-language models (VLMs) enable zero-shot image classification by computing the similarity score between an image and textual descriptions, typically formed by inserting a class label (e.g., "cat") into a prompt (e.g., "a photo of a"). Since the score for a given image-class pair is sensitive to the choice of prompt, existing studies ensemble multiple prompts using a weighting vector to aggregate scores across different prompts. Yet, in current strategies, the weighting vector assigned to each prompt is shared across all classes, implicitly assuming that prompts are conditionally independent of classes, which often does not hold in practice, as a prompt like "an aerial view of" might be apt for "airport" but ill-suited for "apple". To address this, we propose class-aware zero-shot prompt reweighting (CARPRT). This scoring scheme adjusts the weighting vector for each class label by capturing the class-specific relevance of different prompts in a training-free manner. For each class label and every available prompt, we quantify their class-specific relevance by averaging image-text relevance scores over images predicted to that class under the given prompt. These estimates are then normalized to derive class-specific weights. Evaluations on standard image classification benchmarks show that CARPRT outperforms existing class-independent reweighting methods, confirming that modeling prompt-class dependencies is crucial for effective zero-shot prediction and even broader VLM-based application settings that rely on prompt ensembling. Our code is available at https://github.com/tmlr-group/CARPRT.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 35 of its 49 references that are in the map. First posted on arXiv 19 Jun 2026.
Builds on
35 of 49 references.
Closest ancestors · 12
Same direction, newest first
- 2024AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation5 Jul
- 2024Visual-Text Cross Alignment: Refining the Similarity Score in Vision-Language Models5 Jun
- 2024Efficient Test-Time Adaptation of Vision-Language Models27 Mar
- 2024Meta-Prompting for Automating Zero-shot Visual Recognition with LLMs18 Mar
- 2023Intra-Modal Proxy Learning for Zero-Shot Visual Categorization with CLIP30 Oct
- 2023Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning11 Aug
- 2023What does CLIP know about a red circle? Visual prompt engineering for VLMs13 Apr
- 2022Visual Classification via Description from Large Language Models13 Oct
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models15 Sep
- 2022Prompt Distribution Learning6 May
- 2022Conditional Prompt Learning for Vision-Language Models10 Mar
- 2021Learning to Prompt for Vision-Language Models2 Sep
Other references · 23
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2019Natural Adversarial Examplescited by 1,401
11 more
- 2015Learning Transferable Features with Deep Adaptation Networkscited by 1,323
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
- 2022MaPLe: Multi-modal Prompt Learningcited by 685
- 2021Supervision Exists Everywhere: A Data Efficient Contrastive Language-Image Pre-training Paradigmcited by 405
- 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 376
- 2016Revisiting Batch Normalization For Practical Domain Adaptationcited by 285
- 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
- 2022Contrastive Test-Time Adaptationcited by 258
- 2018A DIRT-T Approach to Unsupervised Domain Adaptationcited by 215
- 2023A Simple Zero-shot Prompt Weighting Technique to Improve Prompt Ensembling in Text-Image Modelscited by 39
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Beyond Heuristic Prompting: A Concept-Guided Bayesian Framework for Zero-Shot Image Recognition
- 2026AdaBoosting Text Prompts for Vision-Language Models
- 2024Can Better Text Semantics in Prompt Tuning Improve VLM Generalization?
- 2024Adapting Vision-Language Models to Open Classes via Test-Time Prompt Tuning
- 2024PromptSync: Bridging Domain Gaps in Vision-Language Models through Class-Aware Prototype Alignment and Discrimination
- 2025Vocabulary-free few-shot learning for Vision-Language Models
- 2025No Labels Needed: Zero-Shot Image Classification with Collaborative Self-Learning
- 2025SPARC: Score Prompting and Adaptive Fusion for Zero-Shot Multi-Label Recognition in Vision-Language Models