Understanding and Mitigating Miscalibration in Prompt Tuning for Vision-Language Models
Shuoyuan Wang, Yixuan Li, Hongxin Wei

TL;DR
This paper investigates calibration issues in vision-language models like CLIP after prompt tuning, identifies causes of overconfidence and underconfidence, and proposes a new method called Dynamic Outlier Regularization (DOR) to improve confidence calibration across classes.
Contribution
The paper introduces DOR, a novel regularization technique that improves calibration in vision-language models by balancing confidence levels for base and new classes.
Findings
DOR improves calibration performance on both base and new classes.
Prompt tuning methods exhibit trade-offs between overconfidence and underconfidence.
Extensive experiments validate the effectiveness of DOR in real-world scenarios.
Abstract
Confidence calibration is critical for the safe deployment of machine learning models in the real world. However, such issue in vision-language models like CLIP, particularly after fine-tuning, has not been fully addressed. In this work, we demonstrate that existing prompt tuning methods usually lead to a trade-off of calibration between base and new classes: the cross-entropy loss in CoOp causes overconfidence in new classes by increasing textual label divergence, whereas the regularization of KgCoOp maintains the confidence level but results in underconfidence in base classes due to the improved accuracy. Inspired by the observations, we introduce Dynamic Outlier Regularization (DOR) to ensure the confidence calibration on both base and new classes after fine-tuning. In particular, we propose to minimize the feature deviation of novel textual labels (instead of base classes) sampled…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMultimodal Machine Learning Applications · Semantic Web and Ontologies · Natural Language Processing Techniques
MethodsContrastive Language-Image Pre-training · Context Optimization · Balanced Selection
