SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.20199 · 2023

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

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 17 functions out of this paper's own repositories and ran 14 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
jo-wang/otta_vit_survey canonical 14 of 17
FunctionStatusWhere it lives
autocontrast Ran jo-wang/otta_vit_survey/classification/augmentations/transforms_memo_imagenet.py
code served (permissive licence) · get_code("3ee3bf864db8867f")
complete_data_dir_path Ran jo-wang/otta_vit_survey/classification/conf.py
code served (permissive licence) · get_code("7fb0442e54fa76f5")
create_file_list Ran jo-wang/otta_vit_survey/classification/datasets/imagenet_subsets.py
code served (permissive licence) · get_code("ae33aa95d68dffd6")
equalize Ran jo-wang/otta_vit_survey/classification/augmentations/transforms_memo_imagenet.py
code served (permissive licence) · get_code("ca3e2158c52023d8")
get_mem_space Ran jo-wang/otta_vit_survey/classification/gpu_mem_track.py
code served (permissive licence) · get_code("a01911ff65691be7")
get_num_classes Ran jo-wang/otta_vit_survey/classification/conf.py
code served (permissive licence) · get_code("772f46396ecd553a")
read_order Ran jo-wang/otta_vit_survey/classification/continual_test_time.py
code served (permissive licence) · get_code("a89e83a278846542")
refine_predictions Ran jo-wang/otta_vit_survey/classification/methods/adacontrast.py
code served (permissive licence) · get_code("6c5a8d4a69a975c2")
rotate Ran jo-wang/otta_vit_survey/classification/augmentations/transforms_memo_imagenet.py
code served (permissive licence) · get_code("344ae735e72e78f3")
soft_k_nearest_neighbors Ran jo-wang/otta_vit_survey/classification/methods/adacontrast.py
code served (permissive licence) · get_code("110b394c4d611e0b")
softmax_entropy Ran jo-wang/otta_vit_survey/classification/methods/conjugatePL.py
code served (permissive licence) · get_code("3078648c75e3e1e3")
softmax_entropy_cifar Ran jo-wang/otta_vit_survey/classification/methods/cotta.py
code served (permissive licence) · get_code("f0cf18b3022925f3")
softmax_entropy_imagenet Ran jo-wang/otta_vit_survey/classification/methods/cotta.py
code served (permissive licence) · get_code("e2785d59d7e26ba2")
update_ema_variables Ran jo-wang/otta_vit_survey/classification/methods/cotta.py
code served (permissive licence) · get_code("a77d556c0aea19c1")
create_imagenet_subset Not yet run jo-wang/otta_vit_survey/classification/datasets/imagenet_subsets.py
code served (permissive licence) · get_code("2081ff5a04dad3e5")
get_domain_sequence Not yet run jo-wang/otta_vit_survey/classification/conf.py
code served (permissive licence) · get_code("cfc577ab97377255")
setup_adacontrast_optimizer Not yet run jo-wang/otta_vit_survey/classification/methods/adacontrast.py
code served (permissive licence) · get_code("d0fbac5950a2e4d7")

Repositories linked to this paper

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

Abstract

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.

For agents

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

get_harvested_code_for_paper("2310.20199")
get_code_for_paper("2310.20199")
have("2310.20199")

Connect an agent — have() is free.