Re-calibrated Contrastive Loss for Transformation-Aware Prompt Conditioning in Vision-Language Models

Seungmin Oh, Seunghun Kang, Jongbin Ryu
9/7/2026
cs.CVcs.AI
contrastive-ssl

Official code: SoongE/ReCalCon (1 star, Python, Apache-2.0, last commit 2026-10-12).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

SoongE/ReCalConOfficial100%
Apache-2.0

[BMVC2026] Official source code for Re-calibrated Contrastive Loss for Transformation-Aware Prompt Conditioning in Vision-Language Models.

10PythonAug 11, 20261 months agoApache-2.0
contrastive-learningpromptrepresentation-learningvlm

Similar Papers

Cite this paper

@article{oh2026recalibrated,
  title  = {Re-calibrated Contrastive Loss for Transformation-Aware Prompt Conditioning in Vision-Language Models},
  author = {Seungmin Oh and Seunghun Kang and Jongbin Ryu},
  year   = {2026},
  eprint = {2609.06967},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.06967v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.06967.svg)](https://codeofpaper.com/paper/2609.06967)

Discussion