On Pitfalls of Test-Time Adaptation

Hao Zhao, Yuejiang Liu, Alexandre Alahi, Tao Lin
6/6/2023
cs.LGcs.AI

Official code: LINs-lab/ttab (126 stars, Apache-2.0, last commit 2024-04-06).

Abstract

Test-Time Adaptation (TTA) has recently emerged as a promising approach for tackling the robustness challenge under distribution shifts. However, the lack of consistent settings and systematic studies in prior literature hinders thorough assessments of existing methods. To address this issue, we present TTAB, a test-time adaptation benchmark that encompasses ten state-of-the-art algorithms, a diverse array of distribution shifts, and two evaluation protocols. Through extensive experiments, our benchmark reveals three common pitfalls in prior efforts. First, selecting appropriate hyper-parameters, especially for model selection, is exceedingly difficult due to online batch dependency. Second, the effectiveness of TTA varies greatly depending on the quality and properties of the model being adapted. Third, even under optimal algorithmic conditions, none of the existing methods are capable of addressing all common types of distribution shifts. Our findings underscore the need for future research in the field to conduct rigorous evaluations on a broader set of models and shifts, and to re-examine the assumptions behind the empirical success of TTA. Our code is available at \url{https://github.com/lins-lab/ttab}.

View on arXivView PDF

Code Implementations(1)

LINs-lab/ttabOfficial100%
Apache-2.0

[ICML 2023] On Pitfalls of Test-Time Adaptation

12610Python, Jupyter NotebookApr 23, 20232 years agoApache-2.0
source-free-domain-adaptationtest-time-adaptation

Similar Papers

Cite this paper

@article{zhao2023pitfalls,
  title  = {On Pitfalls of Test-Time Adaptation},
  author = {Hao Zhao and Yuejiang Liu and Alexandre Alahi and Tao Lin},
  year   = {2023},
  eprint = {2306.03536},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.03536v1},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.03536.svg)](https://codeofpaper.com/paper/2306.03536)

Discussion