AETTA: Label-Free Accuracy Estimation for Test-Time Adaptation

Taeckyung Lee, Sorn Chottananurak, Taesik Gong, Sung-Ju Lee

Introduction

Deep learning models often encounter performance degradation when deployed in environments that differ from their training data—a phenomenon known as domain shift. Test-Time Adaptation (TTA) has emerged as a promising solution, allowing models to update their parameters on-the-fly using unlabeled test streams. However, TTA is inherently "blind"; without ground-truth labels, a model may adapt incorrectly, leading to a "collapse" where it makes high-confidence but incorrect predictions.

Problem Statement: The Blindness of Adaptation

The primary vulnerability of TTA methods, such as TENT or EATA, is adaptation failure. These methods update model parameters based on unlabeled data, which can lead to overfitting on noise or specific corruptions. In such scenarios, the model's internal confidence becomes decoupled from its actual accuracy. Existing accuracy estimation techniques typically require labeled validation sets or multiple pre-trained models, which are often unavailable in real-world edge deployments. The challenge lies in measuring model accuracy without access to ground-truth labels or source data.

Methodology: Accuracy Estimation for TTA (AETTA)

Researchers from KAIST and Nokia Bell Labs propose AETTA, a label-free and source-free method to estimate accuracy in real-time. AETTA relies on two key components:

  1. Prediction Disagreement with Dropout (PDD): Instead of an ensemble of models, AETTA utilizes a single adapted model. By performing multiple inferences on the same input with dropout enabled, it creates a "virtual ensemble." High agreement among these dropout-shuffled inferences indicates a stable and likely accurate model, while high disagreement signals internal representation instability and potential failure.
  2. Robust Disagreement Equality: TTA-failing models are often overconfident and produce skewed output distributions (e.g., predicting a single class for an entire batch). AETTA introduces a weighting mechanism based on the entropy of batch predictions. When entropy drops—indicating a skewed distribution—the accuracy estimate is penalized to account for this "hallucinated" confidence.
Overview of the AETTA framework showing Prediction Disagreement with Dropout (PDD) and resulting accuracy estimation curves.

Experimental Evaluation

AETTA was evaluated on standard TTA benchmarks, including CIFAR10-C, CIFAR100-C, and ImageNet-C/R, using architectures like ResNet18 and ResNet50. The method was tested across various underlying TTA algorithms, including TENT, EATA, SAR, and CoTTA.

Key Results

AETTA demonstrates significant improvements over traditional baselines such as Softmax confidence and Generalization Disagreement Equality (GDE). Across various benchmarks, AETTA achieved a Mean Absolute Error (MAE) that was 19.8 percentage points lower than existing methods.

Comparison of AETTA's accuracy estimation (red dashed line) against ground truth (black line) and other baselines across CIFAR10-C, CIFAR100-C, and ImageNet-C.

Furthermore, the researchers demonstrated a "Model Recovery" use case. By using AETTA's accuracy estimate as a control signal to trigger a model reset to source weights upon detecting a collapse, they achieved an 11.7 percentage point improvement in actual classification accuracy compared to standard TTA.

Discussion and Conclusion

AETTA provides a practical, low-overhead solution for monitoring TTA models in the wild. By repurposing dropout as a diversity mechanism and using batch skewness as a proxy for model health, it enables reliable accuracy estimation without labels. While the computational cost of multiple dropout inferences is a consideration for extremely resource-constrained devices, the ability to prevent model collapse makes AETTA a vital tool for robust real-world deployment. Future work may explore more sophisticated model restoration techniques and theoretical refinements to the robust equality estimation.

Summary updated

BibTeX
@inproceedings{lee2024aetta,
  author = {Taeckyung Lee and Sorn Chottananurak and Taesik Gong and Sung-Ju Lee},
  title = {{AETTA: Label-Free Accuracy Estimation for Test-Time Adaptation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure