CAMA: Calibrated Anti-Collapse Marginal Alignment for Test-Time Adaptation of Vision-Language Models
Abstract
Test-time adaptation (TTA) updates a model using unlabeled test data to help it handle distribution shifts. However, prior work has found that image corruption causes a vision-language model (VLM) to produce more similar features for different images, a phenomenon known as feature compression. Under compression, entropy minimization, the most common TTA objective, can cause the model to favor a few classes and perform worse than before adaptation. Despite these observations, a detailed analysis of how these failures are connected and an effective strategy for preventing them are still lacking. In this paper, we first analyze why entropy minimization fails for VLMs. We then propose CAMA, a new test-time adaptation objective that maximizes batch mutual information to encourage confident predictions for individual images while maintaining diverse predictions across the batch. CAMA also estimates a reference class distribution early in the test stream and aligns each batch's average prediction with this reference during adaptation. We prove that feature compression biases the predictions and that entropy minimization amplifies this bias into collapse, whereas CAMA is guaranteed to preserve every class. Across standard corruption benchmarks, we observe collapse on nearly every VLM backbone evaluated. CAMA prevents collapse in every observed case and, in turn, achieves the best accuracy on every backbone. Quantitative and qualitative analyses confirm that CAMA reverses the feature compression behind the collapse, and ablations show that each of its components contributes.
Create a lesson
Related papers
SAVIOR: Sample-efficient Adaptation of Vision-Language Models for OCR Representation
Shared title terminology · Akshata A Bhat, Sharath Naganna, Saiful Haq et al.
GlaucomaMarker - Biomarker-Grounded Glaucoma Vision-Language Model
Shared title terminology · Ahammed Sakir Nabil, Sadia Siraz, Nikita Chincholkar et al.
Task-Agnostic Incremental Vision-Language Object Detection via Prompt Augmentation and Distribution-Aware Fusion
Shared title terminology · Yonghan Jiang, Zhengyuan Xie, Wenchu Liu et al.
StereoVLM: Binocular Vision-Language Models for Metric 3D Spatial Reasoning
Shared title terminology · Chi Yan, Guoyang Zhao, Wentao Yuan et al.
ENC-QA: A Diagnostic Benchmark for Vision-Language Models on Electronic Navigational Charts
Shared title terminology · Jiyoon Pyo, Jacob Arndt, Yao-Yi Chiang et al.
PaMuk-Bench: A Parallel Multilingual Multitask Benchmark for Vision-Language Tasks
Shared title terminology · Silviu-Florin Gheorghe, Radu-Stefan Popa, Adriana Valentina Costache et al.