SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.03133 · 2023

Benchmarking Test-Time Adaptation against Distribution Shifts in Image Classification

arXiv · PDF · Open in the Atlas

Code that ran

5 of 8 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; 4 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2307.03133.json · badge: /api/ran/2307.03133.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
yuyongcan/benchmark-tta canonical (classifier label)
classifier basis: census
5 ran · 3 no recorded run
FunctionStatusWhere it lives
image_train Ran
ran; our contract draft was wrong, not the code
yuyongcan/benchmark-tta/train_source.py
pointer only (licence: NONE); the stored copy get_code serves, from Albert0147/AaD_SFDA, is pointer only (licence: NONE) · get_code("35c2d572ebd185f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuyongcan/benchmark-tta 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.

lr_scheduler Ran
ran; our contract draft was wrong, not the code
yuyongcan/benchmark-tta/train_source.py
pointer only (licence: NONE); the stored copy get_code serves, from albert0147/aad_sfda, is pointer only (licence: NONE) · get_code("0b7ffc9f8b77529c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuyongcan/benchmark-tta 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
yuyongcan/benchmark-tta/robustbench/loaders.py
pointer only (licence: NONE); the stored copy get_code serves, from royzry98/moase-pytorch, is pointer only (licence: NONE) · get_code("4aedf5bc9100546f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuyongcan/benchmark-tta 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.

op_copy Ran
ran; our contract draft was wrong, not the code
yuyongcan/benchmark-tta/train_source.py
pointer only (licence: NONE); the stored copy get_code serves, from albert0147/aad_sfda, is pointer only (licence: NONE) · get_code("93a11f62e4a129f0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuyongcan/benchmark-tta 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
yuyongcan/benchmark-tta/robustbench/loaders.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, yuyongcan/benchmark-tta 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)
yuyongcan/benchmark-tta/robustbench/loaders.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, yuyongcan/benchmark-tta 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.

load_cifar10 Not yet run
unverified (harvested, no recorded run)
yuyongcan/benchmark-tta/robustbench/data.py
pointer only (licence: NONE) · get_code("2ef65c34f0fa8042")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuyongcan/benchmark-tta 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.

load_cifar100 Not yet run
unverified (harvested, no recorded run)
yuyongcan/benchmark-tta/robustbench/data.py
pointer only (licence: NONE) · get_code("52acd5b81cee97b1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuyongcan/benchmark-tta 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 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 8 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 1 the same month, 8 later) and 0 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
28 dated earlier, 2 the same month, 33 later, 3 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
17 dated earlier, 21 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
op_copy 21 other papers
14 dated earlier, 7 later · 5 only as an assembly brick
2002.08546 (2020-02)
Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
2012.07297 (2020-12)
Source Data-absent Unsupervised Domain Adaptation through Hypothesis Transfer and Labeling Transfer
2104.01539 (2021-04)
DINE: Domain Adaptation from Single and Multiple Black-box Predictors
and 18 more not named here
lr_scheduler 18 other papers
12 dated earlier, 6 later · 3 only as an assembly brick
2002.08546 (2020-02)
Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
2012.07297 (2020-12)
Source Data-absent Unsupervised Domain Adaptation through Hypothesis Transfer and Labeling Transfer
2104.01539 (2021-04)
DINE: Domain Adaptation from Single and Multiple Black-box Predictors
and 15 more not named here
image_train 8 other papers
7 dated earlier, 1 later · 2 only as an assembly brick
2104.01539 (2021-04)
DINE: Domain Adaptation from Single and Multiple Black-box Predictors
2104.01845 (2021-04)
Unsupervised Multi-source Domain Adaptation Without Access to Source Data
2107.12585 (2021-07)
Nearest Neighborhood-Based Deep Clustering for Source Data-absent Unsupervised Domain Adaptation
and 5 more not named here
load_cifar10 2 other papers
2 later
2405.16486 (2024-05)
Decomposing the Neurons: Activation Sparsity via Mixture of Experts for Continual Test Time Adaptation
2406.10737 (2024-06)
DPCore: Dynamic Prompt Coreset for Continual Test-Time Adaptation
load_cifar100 2 other papers
2 later
2405.16486 (2024-05)
Decomposing the Neurons: Activation Sparsity via Mixture of Experts for Continual Test Time Adaptation
2406.10737 (2024-06)
DPCore: Dynamic Prompt Coreset for Continual Test-Time Adaptation
make_custom_dataset 1 other paper
1 later
2405.16486 (2024-05)
Decomposing the Neurons: Activation Sparsity via Mixture of Experts for Continual Test Time Adaptation

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

Repositories linked to this paper

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

Abstract

Test-time adaptation (TTA) is a technique aimed at enhancing the generalization performance of models by leveraging unlabeled samples solely during prediction. Given the need for robustness in neural network systems when faced with distribution shifts, numerous TTA methods have recently been proposed. However, evaluating these methods is often done under different settings, such as varying distribution shifts, backbones, and designing scenarios, leading to a lack of consistent and fair benchmarks to validate their effectiveness. To address this issue, we present a benchmark that systematically evaluates 13 prominent TTA methods and their variants on five widely used image classification datasets: CIFAR-10-C, CIFAR-100-C, ImageNet-C, DomainNet, and Office-Home. These methods encompass a wide range of adaptation scenarios (e.g. online adaptation v.s. offline adaptation, instance adaptation v.s. batch adaptation v.s. domain adaptation). Furthermore, we explore the compatibility of different TTA methods with diverse network backbones. To implement this benchmark, we have developed a unified framework in PyTorch, which allows for consistent evaluation and comparison of the TTA methods across the different datasets and network architectures. By establishing this benchmark, we aim to provide researchers and practitioners with a reliable means of assessing and comparing the effectiveness of TTA methods in improving model robustness and generalization performance. Our code is available at https://github.com/yuyongcan/Benchmark-TTA.

For agents

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

get_harvested_code_for_paper("2307.03133")
get_code_for_paper("2307.03133")
have("2307.03133")

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

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

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

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

Connect an agent — have() is free.