Prompting without Panic: Attribute-aware, Zero-shot, Test-Time Calibration
On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP
Abstract (arXiv)
Vision-language models (VLM) have demonstrated impressive performance in image recognition by leveraging self-supervised training on large datasets. Their performance can be further improved by adapting to the test sample using test-time prompt tuning (TPT). Unfortunately, the singular focus of TPT approaches on improving the accuracy suffers from tunnel vision, and leads to degradation in confidence calibration. This limits the applicability of TPT in critical applications. We make three contributions in this work. (1) We posit that random or naive initialization of prompts leads to overfitting on a particular test sample, and is the main reason for miscalibration of the VLM after TPT. To mitigate the problem, we propose careful initialization of test time prompt using prior knowledge about the target label attributes from a large language model (LLM); (2) To further maintain the quality of prompts during tpt, we propose a novel regularization loss to reduce intraclass distance, and increase inter-class distance between the learnt Through extensive experiments on different CLIP architectures and 15 datasets, we show that our approach can effectively improve the calibration after TPT. We report an average expected calibration error (ECE) of 4.11 with our method, TCA, compared to 11.7 for vanilla TPT, 6.12 for C-TPT (ICLR'24), 6.78 for DiffTPT (CVPR'23), and 8.43 for PromptAlign (NeurIPS'23). The code is publicly accessible at: https://github.com/rhebbalaguppe/TCAPromptWithoutPanic.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 43 of its 61 references that are in the map. First posted on arXiv 28 Jun 2025.
Builds on
43 of 61 references.
Closest ancestors · 14
Same direction, newest first
- 2024BoostAdapter: Improving Vision-Language Test-Time Adaptation via Regional Bootstrapping20 Oct
- 2024Efficient Test-Time Adaptation of Vision-Language Models27 Mar
- 2024C-TPT: Calibrated Test-Time Prompt Tuning for Vision-Language Models via Text Feature Dispersion21 Mar
- 2024Open-Vocabulary Calibration for Fine-tuned CLIP7 Feb
- 2023ArGue: Attribute-Guided Prompt Tuning for Vision-Language Models27 Nov
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Models3 Nov
- 2023Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalization2 Nov
- 2023Distribution-Aware Prompt Tuning for Vision-Language Models6 Sep
- 2023Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning11 Aug
- 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimization23 Mar
- 2023Enabling Calibration In The Zero-Shot Inference of Large Vision-Language Models11 Mar
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models15 Sep
2 more
Other references · 29
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2020Supervised Contrastive Learningcited by 2,829
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2013Describing Textures in the Wildcited by 2,125
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,726
- 2022Visual Prompt Tuningcited by 1,681
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
17 more
- 2019Natural Adversarial Examplescited by 1,408
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 689
- 2022Efficient Test-Time Model Adaptation without Forgettingcited by 469
- 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 464
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
- 2022What does a platypus look like? Generating customized prompts for zero-shot image classificationcited by 267
- 2022A Stitch in Time Saves Nine: A Train-Time Regularizing Loss for Improved Neural Network Calibrationcited by 49
- 2024Multimodal Healthcare AI: Identifying and Designing Clinically Relevant Vision-Language Applications for Radiologycited by 45
- 2024VIALM: A Survey and Benchmark of Visually Impaired Assistance with Large Modelscited by 23
- 2022Calibrating Deep Neural Networks using Explicit Regularisation and Dynamic Data Pruningcited by 18
- 2023ACLS: Adaptive and Conditional Label Smoothing for Network Calibrationcited by 15
- 2021PnPOOD : Out-Of-Distribution Detection for Text Classification via Plug andPlay Data Augmentationcited by 12
- 2024Wavelet-Guided Acceleration of Text Inversion in Diffusion-Based Image Editingcited by 12
- 2022A Novel Data Augmentation Technique for Out-of-Distribution Sample Detection using Compounded Corruptionscited by 6
- 2024IntCoOp: Interpretability-Aware Vision-Language Prompt Tuningcited by 5
- 2023Neutral Editing Framework for Diffusion-based Video Editingcited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024In-context Prompt Learning for Test-time Vision Recognition with Frozen Vision-language Model
- 2024Adapting Vision-Language Models to Open Classes via Test-Time Prompt Tuning
- 2024Tuning Vision-Language Models with Candidate Labels by Prompt Alignment
- 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Models
- 2026Improving Calibration in Test-Time Prompt Tuning for Vision-Language Models via Data-Free Flatness-Aware Prompt Pretraining
- 2024Can Better Text Semantics in Prompt Tuning Improve VLM Generalization?
- 2024Efficient Test-Time Prompt Tuning for Vision-Language Models
- 2023Patch-Prompt Aligned Bayesian Prompt Tuning for Vision-Language Models