Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Mint: A Simple Test-Time Adaptation of Vision-Language Models against Common Corruptions

About

Pretrained vision-language models such as CLIP achieve strong zero-shot generalization but remain vulnerable to distribution shifts caused by input corruptions. In this work, we investigate how corruptions affect CLIP's image embeddings and uncover a consistent phenomenon we term as embedding variance collapse, where both intra-class and inter-class variances shrink as corruption severity increases. We find that this collapse is closely tied to performance degradation, with inter-class variance strongly correlated with classification accuracy. To explain this phenomenon, we analyze how corruptions alter the structure of the embedding space. Our theoretical results suggest that the visual encoder tends to encode corruption-related signals, which dilute class-discriminative features and compress the representation geometry. We further show that maximizing inter-class variance, even when estimated from pseudo-labels, can provably enhance embedding quality. Based on this insight, we propose Mint, a simple test-time adaptation method that maximizes pseudo-label-based inter-class variance on the fly using a mean accumulator and a gradient accumulator. Mint operates effectively with small batch sizes and consistently improves performance across multiple corruption benchmarks and CLIP architectures. Our code is available at https://github.com/baowenxuan/Mint .

Wenxuan Bao, Ruxi Deng, Jingrui He• 2025

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10C Severity Level 5 (test)
Average Error Rate (Severity 5)70.2
62
Image ClassificationCIFAR-100-C v1 (test)
Error Rate (Average)37.09
60
Image ClassificationImageNet-C 1.0 (test)--
53
Image ClassificationCIFAR-100C Level 5 (test)
Gaussian Acc27.49
45
Image ClassificationCIFAR-100-C
Accuracy (Corruption)53.8
44
Image ClassificationImageNet-C Severity 5 (test)
Error Rate (Gaussian)19.68
42
Image ClassificationCIFAR-10-C v1 (test)--
28
Image ClassificationCIFAR10-C
Acc (Gauss)68.12
13
Image ClassificationImageNet-C
Gaussian Blur Error Rate32
13
Showing 9 of 9 rows

Other info

Follow for update