On Pitfalls of Test-Time Adaptation
Hao Zhao, Yuejiang Liu, Alexandre Alahi, Tao Lin
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 https://github.com/lins-lab/ttab.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
36 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation cites Moment Matching for Multi-Source Domain Adaptation
- Protected Test-Time Adaptation via Online Entropy Matching: A Betting Approach cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Protected Test-Time Adaptation via Online Entropy Matching: A Betting Approach cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Adaptive Test-Time Personalization for Federated Learning cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
- Adaptive Test-Time Personalization for Federated Learning cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Entropy is not Enough for Test-Time Adaptation: From the Perspective of Disentangled Factors cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
- Entropy is not Enough for Test-Time Adaptation: From the Perspective of Disentangled Factors cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Entropy is not Enough for Test-Time Adaptation: From the Perspective of Disentangled Factors cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Persistent Test-time Adaptation in Recurring Testing Scenarios cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
- Persistent Test-time Adaptation in Recurring Testing Scenarios cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Persistent Test-time Adaptation in Recurring Testing Scenarios cites Moment Matching for Multi-Source Domain Adaptation
- Persistent Test-time Adaptation in Recurring Testing Scenarios cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Active Test-Time Adaptation: Theoretical Analyses and An Algorithm cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Active Test-Time Adaptation: Theoretical Analyses and An Algorithm cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Tent: Fully Test-Time Adaptation by Entropy Minimization cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
- WILDS: A Benchmark of in-the-Wild Distribution Shifts cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- WILDS: A Benchmark of in-the-Wild Distribution Shifts cites Moment Matching for Multi-Source Domain Adaptation
Cited by top-tier papers36
- Entropy is not Enough for Test-Time Adaptation: From the Perspective of Disentangled FactorsJonghyun Lee, Dahuin Jung, Saehyung Lee, Junsung Park et al.ICLR 2024 · 106 citations
- Adaptive Test-Time Personalization for Federated LearningWenxuan Bao, Tianxin Wei, Haohan Wang, Jingrui HeNeurIPS 2023 · 41 citations
- Protected Test-Time Adaptation via Online Entropy Matching: A Betting ApproachYarin Bar, Shalev Shaer, Yaniv RomanoNeurIPS 2024 · 27 citations
- Active Test-Time Adaptation: Theoretical Analyses and An AlgorithmShurui Gui, Xiner Li, Shuiwang JiICLR 2024 · 26 citations
- Persistent Test-time Adaptation in Recurring Testing ScenariosTrung-Hieu Hoang, MinhDuc Vo, Minh DoNeurIPS 2024 · 20 citations
Builds on31
- The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
- Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain AdaptationJian Liang, Dapeng Hu, Jiashi FengICML 2020 · 1,624 citations
Related papers
- Fully Test-time Adaptation for Tabular DataZhi Zhou, Kun-Yang Yu, Lan-Zhe Guo, Yufeng LiAAAI 2025 · 11 citations
- MEMO: Test Time Robustness via Adaptation and AugmentationMarvin Zhang, Sergey Levine, Chelsea FinnNeurIPS 2022 · 595 citations
- Uncovering Adversarial Risks of Test-Time AdaptationTong Wu, Feiran Jia, Xiangyu Qi, Jiachen T. Wang et al.ICML 2023 · 12 citations
- Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian AlignmentYoujia Zhang, Youngeun Kim, Young-Geun Choi, Hongyeob Kim et al.NeurIPS 2025 · 10 citations
- Robust Question Answering against Distribution Shifts with Test-Time Adaption: An Empirical StudyHai Ye, Yuyang Ding, Juntao Li, Hwee Tou NgEMNLP Findings 2022 · 4 citations
