paper-with-me

Papers

CLIPTTA: Robust Contrastive Vision-Language Test-Time Adaptation

2025-07-18 · Marc Lafon, Gustavo Adolfo Vargas Hakim, Clément Rambour, Christian Desrosier, Nicolas Thome arxiv

Vision-language models (VLMs) like CLIP exhibit strong zero-shot capabilities but often fail to generalize under distribution shifts. Test-time adaptation (TTA) allows models to update at inference time without labeled data, typically via entropy minimization. However, this objective is fundamentally misaligned with the contrastive image-text training of VLMs, limiting adaptation performance and introducing failure modes such as pseudo-label drift and class collapse. We propose CLIPTTA, a new gradient-based TTA method for vision-language models that leverages a soft contrastive loss aligned with CLIP's pre-training objective. We provide a theoretical analysis of CLIPTTA's gradients, showing how its batch-aware design mitigates the risk of collapse. We further extend CLIPTTA to the open-set setting, where both in-distribution (ID) and out-of-distribution (OOD) samples are encountered, using an Outlier Contrastive Exposure (OCE) loss to improve OOD detection. Evaluated on 75 datasets spanning diverse distribution shifts, CLIPTTA consistently outperforms entropy-based objectives and is highly competitive with state-of-the-art TTA methods, outperforming them on a large number of datasets and exhibiting more stable performance across diverse shifts.

📄 PDF Abstract BibTeX arXiv:2507.14312

Code (0)

등록된 구현이 없습니다.

Tasks

Test-time Adaptation

Similar Papers 제목 키워드 기반

Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)

2022-05-03 · Alex Fang, Gabriel Ilharco, Mitchell Wortsman, Yuhao Wan 외

Contrastively trained language-image models such as CLIP, ALIGN, and BASIC have demonstrated unprecedented robustness to multiple challenging natural distribution shifts. Since these language-image models differ from pre…

Image Classification

SwapPrompt: Test-Time Prompt Adaptation for Vision-Language Models

2023-09-21 · NeurIPS 2023 11

Test-time adaptation (TTA) is a special and practical setting in unsupervised domain adaptation, which allows a pre-trained model in a source domain to adapt to unlabeled test data in another target domain. To avoid the …

PromptCD: Test-Time Behavior Enhancement via Polarity-Prompt Contrastive Decoding

2026-02-24 · Baolong Bi, Yuyao Ge, Shenghua Liu, Yuchen He 외 arxiv

Reliable AI systems require large language models (LLMs) to exhibit behaviors aligned with human preferences and values. However, most existing alignment approaches operate at training time and rely on additional high-qu…

Visual Grounding

Test-Time Distribution Normalization for Contrastively Learned Vision-language Models

2023-02-22 · Yifei Zhou, Juntao Ren, Fengyu Li, Ramin Zabih 외

Advances in the field of vision-language contrastive learning have made it possible for many downstream applications to be carried out efficiently and accurately by simply taking the dot product between image and text re…

Contrastive Learning

LeVLJEPA: End-to-End Vision-Language Pretraining Without Negatives

2026-07-01 · Lukas Kuhn, Giuseppe Serra, Randall Balestriero, Florian Buettner arxiv

Vision-language pretraining remains dominated by contrastive objectives, whereas vision-only self-supervised learning has largely adopted non-contrastive methods. At the same time, the role of vision-language encoders ha…

Self-Supervised LearningSemantic Segmentation