Papers › In Search of Lost Online Test-time Adaptation: A Survey

In Search of Lost Online Test-time Adaptation: A Survey

31 Oct 2023arXiv:2310.20199archive 2025-07-28

Zixin Wang, Yadan Luo, Liang Zheng, Zhuoxiao Chen, Sen Wang, Zi Huang

This article presents a comprehensive survey of online test-time adaptation (OTTA), focusing on effectively adapting machine learning models to distributionally different target data upon batch arrival. Despite the recent proliferation of OTTA methods, conclusions from previous studies are inconsistent due to ambiguous settings, outdated backbones, and inconsistent hyperparameter tuning, which obscure core challenges and hinder reproducibility. To enhance clarity and enable rigorous comparison, we classify OTTA techniques into three primary categories and benchmark them using a modern backbone, the Vision Transformer (ViT). Our benchmarks cover conventional corrupted datasets such as CIFAR-10/100-C and ImageNet-C, as well as real-world shifts represented by CIFAR-10.1, OfficeHome, and CIFAR-10-Warehouse. The CIFAR-10-Warehouse dataset includes a variety of variations from different search engines and synthesized data generated through diffusion models. To measure efficiency in online scenarios, we introduce novel evaluation metrics, including GFLOPs, wall clock time, and GPU memory usage, providing a clearer picture of the trade-offs between adaptation accuracy and computational overhead. Our findings diverge from existing literature, revealing that (1) transformers demonstrate heightened resilience to diverse domain shifts, (2) the efficacy of many OTTA methods relies on large batch sizes, and (3) stability in optimization and resistance to perturbations are crucial during adaptation, particularly when the batch size is 1. Based on these insights, we highlight promising directions for future research. Our benchmarking toolkit and source code are available at https://github.com/Jo-wang/OTTA_ViT_survey.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.20199")

Code

Syntology Ran 14 of 17 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jo-wang/otta_vit_survey officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 14 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
1ran · fixture could not drive it
9ran
3unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from jo-wang/otta_vit_survey. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

autocontrast jo-wang/otta_vit_survey/classification/augmentations/transforms_memo_imagenet.py official repository ran · our draft was wrong MIT (permissive) · 3ee3bf864db8867f · report
complete_data_dir_path jo-wang/otta_vit_survey/classification/conf.py official repository ran MIT (permissive) · 7fb0442e54fa76f5 · report
create_file_list jo-wang/otta_vit_survey/classification/datasets/imagenet_subsets.py official repository ran MIT (permissive) · ae33aa95d68dffd6 · report
equalize jo-wang/otta_vit_survey/classification/augmentations/transforms_memo_imagenet.py official repository ran · our draft was wrong MIT (permissive) · ca3e2158c52023d8 · report
get_mem_space jo-wang/otta_vit_survey/classification/gpu_mem_track.py official repository ran MIT (permissive) · a01911ff65691be7 · report
get_num_classes jo-wang/otta_vit_survey/classification/conf.py official repository ran MIT (permissive) · 772f46396ecd553a · report
read_order jo-wang/otta_vit_survey/classification/continual_test_time.py official repository ran MIT (permissive) · a89e83a278846542 · report
refine_predictions jo-wang/otta_vit_survey/classification/methods/adacontrast.py official repository ran MIT (permissive) · 6c5a8d4a69a975c2 · report
rotate jo-wang/otta_vit_survey/classification/augmentations/transforms_memo_imagenet.py official repository ran · our draft was wrong MIT (permissive) · 344ae735e72e78f3 · report
soft_k_nearest_neighbors jo-wang/otta_vit_survey/classification/methods/adacontrast.py official repository ran MIT (permissive) · 110b394c4d611e0b · report
softmax_entropy jo-wang/otta_vit_survey/classification/methods/conjugatePL.py official repository ran · fixture could not drive it MIT (permissive) · 3078648c75e3e1e3 · report
softmax_entropy_cifar jo-wang/otta_vit_survey/classification/methods/cotta.py official repository ran MIT (permissive) · f0cf18b3022925f3 · report
softmax_entropy_imagenet jo-wang/otta_vit_survey/classification/methods/cotta.py official repository ran MIT (permissive) · e2785d59d7e26ba2 · report
update_ema_variables jo-wang/otta_vit_survey/classification/methods/cotta.py official repository ran · our draft was wrong MIT (permissive) · a77d556c0aea19c1 · report
create_imagenet_subset jo-wang/otta_vit_survey/classification/datasets/imagenet_subsets.py official repository unverified MIT (permissive) · 2081ff5a04dad3e5 · report
get_domain_sequence jo-wang/otta_vit_survey/classification/conf.py official repository unverified MIT (permissive) · cfc577ab97377255 · report
setup_adacontrast_optimizer jo-wang/otta_vit_survey/classification/methods/adacontrast.py official repository unverified MIT (permissive) · d0fbac5950a2e4d7 · report

Tasks

BenchmarkingSurveyTest-time Adaptation

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDiffusionDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformerVision Transformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections