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

面向领域泛化的改进测试时自适应方法

Improved Test-Time Adaptation for Domain Generalization

The University of Adelaide(阿德莱德大学);Tencent AI Lab(腾讯人工智能实验室);Fudan University(复旦大学)

Liang Chen, Yong Zhang, Yibing Song, Ying Shan, Lingqiao Liu

AI总结:

本文提出改进的测试时自适应方法ITTA,通过可学习一致性损失和仅更新额外自适应参数,解决测试时训练中辅助任务与参数选择不当损害模型的问题,在多个领域泛化基准上取得领先性能。

摘要:

领域泛化(DG)面临的主要挑战是处理训练数据与测试数据之间的分布偏移问题。近期研究表明,利用测试数据对已学习模型进行自适应的测试时训练(TTT)可能是解决该问题的一种有前景的方案。通常,TTT策略的性能取决于两个主要因素:选择合适的辅助TTT任务进行更新,以及在测试阶段确定可靠的待更新参数。已有研究以及我们的实验均表明,如果未能妥善考虑这两个因素,TTT不仅无法提升已学习模型,反而可能对其造成损害。本文通过提出一种改进的测试时自适应(ITTA)方法来应对这两个因素。首先,我们没有启发式地定义辅助目标,而是为TTT任务提出了一种可学习的一致性损失,其中包含可学习参数,这些参数可以被调整以促进TTT任务与主预测任务之间更好的对齐。其次,我们为已训练模型引入了额外的自适应参数,并建议在测试阶段仅更新这些自适应参数。通过大量实验,我们表明所提出的两种策略对已学习模型是有益的(见图1),并且ITTA在多个DG基准上能够取得优于当前最先进方法的性能。代码可在 https://github.com/liangchen527/ITTA 获取。

英文摘要:

The main challenge in domain generalization (DG) is to handle the distribution shift problem that lies between the training and test data. Recent studies suggest that test-time training (TTT), which adapts the learned model with test data, might be a promising solution to the problem. Generally, a TTT strategy hinges its performance on two main factors: selecting an appropriate auxiliary TTT task for updating and identifying reliable parameters to update during the test phase. Both previous arts and our experiments indicate that TTT may not improve but be detrimental to the learned model if those two factors are not properly considered. This work addresses those two factors by proposing an Improved Test-Time Adaptation (ITTA) method. First, instead of heuristically defining an auxiliary objective, we propose a learnable consistency loss for the TTT task, which contains learnable parameters that can be adjusted toward better alignment between our TTT task and the main prediction task. Second, we introduce additional adaptive parameters for the trained model, and we suggest only updating the adaptive parameters during the test phase. Through extensive experiments, we show that the proposed two strategies are beneficial for the learned model (see Figure 1), and ITTA could achieve superior performance to the current state-of-the-art methods on several DG benchmarks. Code is available at https://github.com/liangchen527/ITTA.

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

↑