M-PFT: Angular Margin for Calibrated Prompt-Tuning of Fine-Tuned Vision-Language Models
Shihab Aaqil Ahamed, Mohamed Ansaff, Nang Khin Myat Lay Phyu, Udaya Sampath K. Perera Miriya Thanthrige, Chamira U. S. Edussooriya, Ranga Rodrigo, Muhammad Haris Khan
Abstract
Prompt-tuning has emerged as a parameter-efficient technique for adapting large-scale vision-language models (VLMs) to downstream tasks while keeping the pre-trained weights frozen. However, prompt-tuned VLMs often suffer from a base-to-novel dual miscalibration problem, where models typically show underconfidence on base classes and overconfidence on novel classes. Current VLM calibration approaches address this dual miscalibration either separately or jointly, but lack a geometric understanding of the hyperspherical embedding space and thus fail to exploit angular discriminative properties to adjust distorted decision boundaries. To address this, we propose M-PFT, a novel angular-margin approach for prompt tuning that introduces two complementary objectives to promote class discriminability and semantic anchoring. This enlarges the angular margin by 1) minimizing the maximum cosine similarity between tunable class embeddings to reduce embedding collapse and 2) minimizing the angular distance between each tunable embedding and its corresponding zero-shot embedding to preserve semantic geometry. Extensive experiments across 9 prompt-tuning methods with various backbones on 15 diverse datasets show that our approach reduces the average calibration error on novel classes, while remaining competitive on base classes and maintaining comparable accuracy. Further analyses reveal that M-PFT effectively adjusts distorted decision boundaries induced by prompt tuning while preserving the pre-trained embedding space, improving calibration with negligible computational overhead.
Create a lesson
Metadata
- Comments
- Accepted at WACV 2027
Related papers
Density-Aware Calibration for Resource-Efficient Medical Vision-Language Models
Shared title terminologycs.CVTien-Dat Dam, Huu-Thuan Huynh, Minh-Triet Tran et al.
FieldGuideRAG: Image-Grounded GraphRAG for Fine-Grained Recognition with Vision-Language Models
Shared title terminologycs.CVJiacheng Ding, Yanliang Qi, Cong Guo et al.
VISOR: A Vision-Language Selector for Multimodal Time-Series Forecasting
Shared title terminologycs.CVSeunghan Lee, Jun Seo, Junhyeok Kang et al.
Anchoring VAE Fine-Tuning to Its Latent Diffusion Prior
Shared title terminologycs.CVRafael Bischof, Dominik Narnhofer, Julius Erbach et al.
Let Vision-Language Models Generate Images through Their Representations
Shared title terminologycs.CVJB Kim, Byungwoo Jeon, Kyungmin Lee et al.
Where Compositionality Hides: Shared-Content Interference in Vision-Language Retrieval
Shared title terminologycs.CVChimata Anudeep, Harsh Vardhan Poddar