Re-calibrated Contrastive Loss for Transformation-Aware Prompt Conditioning in Vision-Language Models
Abstract
Ensuring effective transfer learning for vision-language models without compromising their generalization performance is crucial. However, many existing methods overlook data characteristics and simply reuse the training strategies adopted during pre-training. Specifically, they treat same-class samples as distinct instances and transform images independently of their paired text prompts, which makes model learning more difficult. We address these limitations through transformation-aware prompt conditioning and a re-calibrated contrastive loss. Fixed text descriptors identify the transformations applied to paired images, providing transformation-level consistency without altering class semantics. This design aligns the image and text branches at the transformation level, enabling richer representations while preserving the models' ability to generalize. In addition, our loss function mitigates positive-gradient dilution in soft-target cross-entropy when each anchor has multiple valid positives. During transfer, our approach treats same-class samples as positives rather than distinct instances, enabling the model to learn domain-specific features more effectively. Experiments across distribution shift, transfer learning, and few-shot settings demonstrate consistent improvements over existing approaches. Source code for our method is available at https://github.com/SoongE/ReCalCon.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
- Comments
- Accepted by British Machine Vision Conference (BMVC) 2026
Related papers
Low-Rank Prompt Learning for Vision-Language Models with Fixed-Token Bases
Shared title terminologycs.CVTanvir Muntakim Tonoy, Sajjad Ghiasvand, Mahnoosh Alizadeh et al.
Find the Clue, Not the Scene: Rethinking Reasoning for Entity Recognition in Vision-Language Models
Shared title terminologycs.CVKyungmin Min, Soyeon Kim, Junseok Kim et al.
VisualMontage: Manipulating the Beliefs of Vision-Language Agents with Authentic Image Sequences
Shared title terminologycs.CVJinwei Hu, Lai Wei, Zhuoyun Li et al.
Attacking Hard-Label Large Vision-Language Models with Model-Sensitive Adversarial Patch Designs
Shared title terminologycs.CVNian Ai, Guangke Chen, Xiaowen Cai et al.
From Pixels to Hierarchical Sequences: Quadtree Mask Encoding for Vision-Language Binary Change Detection
Shared title terminologycs.CVXiao An, Ruikang Zhang, Chen Zhong et al.
LogiScope-VQA: Benchmarking Vision-Language Models for Logistics Hazard Identification in Industrial Scenarios
Shared title terminologycs.CVHanjing Zhou, Mingze Yin, Ying Lian et al.