arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2201.05718cs.CV
收藏

无参数在线测试时自适应

Parameter-free Online Test-time Adaptation

ÉTS Montreal(蒙特利尔高等技术学院);FiveAI(FiveAI公司)

Malik Boudiaf, Romain Mueller, Ismail Ben Ayed, Luca Bertinetto

摘要:

训练最先进的视觉模型对于研究人员和从业者来说已经变得过于昂贵。为了可访问性和资源重用,重点关注使这些模型适应各种下游场景是很重要的。在线测试时自适应是一个有趣而实用的范例,根据该范例,训练数据是不可访问的,没有来自测试分布的标记数据是可用的,并且自适应只能在测试时和少数样本上发生。在本文中,我们研究了测试时自适应方法如何在各种真实场景中对一些预先训练的模型进行处理,从而显著扩展了它们最初的评估方式。我们表明,他们表现良好,只有在狭义的实验设置,有时失败的灾难性时,他们的超参数没有选择相同的情况下,他们正在测试。激励周围的条件,最终将在测试时遇到的固有的不确定性,我们提出了一个特别的“保守”的方法,它解决了问题的拉普拉斯调整最大似然估计(LAME)的目标。通过调整模型的输出(而不是它的参数),并使用有效的凹凸过程来解决我们的目标,我们的方法在各种场景中表现出比现有方法高得多的平均准确度,同时速度明显更快,内存占用更低。该代码可在https://github.com/fiveai/LAME上获得。

英文摘要:

Training state-of-the-art vision models has become prohibitively expensive for researchers and practitioners. For the sake of accessibility and resource reuse, it is important to focus on adapting these models to a variety of downstream scenarios. An interesting and practical paradigm is online test-time adaptation, according to which training data is inaccessible, no labelled data from the test distribution is available, and adaptation can only happen at test time and on a handful of samples. In this paper, we investigate how test-time adaptation methods fare for a number of pre-trained models on a variety of real-world scenarios, significantly extending the way they have been originally evaluated. We show that they perform well only in narrowly-defined experimental setups and sometimes fail catastrophically when their hyperparameters are not selected for the same scenario in which they are being tested. Motivated by the inherent uncertainty around the conditions that will ultimately be encountered at test time, we propose a particularly "conservative" approach, which addresses the problem with a Laplacian Adjusted Maximum-likelihood Estimation (LAME) objective. By adapting the model's output (not its parameters), and solving our objective with an efficient concave-convex procedure, our approach exhibits a much higher average accuracy across scenarios than existing methods, while being notably faster and have a much lower memory footprint. The code is available at https://github.com/fiveai/LAME.

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

↑