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

测试时自适应算法的现实评估:无监督超参数选择

Realistic Evaluation of Test-Time Adaptation Algorithms: Unsupervised Hyperparameter Selection

IDEAS NCBR;Warsaw University of Technology(华沙理工大学);Tooploox;CVC Barcelona(巴塞罗那计算机视觉中心)

Sebastian Cygert, Damian Sójka, Tomasz Trzciński, Bartłomiej Twardowski

AI总结:

本文通过无监督超参数选择策略对测试时自适应算法进行现实评估,发现部分最新方法性能不佳,遗忘问题仍存,并强调需更严格的基准测试,开源代码以促进研究。

摘要:

测试时自适应(TTA)最近作为一种有前景的策略出现,用于解决机器学习模型在分布偏移下的鲁棒性问题,其方法是在推理过程中无需任何标签即可调整模型。由于任务难度,超参数强烈影响自适应的有效性。然而,文献中对最优超参数选择的探索甚少。在这项工作中,我们通过使用基于代理的超参数选择策略(不假设访问测试标签)来评估现有的TTA方法,从而解决这一问题,以获得对其性能的更现实评估。我们表明,在使用我们更现实的评估设置时,一些最新的最先进方法表现出比先前算法更差的性能。此外,我们表明遗忘仍然是TTA中的一个问题,因为唯一对超参数选择稳健的方法是在每一步将模型重置为初始状态。我们分析了不同类型的无监督选择策略,虽然它们在大多数情况下表现合理,但唯一持续表现良好的策略使用了某种形式的监督(要么通过有限数量的标注测试样本,要么通过使用预训练数据)。我们的发现强调了需要通过明确说明模型选择策略来进行更严格基准测试的进一步研究的必要性,为此我们开源了我们的代码。

英文摘要:

Test-Time Adaptation (TTA) has recently emerged as a promising strategy for tackling the problem of machine learning model robustness under distribution shifts by adapting the model during inference without access to any labels. Because of task difficulty, hyperparameters strongly influence the effectiveness of adaptation. However, the literature has provided little exploration into optimal hyperparameter selection. In this work, we tackle this problem by evaluating existing TTA methods using surrogate-based hp-selection strategies (which do not assume access to the test labels) to obtain a more realistic evaluation of their performance. We show that some of the recent state-of-the-art methods exhibit inferior performance compared to the previous algorithms when using our more realistic evaluation setup. Further, we show that forgetting is still a problem in TTA as the only method that is robust to hp-selection resets the model to the initial state at every step. We analyze different types of unsupervised selection strategies, and while they work reasonably well in most scenarios, the only strategies that work consistently well use some kind of supervision (either by a limited number of annotated test samples or by using pretraining data). Our findings underscore the need for further research with more rigorous benchmarking by explicitly stating model selection strategies, to facilitate which we open-source our code.

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

↑