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

📅 2026-09-15
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文针对测试时提示调整导致的校准性能下降问题,提出了一种名为CoTS的方法,通过温度缩放减少自适应与零样本预测间的置信差距,并引入弱强集成策略以提升准确性。
📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Test-time Prompt Tuning
Calibration Performance
Accuracy
Innovation

Methods, ideas, or system contributions that make the work stand out.

Temperature Scaling
Test-time Prompt Tuning
Calibration
Ensemble Strategy
Accuracy
🔎 Similar Papers
No similar papers found.
Y
Yuwei Liang
School of Artificial Intelligence, University of Chinese Academy of Sciences, Beijing, China
Jian Liang
Jian Liang
Kuaishou Inc.
transfer learninggraph learning
Dapeng Hu
Dapeng Hu
National University of Singapore
Transfer LearningRepresentation Learning
Y
Yinuo Xu
School of Artificial Intelligence, University of Chinese Academy of Sciences, Beijing, China
R
Ran He
School of Artificial Intelligence, University of Chinese Academy of Sciences, Beijing, China