mlsanityData to 14 Oct 2026

Bridging the Confidence Gap: Temperature Scaling for Calibrating Test-Time Prompt Tuning

arXiv 2609.17386 ↗First posted 15 Sep 2026cs.LGcited by 0

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

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2017On Calibration of Modern Neural Networkscited by 4,960
  3. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  4. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  5. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
  6. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  7. 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,109
  8. 2013Describing Textures in the Wildcited by 2,125
  9. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  10. 2013Fine-Grained Visual Classification of Aircraftcited by 1,726
  11. 2022Visual Prompt Tuningcited by 1,681
  12. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
38 more
  1. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
  2. 2019Natural Adversarial Examplescited by 1,408
  3. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
  4. 2019When Does Label Smoothing Help?cited by 988
  5. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
  6. 2022MaPLe: Multi-modal Prompt Learningcited by 687
  7. 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 656
  8. 2019Measuring Calibration in Deep Learningcited by 446
  9. 2021Revisiting the Calibration of Modern Neural Networkscited by 390
  10. 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 382
  11. 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 377
  12. 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
  13. 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
  14. 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimizationcited by 308
  15. 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 305
  16. 2021Simple but Effective: CLIP Embeddings for Embodied AIcited by 191
  17. 2023Scaling Down to Scale Up: A Guide to Parameter-Efficient Fine-Tuningcited by 173
  18. 2023Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuningcited by 154
  19. 2024Efficient Test-Time Adaptation of Vision-Language Modelscited by 141
  20. 2022Unsupervised Prompt Learning for Vision-Language Modelscited by 127
  21. 2024VLP: Vision Language Planning for Autonomous Drivingcited by 126
  22. 2020Local Temperature Scaling for Probability Calibrationcited by 95
  23. 2021The Devil is in the Margin: Margin-based Label Smoothing for Network Calibrationcited by 91
  24. 2024C-TPT: Calibrated Test-Time Prompt Tuning for Vision-Language Models via Text Feature Dispersioncited by 83
  25. 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 75
  26. 2024On the test-time zero-shot generalization of vision-language models: Do we really need prompt learning?cited by 67
  27. 2024Frustratingly Easy Test-Time Adaptation of Vision-Language Modelscited by 36
  28. 2023What Can We Learn From The Selective Prediction And Uncertainty Estimation Performance Of 523 Imagenet Classifierscited by 35
  29. 2025R-TPT: Improving Adversarial Robustness of Vision-Language Models through Test-Time Prompt Tuningcited by 33
  30. 2024Just Shift It: Test-Time Prototype Shifting for Zero-Shot Generalization with Vision-Language Modelscited by 32
  31. 2025DynaPrompt: Dynamic Test-Time Prompt Tuningcited by 31
  32. 2023POUF: Prompt-oriented unsupervised fine-tuning for large pre-trained modelscited by 29
  33. 2024Robust Calibration of Large Vision-Language Adapterscited by 28
  34. 2024BiomedCoOp: Learning to Prompt for Biomedical Vision-Language Modelscited by 28
  35. 2024Test-Time Low Rank Adaptation via Confidence Maximization for Zero-Shot Generalization of Vision-Language Modelscited by 17
  36. 2024Open-Vocabulary Calibration for Fine-tuned CLIPcited by 15
  37. 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Modelscited by 15
  38. 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.