Lune

ICLR2024Top-tier venue

C-TPT: Calibrated Test-Time Prompt Tuning for Vision-Language Models via Text Feature Dispersion

Hee Suk Yoon, Eunseop Yoon, Joshua Tian Jin Tee, Mark A. Hasegawa-Johnson, Yingzhen Li, Chang D. Yoo

Abstract

In deep learning, test-time adaptation has gained attention as a method for model fine-tuning without the need for labeled data. A prime exemplification is the recently proposed test-time prompt tuning for large-scale vision-language models such as CLIP. Unfortunately, these prompts have been mainly developed to improve accuracy, overlooking the importance of calibration, which is a crucial aspect for quantifying prediction uncertainty. However, traditional calibration methods rely on substantial amounts of labeled data, making them impractical for test-time scenarios. To this end, this paper explores calibration during test-time prompt tuning by leveraging the inherent properties of CLIP. Through a series of observations, we find that the prompt choice significantly affects the calibration in CLIP, where the prompts leading to higher text feature dispersion result in better-calibrated predictions. Introducing the Average Text Feature Dispersion (ATFD), we establish its relationship with calibration error and present a novel method, Calibrated Test-time Prompt Tuning (C-TPT), for optimizing prompts during test-time with enhanced calibration. Through extensive experiments on different CLIP architectures and datasets, we show that C-TPT can effectively improve the calibration of test-time prompt tuning without needing labeled data. The code is publicly accessible at https://github.com/hee-suk-yoon/C-TPT .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

48 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Conditional Prompt Learning for Vision-Language Models cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Conditional Prompt Learning for Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Unleashing the Potential of Multimodal LLMs for Zero-Shot Spatio-Temporal Video Grounding cites Historical Test-time Prompt Tuning for Vision Foundation Models
  • Unleashing the Potential of Multimodal LLMs for Zero-Shot Spatio-Temporal Video Grounding cites Learning Transferable Visual Models From Natural Language Supervision
  • Post-hoc Probabilistic Vision-Language Models cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Post-hoc Probabilistic Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Historical Test-time Prompt Tuning for Vision Foundation Models cites Conditional Prompt Learning for Vision-Language Models
  • Historical Test-time Prompt Tuning for Vision Foundation Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Historical Test-time Prompt Tuning for Vision Foundation Models cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Learning Transferable Visual Models From Natural Language Supervision cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models cites Conditional Prompt Learning for Vision-Language Models
  • Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment cites Historical Test-time Prompt Tuning for Vision Foundation Models
  • Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment cites Learning Transferable Visual Models From Natural Language Supervision
  • Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment cites Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers48

  1. Dual Prototype Evolving for Test-Time Generalization of Vision-Language ModelsCe Zhang, Simon Stepputtis, Katia P. Sycara, Yaqi XieNeurIPS 2024 · 57 citations
  2. Historical Test-time Prompt Tuning for Vision Foundation ModelsJingyi Zhang, Jiaxing Huang, Xiaoqin Zhang, Ling Shao et al.NeurIPS 2024 · 29 citations
  3. Post-hoc Probabilistic Vision-Language ModelsAnton Baumann, Rui Li, Marcus Klasson, Santeri Mentu et al.ICLR 2026 · 14 citations
  4. Unleashing the Potential of Multimodal LLMs for Zero-Shot Spatio-Temporal Video GroundingZaiquan Yang, Yuhao Liu, Gerhard P. Hancke, Rynson W. H. LauNeurIPS 2025 · 10 citations
  5. Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian AlignmentYoujia Zhang, Youngeun Kim, Young-Geun Choi, Hongyeob Kim et al.NeurIPS 2025 · 10 citations

Builds on23

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations
  3. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
  4. Conditional Prompt Learning for Vision-Language ModelsKaiyang Zhou, Jingkang Yang, Chen Change Loy, Ziwei LiuCVPR 2022 · 1,438 citations
  5. Calibrating Deep Neural Networks using Focal LossJishnu Mukhoti, Viveka Kulharia, Amartya Sanyal, Stuart Golodetz et al.NeurIPS 2020 · 674 citations

Related papers

  1. A-TPT: Angular Diversity Calibration Properties for Test-Time Prompt Tuning of Vision-Language ModelsShihab Aaqil Ahamed, Udaya Sampath K. Perera Miriya Thanthrige, Ranga Rodrigo, Muhammad Haris KhanICLR 2026 · 5 citations
  2. O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language ModelsAshshak Sharifdeen, Muhammad Akhtar Munir, Sanoojan Baliah, Salman Khan et al.CVPR 2025
  3. Hierarchical Knowledge Prompt Tuning for Multi-task Test-Time AdaptationQiang Zhang, Mengsheng Zhao, Jiawei Liu, Fanrui Zhang et al.CVPR 2025
  4. Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language ModelsManli Shu, Weili Nie, De-An Huang, Zhiding Yu et al.NeurIPS 2022 · 603 citations
  5. Improving Calibration in Test-Time Prompt Tuning for Vision-Language Models via Data-Free Flatness-Aware Prompt PretrainingHyeonseo Jang, Jaebyeong Jeon, Joong-Won Hwang, Kibok LeeCVPR 2026 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines