Improving Calibration in Test-Time Prompt Tuning for Vision-Language Models via Data-Free Flatness-Aware Prompt Pretraining
On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP
Abstract (arXiv)
Test-time prompt tuning (TPT) has emerged as a promising technique for enhancing the adaptability of vision-language models by optimizing textual prompts using unlabeled test data. However, prior studies have observed that TPT often produces poorly calibrated models, raising concerns about the reliability of their predictions. Recent works address this issue by incorporating additional regularization terms that constrain model outputs, which improve calibration but often degrade performance. In this work, we reveal that these regularization strategies implicitly encourage optimization toward flatter minima, and that the sharpness of the loss landscape around adapted prompts is a key factor governing calibration quality. Motivated by this observation, we introduce Flatness-aware Prompt Pretraining (FPP), a simple yet effective pretraining framework for TPT that initializes prompts within flatter regions of the loss landscape prior to adaptation. We show that simply replacing the initialization in existing TPT pipelines--without modifying any other components--is sufficient to improve both calibration and performance. Notably, FPP requires no labeled data and incurs no additional computational costs during test-time tuning, making it highly practical for real-world deployment. The code is available at: https://github.com/YonseiML/fpp.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 40 of its 50 references that are in the map. First posted on arXiv 30 Apr 2026.
Builds on
40 of 50 references.
Closest ancestors · 11
Same direction, newest first
- 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Models15 Mar
- 2025DynaPrompt: Dynamic Test-Time Prompt Tuning27 Jan
- 2024Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models16 Oct
- 2024Efficient Test-Time Prompt Tuning for Vision-Language Models11 Aug
- 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
- 2023Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning11 Aug
- 2023Preventing Zero-Shot Transfer Degradation in Continual Learning of Vision-Language Models12 Mar
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models15 Sep
- 2022Conditional Prompt Learning for Vision-Language Models10 Mar
- 2021Learning to Prompt for Vision-Language Models2 Sep
Other references · 29
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2022MaPLe: Multi-modal Prompt Learningcited by 685
- 2016Distribution-Free Predictive Inference For Regressioncited by 657
- 2022MedCLIP: Contrastive Learning from Unpaired Medical Images and Textcited by 564
- 2017Sharp Minima Can Generalize For Deep Netscited by 462
- 2019Measuring Calibration in Deep Learningcited by 443
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
17 more
- 2020Calibrating Deep Neural Networks using Focal Losscited by 353
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
- 2023CLIP-Driven Universal Model for Organ Segmentation and Tumor Detectioncited by 224
- 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 171
- 2020Towards Theoretically Understanding Why SGD Generalizes Better Than ADAM in Deep Learningcited by 125
- 2018Bias-Reduced Uncertainty Estimation for Deep Neural Classifierscited by 106
- 2017Fisher-Rao Metric, Geometry, and Complexity of Neural Networkscited by 99
- 2021The Devil is in the Margin: Margin-based Label Smoothing for Network Calibrationcited by 91
- 2021Soft Calibration Objectives for Neural Networkscited by 89
- 2023SoTTA: Robust Test-Time Adaptation on Noisy Data Streamscited by 63
- 2024Friendly Sharpness-Aware Minimizationcited by 52
- 2022LATTE: LAnguage Trajectory TransformErcited by 40
- 2024Robust Calibration of Large Vision-Language Adapterscited by 28
- 2023ESD: Expected Squared Difference as a Tuning-Free Trainable Calibration Measurecited by 13
- 2025Calibration-Aware Prompt Learning for Medical Vision-Language Modelscited by 3
- 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimizationcited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Towards Calibrating Prompt Tuning of Vision-Language Models
- 2025Prompting without Panic: Attribute-aware, Zero-shot, Test-Time Calibration
- 2025Doubly Debiased Test-Time Prompt Tuning for Vision-Language Models
- 2025Flatness Guided Test-Time Adaptation for Vision-Language Models
- 2025D-TPT: Dimensional Entropy Maximization for Calibrating Test-Time Prompt Tuning in Vision-Language Models
- 2025A-TPT: Angular Diversity Calibration Properties for Test-Time Prompt Tuning of Vision-Language Models
- 2025MetaTPT: Meta Test-time Prompt Tuning for Vision-Language Models
- 2024Nemesis: Normalizing the Soft-prompt Vectors of Vision-Language Models