SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.22127 · NeurIPS · 2025

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

Jingrui He, Wenxuan Bao, Ruxi Deng

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2510.22127.json · badge: /api/ran/2510.22127.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
baowenxuan/Mint canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
FunctionStatusWhere it lives
configure_model Ran
ran; our contract draft was wrong, not the code
baowenxuan/Mint/src/methods/utils.py
pointer only (licence: NONE) · get_code("f0706a15b36dcf6a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, baowenxuan/Mint when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_custom_dataset Ran
ran; our contract draft was wrong, not the code
baowenxuan/Mint/src/datasets/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from baowenxuan/Ramen, is pointer only (licence: NONE) · get_code("c62c4350be9aa59f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, baowenxuan/Mint when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pil_loader Ran
ran, honoured the contract we drafted
baowenxuan/Mint/src/datasets/utils.py
pointer only (licence: NONE) · get_code("f321f54723433661")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, baowenxuan/Mint when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_classnames Ran
ran; our contract draft was wrong, not the code
baowenxuan/Mint/src/datasets/vision.py
pointer only (licence: NONE) · get_code("92f525cf6230e44e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, baowenxuan/Mint when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

accimage_loader Not yet run
unverified (harvested, no recorded run)
baowenxuan/Mint/src/datasets/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from RobustBench/robustbench, is pointer only (licence: NOASSERTION) · get_code("404fb2b2daa1ae78")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, baowenxuan/Mint when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_vision_dataset_class Not yet run
unverified (harvested, no recorded run)
baowenxuan/Mint/src/datasets/vision.py
pointer only (licence: NONE) · get_code("2328465aaf9ef7fe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, baowenxuan/Mint when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 4 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
pil_loader 66 other papers
62 dated earlier, 3 later, 1 same year, order not determinable
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
and 63 more not named here
accimage_loader 39 other papers
35 dated earlier, 3 later, 1 same year, order not determinable
1702.00758 (2017-02)
HashNet: Deep Learning to Hash by Continuation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
1805.00907 (2018-05)
Glow: Graph Lowering Compiler Techniques for Neural Networks
and 36 more not named here
read_classnames 2 other papers
2 dated earlier
2309.05950 (2023-09)
Language Models as Black-Box Optimizers for Vision-Language Models
2401.15657 (2024-01)
Data-Free Generalized Zero-Shot Learning
make_custom_dataset 1 other paper
1 later
2604.21728 (2026-04)
Ramen: Robust Test-Time Adaptation of Vision-Language Models with Active Sample Selection

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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 interclass 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2510.22127")
get_code_for_paper("2510.22127")
have("2510.22127")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2510.22127.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2510.22127.svg)](https://syntology.ai/paper/2510.22127)

Connect an agent — have() is free.