Bridging the Confidence Gap: Temperature Scaling for Calibrating Test-Time Prompt Tuning
Not on the map. Why?
Abstract (arXiv)
Test-time prompt tuning (TPT) enables adaptation on a single test instance, achieving improved accuracy but often sacrificing calibration performance. Most existing calibration methods introduce additional regularization terms to promote dispersion across text embeddings and reduce calibration error, yet these methods often suffer from a drop in accuracy. Motivated by the well-calibrated nature of zero-shot predictions, we propose CoTS, a simple yet effective post-hoc calibration method that preserves accuracy. Specifically, CoTS applies temperature scaling to minimize the confidence gap between adapted and zero-shot predictions. To fully exploit the potential of multiple augmentations during adaptation, we introduce a weak-strong ensemble strategy that further boosts accuracy. We then apply CoTS to this ensemble, termed E-CoTS, to maintain its well-calibrated property. Extensive experiments on diverse datasets and backbones show that our approaches effectively mitigate miscalibration without compromising primary accuracy. For instance, E-CoTS reduces the average expected calibration error of TPT from 11.90% to 5.38% on ImageNet variants, while even increasing accuracy from 60.74% to 62.95%. Moreover, when integrated with existing calibration methods, E-CoTS usually enhances both accuracy and calibration simultaneously.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 58 of its 76 references that are in the map. First posted on arXiv 15 Sep 2026.
Builds on
58 of 76 references.
References · 58
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,109
- 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
38 more
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
- 2019Natural Adversarial Examplescited by 1,408
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
- 2019When Does Label Smoothing Help?cited by 988
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2022MaPLe: Multi-modal Prompt Learningcited by 687
- 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 656
- 2019Measuring Calibration in Deep Learningcited by 446
- 2021Revisiting the Calibration of Modern Neural Networkscited by 390
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 382
- 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 377
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
- 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimizationcited by 308
- 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 305
- 2021Simple but Effective: CLIP Embeddings for Embodied AIcited by 191
- 2023Scaling Down to Scale Up: A Guide to Parameter-Efficient Fine-Tuningcited by 173
- 2023Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuningcited by 154
- 2024Efficient Test-Time Adaptation of Vision-Language Modelscited by 141
- 2022Unsupervised Prompt Learning for Vision-Language Modelscited by 127
- 2024VLP: Vision Language Planning for Autonomous Drivingcited by 126
- 2020Local Temperature Scaling for Probability Calibrationcited by 95
- 2021The Devil is in the Margin: Margin-based Label Smoothing for Network Calibrationcited by 91
- 2024C-TPT: Calibrated Test-Time Prompt Tuning for Vision-Language Models via Text Feature Dispersioncited by 83
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 75
- 2024On the test-time zero-shot generalization of vision-language models: Do we really need prompt learning?cited by 67
- 2024Frustratingly Easy Test-Time Adaptation of Vision-Language Modelscited by 36
- 2023What Can We Learn From The Selective Prediction And Uncertainty Estimation Performance Of 523 Imagenet Classifierscited by 35
- 2025R-TPT: Improving Adversarial Robustness of Vision-Language Models through Test-Time Prompt Tuningcited by 33
- 2024Just Shift It: Test-Time Prototype Shifting for Zero-Shot Generalization with Vision-Language Modelscited by 32
- 2025DynaPrompt: Dynamic Test-Time Prompt Tuningcited by 31
- 2023POUF: Prompt-oriented unsupervised fine-tuning for large pre-trained modelscited by 29
- 2024Robust Calibration of Large Vision-Language Adapterscited by 28
- 2024BiomedCoOp: Learning to Prompt for Biomedical Vision-Language Modelscited by 28
- 2024Test-Time Low Rank Adaptation via Confidence Maximization for Zero-Shot Generalization of Vision-Language Modelscited by 17
- 2024Open-Vocabulary Calibration for Fine-tuned CLIPcited by 15
- 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Modelscited by 15
- 2023Realistic Unsupervised CLIP Fine-tuning with Universal Entropy Optimizationcited by 13
50 most cited of 58 All 58 (JSON)
Built on by
Not cited yet.