Source-linked AI summary

When Test-Time Adaptation Helps, Harms, or Becomes Inactive: A Condition-Level Study on CIFAR-10-C

Sreeja Guha Majumdar, Aratrika Saha

arXiv:2608.22233v1cs.LGcs.CV

TL;DR

The paper asks when test-time adaptation helps, harms, or provides little benefit beyond aggregate accuracy. It compares BN-Adapt, TENT, and EATA with an unadapted source model across CIFAR-10-C and finds broad gains alongside systematic low-severity failures and method-specific behavior. The results support condition-level evaluation of TTA rather than relying solely on a single aggregate measure.

  • Problem

    Aggregate CIFAR-10-C accuracy can obscure whether adaptation helps, harms, or provides little benefit under individual corruption–severity conditions.

  • Method

    The study performs a controlled comparison of BN-Adapt, TENT, and a scoped EATA re-implementation against an unadapted source model on all 75 CIFAR-10-C conditions, with additional batch-size and long-stream protocols.

  • Results

    All three methods improve mean accuracy over the source model, with gains increasing sharply at higher corruption severity, while low-severity appearance corruptions produce a small set of failures.

  • Takeaways & Limitations

    Condition-level evaluation reveals systematic TTA failure modes, TENT-specific batch-size dependence, and no observed long-stream accuracy collapse at the tested stream length.

  • Takeaways & Limitations

    The findings are limited to one benchmark and one source model, while batch-size and long-stream results use only six representative corruptions.

Abstract

from arXiv · show

Test-time adaptation (TTA) aims to improve model robustness under distribution shift by adapting a source model using unlabeled test data. Although methods such as TENT and EATA have demonstrated gains on corrupted data, aggregate accuracy can obscure the conditions under which adaptation fails or provides little benefit. We present a controlled comparison of three TTA strategies---BatchNorm-statistics adaptation (BN-Adapt), entropy-minimization adaptation (TENT), and reliability-filtered adaptation (a scoped re-implementation of EATA)---against an unadapted source model on the full CIFAR-10-C benchmark, covering 15 corruption types and 5 severity levels. All three methods improve mean accuracy over the source model by 12.2--13.3 percentage points (Wilcoxon signed-rank $p < 10^{-12}$). However, each method underperforms the source model on 8.0--9.3\% of conditions, with failures concentrated in low-severity corruptions where the source model already performs near ceiling, particularly brightness, fog, contrast, and defocus blur. We further find that EATA closely tracks the gradient-free BN-Adapt baseline, with a mean absolute difference of 0.09 percentage points, compared with 1.08 percentage points relative to TENT. This suggests that reliability filtering can substantially restrict effective adaptation, causing EATA to behave more like a BatchNorm-statistics baseline than an entropy-minimization method. These results show that aggregate accuracy alone can mask systematic TTA failure modes and motivate condition-level evaluation of when adaptation helps, harms, or becomes effectively inactive.

1 Introduction

The paper argues that aggregate TTA accuracy can hide condition-specific benefits and failures. It therefore compares three adaptation strategies with an unadapted source model across CIFAR-10-C conditions, batch sizes, and continual streams.

  • Motivation: CIFAR-10-C aggregates 15 corruption types across five severity levels, but aggregate accuracy does not establish that adaptation helps every condition.The study emphasizes explicit condition-level comparisons against the unadapted source model.
  • Study design: The study compares BN-Adapt, TENT, and a scoped EATA re-implementation against an unadapted source model across 75 corruption–severity conditions.It examines both aggregate and individual-condition performance.
  • Findings: All three methods substantially improve mean accuracy over the source model, but each also produces conditions where accuracy falls below the source model.The benefit is therefore not uniform across the benchmark.
  • Findings: Failures concentrate among low-severity appearance-related corruptions where the source model is already highly accurate.This identifies a systematic condition-level failure pattern masked by averages.
  • Evaluation scope: TTA behavior also varies with batch size and continual adaptation, motivating evaluation of when adaptation helps, harms, or becomes effectively inactive.The paper reports non-monotonic TENT batch-size behavior and no observed accuracy collapse in the tested stream.

2 Related Work

Related work spans online entropy minimization, batch-normalization-statistics adaptation, reliability-filtered updates, continual-stream stability, and alternative adaptation settings. The paper uses these distinctions to motivate a condition-level comparison of TTA behavior.

  • Entropy minimization: TENT adapts incoming batches by minimizing prediction entropy while updating restricted batch-normalization-associated parameters.It is presented as a lightweight online, per-batch adaptation approach without target labels.
  • Batch-statistics adaptation: Batch-normalization adaptation provides a gradient-free reference point for evaluating entropy-based adaptation under covariate shift and common corruptions.These methods adapt through batch-normalization statistics rather than entropy-minimization updates.
  • Reliability filtering: EATA filters reliable and non-redundant samples and adds anti-forgetting regularization, unlike TENT’s use of incoming adaptation batches.The paper specifically examines whether this filtering changes EATA’s effective behavior.
  • Continual adaptation: CoTTA and SAR address stability over changing test streams through restoration, averaging, filtering, or sharpness-aware updates.They represent related work targeting error accumulation and catastrophic forgetting over longer horizons.
  • Alternative settings: SHOT and T3A illustrate alternative settings, including offline dataset-level adaptation and prototype adjustment without changing feature-extractor or classifier weights.These approaches differ from the online entropy-minimization and batch-normalization focus studied here.
  • Positioning: The paper uses CIFAR-10-C’s structured corruption–severity grid to report condition-level performance, batch-size sensitivity, and continual-stream stability.This perspective complements aggregate robustness evaluation by identifying consistent, ineffective, or harmful adaptation behavior.

3 Method

The method section defines fully test-time adaptation as sequentially updating selected model parameters from unlabeled test batches. The controlled study compares fixed-source, BN-statistics, entropy-minimization, and reliability-filtered procedures under the same setting.

  • Problem formulation: Fully test-time adaptation updates selected pretrained-model parameters using predictions and statistics from incoming unlabeled test batches.Target labels are available only for evaluation, not adaptation.
  • Source baseline: The unadapted source model keeps its parameters fixed and supplies the reference performance for measuring adaptation gains and failures.Adapted methods are compared against this fixed baseline.
  • Sequential updates: Adaptation methods update model state sequentially as test batches arrive, with no target labels supplied to the adaptation procedure.The update operator represents the method-specific adaptation procedure.
  • Comparison protocol: The controlled protocol instantiates BN-Adapt, TENT, and EATA under the same target batches, architecture, and corruption conditions.The paper does not introduce a new adaptation objective or algorithm.
  • BN-Adapt: BN-Adapt re-estimates batch-normalization statistics from each test batch without gradient-based parameter updates.Learned network parameters remain unchanged.
  • TENT: TENT re-estimates batch-normalization statistics and updates channel-wise affine parameters by minimizing mean prediction entropy.Its objective is applied once for each incoming batch.
  • EATA: EATA extends entropy minimization with reliability and redundancy filtering plus an anti-forgetting regularizer.The experiments use a scoped re-implementation following TENT’s overall adaptation setting.

4 Experiments

Experiments evaluate four model conditions on the full CIFAR-10-C corruption–severity grid and report aggregate, harm-rate, severity-stratified, category-level, batch-size, and long-stream behavior. The protocols are designed to expose both average gains and condition-specific differences.

  • Dataset and protocol: CIFAR-10-C supplies 15 corruption types at five severity levels, forming a 75-condition grid with 10,000 images per condition.The source model and all three adaptation methods are evaluated for each condition.
  • Metrics: The evaluation reports mean accuracy, harm rate, severity-stratified Δaccuracy, and corruption-category Δaccuracy for the source model, BN-Adapt, TENT, and EATA.Harm rate measures conditions where adaptation falls below same-condition source accuracy.
  • Implementation: The source model is a standard WideResNet-28-10 checkpoint, while TENT and EATA update only channel-wise batch-normalization affine parameters using one Adam step per incoming batch.All methods use current-batch normalization statistics, and adapted parameters persist within each condition.
  • Table 1: Table 1 averages classification accuracy by severity across all 15 corruption types, covering 75 conditions and 10,000 images per condition.The table is the aggregate severity-level view used alongside condition-level analyses.
  • Implementation: EATA discards high-entropy or redundant samples and applies an anti-forgetting regularizer anchored at source batch-normalization parameters.The reported settings include emargin = 0.4 ln C, dmargin = 0.05, and λfisher = 2000.
  • Additional protocols: The supplementary protocols test batch sizes 32, 128, and 512 at severities 3 and 5, plus 256 consecutive batches from six severity-5 corruptions.These protocols assess sensitivity to batch size and stability without state reset.

5 Results

Across CIFAR-10-C, adaptation improves accuracy most as corruption severity increases, but condition-level analysis reveals concentrated low-severity failures and distinct method behavior. BN-Adapt and EATA are more batch-size-consistent than TENT, while none of the methods shows accuracy collapse in the tested continual stream.

  • Overall Accuracy Across Severities: 3.97 percentage points at severity 1 grows to 24.93 points at severity 5 for TENT over source.Mean accuracy rises from 86.90% to 90.87% at severity 1 and from 56.49% to 81.42% at severity 5.
  • Statistical Robustness of the Gains: p < 10^-12 for all three methods confirms significant improvement over source across 75 conditions.The paired Wilcoxon signed-rank test compares each method’s per-condition accuracy with the source model.
  • Corruption-Category Variation: +26 to +28 pp on noise exceeds gains on blur, digital, and weather corruptions.Category-level gains are +14 to +15 pp for blur, +7 to +8 pp for digital, and +5 pp for weather corruptions.
  • Per-Condition Failure Analysis: 6 to 7 of 75 conditions harm each method, concentrated in low-severity brightness, fog, contrast, and defocus blur.These are conditions where the source model is already at or above 90% accuracy.
  • Per-Condition Failure Analysis: −1.14 pp is TENT’s largest cited low-severity loss, compared with −0.79 pp for BN-Adapt and −0.89 pp for EATA at brightness severity 1.The additional entropy-minimization update gives TENT more opportunity to change predictions on batches that did not need correcting.
  • Worst-Case Robustness: 39.88 points is TENT’s recovery on impulse noise at severity 5, raising accuracy from the source model’s 27.08% to 66.96%.BN-Adapt reaches 63.73% (+36.65 pp), while EATA reaches 63.96% (+36.88 pp).
  • Batch-Size Sensitivity: TENT peaks at batch size 128 and dips at 512, while BN-Adapt and EATA rise monotonically.The observed batch-size pattern is consistent with a trade-off between statistic quality and the number of entropy-minimization updates, but the mechanism is not confirmed.
  • Stability Under Continual, Long-Stream Adaptation: No method shows sustained downward drift or accuracy collapse over the tested 256-batch continual adaptation stream.Repeated Gaussian-noise and motion-blur occurrences remain stable, with TENT improving modestly on both second occurrences.

6 Discussion

The discussion argues that TENT’s gradient-based entropy minimization delivers the strongest benefits in severe corruptions but can cause small harms where the source model is already accurate. Batch-size behavior and continual-stream results further distinguish the methods’ practical stability.

  • TENT delivers the largest average benefit, especially on noisiest, highest-severity, worst-case conditions.Its additional gradient-based update can also cause slightly more harm than BN-Adapt on some low-severity appearance-only corruptions.
  • When predictions are already accurate and confident, further entropy sharpening has little room to help and can overshoot.Batch-normalization re-estimation is closer to a no-op in this regime and is correspondingly safer.
  • TENT is the only method whose accuracy is non-monotonic with test batch size, whereas BN-Adapt and EATA improve monotonically.This matters because batch size is often determined by memory or latency constraints rather than accuracy optimization.
  • None of the methods shows a persistent downward trend across the 256-batch continual adaptation stream without state reset.Accuracy swings follow corruption-block boundaries rather than sustained drift.
  • The findings suggest that uniformly applied entropy minimization treats batches as equally worth adapting despite systematic differences across corruption type, severity, and sample composition.The paper raises reliability-based modulation as a future question but does not propose or evaluate an alternative algorithm.

7 Limitations •

The study’s evidence is bounded by its use of one benchmark and source model, partial protocols, and untested generalization beyond the evaluated settings.

  • All results use a single benchmark, CIFAR-10-C, and a single source model.The study does not report CIFAR-100-C or ImageNet-C results.
  • Generalization of the specific failure conditions to other architectures or datasets remains untested.The reported conclusions therefore apply directly only to the evaluated benchmark and model setting.
  • The batch-size and long-stream protocols cover six representative corruptions rather than all 15, limiting the breadth of those findings.The subset was selected for computational cost.
  • The batch-size monotonicity result should be checked against the remaining corruption types before being treated as general.
  • The long-stream protocol tests 256 batches at severity 5, not longer, mixed-severity, or abruptly switching streams.

8 Conclusion

The paper evaluates TENT, BN-Adapt, and EATA beyond aggregate accuracy on CIFAR-10-C. It finds systematic low-severity harms, TENT-specific batch-size dependence, and no observed long-stream collapse at the tested length.

  • The study reproduces TENT, BN-Adapt, and EATA under a common CIFAR-10-C protocol and examines condition-level behavior.
  • Every method studied can underperform the source model on a small set of low-severity appearance corruptions.TENT shows the greatest harm in these conditions.
  • TENT exhibits batch-size dependence specific to its gradient-based update.
  • None of the methods shows evidence of long-stream accuracy collapse at the tested stream length.
Loading 2608.22233v1…