arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.03536cs.LGcs.AI
收藏

论测试时适应的陷阱

On Pitfalls of Test-Time Adaptation

École Polytechnique Fédérale de Lausanne (EPFL)(洛桑联邦理工学院);Westlake University(西湖大学)

Hao Zhao, Yuejiang Liu, Alexandre Alahi, Tao Lin

AI总结:

本文提出涵盖十种算法、多种分布偏移和两种协议的 TTA 基准 TTAB,系统揭示现有测试时适应方法在超参数选择、模型依赖和偏移通用性上的三类陷阱。

摘要:

测试时适应(Test-Time Adaptation,TTA)近来已成为应对分布偏移下鲁棒性挑战的一种有前景的方法。然而,以往文献缺乏一致的设置和系统性研究,阻碍了对现有方法的全面评估。为解决这一问题,我们提出了 TTAB,这是一个测试时适应基准,涵盖十种最先进算法、多种多样的分布偏移以及两种评估协议。通过大量实验,我们的基准揭示了以往工作中的三个常见陷阱。第一,由于在线批次依赖性,选择合适的超参数(尤其是用于模型选择的超参数)极其困难。第二,TTA 的有效性会因被适应模型的质量和属性而产生很大差异。第三,即使在最佳算法条件下,现有方法也无一能够应对所有常见类型的分布偏移。我们的发现强调,未来该领域的研究需要在更广泛的模型和偏移集合上进行严格评估,并重新审视 TTA 经验成功背后的假设。我们的代码可在 https://github.com/lins-lab/ttab 获取。

英文摘要:

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}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑