atlas

Research map / Label-efficient and robust learning / Test-time adaptation

Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-Line

NeurIPS 2024 · Label-efficient and robust learning › Test-time adaptation · approach: Realistic and stable test-time adaptation · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that test-time adaptation (TTA) strengthens accuracy-on-the-line and agreement-on-the-line trends under distribution shifts where they are otherwise weak, explains this by TTA reducing shifts to feature-space scaling, and uses ALine with TTA for OOD accuracy estimation and hyperparameter/method selection without OOD labels.

Problem

Accuracy-on-the-line and agreement-on-the-line break under some distribution shifts (e.g., CIFAR10-C Gaussian Noise, Camelyon17-WILDS), so ID metrics cannot reliably predict OOD performance and OOD model selection is unreliable.

Approach

Test-time adaptation, although designed to improve OOD accuracy, makes the penultimate-layer feature distribution shift collapse to a scalar scaling of class means and covariances (cosine similarity near 1), which satisfies the Gaussian-linear conditions for accuracy-on-the-line; this restores strong ID-OOD linear trends that ALine can exploit for label-free OOD accuracy estimation and TTA hyperpa

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply TENT at test timeVanilla models · Camelyon17-WILDSagreement R^2: 0.15→0.97Helped
apply TENT at test timeVanilla models · Camelyon17-WILDSaccuracy R^2: 0.33→0.97Helped
apply TENT before ALine-DOOD accuracy estimation · CIFAR10-C Gaussian NoiseMAE (%): 10.76% → 2.34%Helped
apply ETA before ALine-DOOD accuracy estimation · Camelyon17-WILDSMAE (%): 12.88% → 1.42%Helped
apply TENT before ALine-DOOD accuracy estimation · iWildCAM-WILDSMAE (%): 2.82 → 2.96Hurt
apply TTA to modelsVanilla models · CIFAR10-C Gaussian Noise and Camelyon17-WILDSOOD accuracy estimation MAE (%): 10.76% → 2.34%; 12.88% → 1.42%Helped
select TENT hyperparameters by ID accuracyTENT · Camelyon17-WILDSmodel selection MAE (%): 0.62%Helped
replace BatchNorm with LayerNorm (ablation)Vanilla models · CIFAR10 vs. CIFAR10-C Gaussian Noiseaccuracy R^2: 0.18 → 0.56Helped
replace BatchNorm with LayerNorm (ablation)Vanilla models · CIFAR10 vs. CIFAR10-C Gaussian Noiseagreement R^2: 0.39 → 0.86Helped
remove normalization layers (ablation)Vanilla models · CIFAR10 vs. CIFAR10-C Gaussian Noiseaccuracy R^2: 0.18 → 0.29Helped
remove normalization layers (ablation)Vanilla models · CIFAR10 vs. CIFAR10-C Gaussian Noiseagreement R^2: 0.39 → 0.71Helped
adapt only the final linear classifier instead of modifying the feature extractor (ablation)T3A · CIFAR10 vs. CIFAR10-C Gaussian Noiseaccuracy R^2: 0.99 → 0.80Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 CIFAR100 ImageNet CIFAR10-C CIFAR100-C ImageNet-C CIFAR10.1 ImageNetV2 ImageNet-R Camelyon17-WILDS iWildCAM-WILDS FMoW-WILDS

Benchmarks: CIFAR10-C CIFAR100-C ImageNet-C CIFAR10.1 ImageNetV2 ImageNet-R Camelyon17-WILDS iWildCAM-WILDS FMoW-WILDS

Metrics: R^2 (correlation coefficient) MAE (%) of OOD accuracy estimate cosine similarity of class means and covariances classification error

Baselines: Vanilla ATC DOC-feat average confidence agreement MixVal ENT IM Corr-C SND T3A

Builds on: accuracy-on-the-line agreement-on-the-line ALine TENT BN_Adapt

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy