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

CAFA:用于测试时适应的类感知特征对齐

CAFA: Class-Aware Feature Alignment for Test-Time Adaptation

University of Washington(华盛顿大学);KAIST AI(韩国科学技术院人工智能学院);Enssel Inc.(Enssel公司)

Sanghun Jung, Jungsoo Lee, Nanhee Kim, Amirreza Shaban, Byron Boots, Jaegul Choo

AI总结:

针对测试时适应中无法以类判别方式学习目标表示的问题,提出类感知特征对齐损失CAFA,无需超参数,在6个数据集上持续优于现有基线。

摘要:

尽管深度学习近期取得了进展,但当深度神经网络应用于与训练数据不同的新数据时,其性能仍会持续下降。测试时适应(TTA)旨在通过在测试时使模型适应未标记数据来解决这一挑战。TTA可应用于预训练网络,无需修改其训练过程,从而能够利用良好的源分布进行适应。一种可能的方法是将测试样本的表示空间与源分布对齐(即特征对齐)。然而,在TTA中执行特征对齐尤其具有挑战性,因为在适应过程中无法访问带标签的源数据。也就是说,模型没有机会以类判别的方式学习测试数据,而这在其他适应任务(如无监督域适应)中通过源数据上的监督损失是可行的。基于这一观察,我们提出了一种简单而有效的特征对齐损失,称为类感知特征对齐(CAFA),它同时能够1)鼓励模型以类判别的方式学习目标表示,2)有效缓解测试时的分布偏移。我们的方法不需要任何超参数或额外损失,而先前的方法则需要这些。我们在6个不同的数据集上进行了大量实验,结果表明我们提出的方法始终优于现有基线。

英文摘要:

Despite recent advancements in deep learning, deep neural networks continue to suffer from performance degradation when applied to new data that differs from training data. Test-time adaptation (TTA) aims to address this challenge by adapting a model to unlabeled data at test time. TTA can be applied to pretrained networks without modifying their training procedures, enabling them to utilize a well-formed source distribution for adaptation. One possible approach is to align the representation space of test samples to the source distribution (\textit{i.e.,} feature alignment). However, performing feature alignment in TTA is especially challenging in that access to labeled source data is restricted during adaptation. That is, a model does not have a chance to learn test data in a class-discriminative manner, which was feasible in other adaptation tasks (\textit{e.g.,} unsupervised domain adaptation) via supervised losses on the source data. Based on this observation, we propose a simple yet effective feature alignment loss, termed as Class-Aware Feature Alignment (CAFA), which simultaneously 1) encourages a model to learn target representations in a class-discriminative manner and 2) effectively mitigates the distribution shifts at test time. Our method does not require any hyper-parameters or additional losses, which are required in previous approaches. We conduct extensive experiments on 6 different datasets and show our proposed method consistently outperforms existing baselines.

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

↑