arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2401.17728cs.CV
收藏

COMET:面向在线无源通用域自适应的对比均值教师方法

COMET: Contrastive Mean Teacher for Online Source-Free Universal Domain Adaptation

Institute of Signal Processing and System Theory(信号处理与系统理论研究所);University of Stuttgart(斯图加特大学)

Pascal Schlachter, Bin Yang

AI总结:

本文提出对比均值教师方法 COMET,首次研究在线无源通用域自适应问题,通过对比损失与熵损失结合均值教师框架,在域偏移与类别偏移并存的开放世界中实现稳定且领先的在线自适应性能。

摘要:

在现实世界应用中,从训练数据到测试数据往往存在域偏移。这一观察推动了测试时自适应(TTA)的发展。TTA 旨在使预训练的源模型适配测试数据,而无需访问源数据。然而,现有大多数工作仅限于闭集假设,即源域和目标域之间不存在类别偏移。我们认为,在现实的开放世界环境中,除了域偏移之外,还可能出现类别偏移。这意味着,个别源类别可能不再出现在目标域中,新类别的样本可能成为目标域的一部分,甚至两者同时发生。此外,在许多实际场景中,测试数据并非一次性全部可得,而是以批次流的形式顺序到达,并要求立即给出预测。因此,TTA 必须以在线方式应用。据我们所知,这些方面的组合,即在线无源通用域自适应(online SF-UniDA),尚未被研究过。在本文中,我们提出了一种针对这一新场景量身定制的对比均值教师方法(COMET)。该方法应用对比损失来重建特征空间,使已知类别的样本形成清晰的簇,而新类别的样本能够与这些簇良好分离。同时辅以熵损失,确保分类器对已知类别样本的输出具有较小熵,而对新类别样本的输出具有较大熵,从而便于将其检测并拒绝为未知类别。为了给这些损失提供可靠的伪标签,它们被嵌入到均值教师(MT)框架中。我们在两个数据集和所有类别偏移设置上评估了我们的方法,为在线 SF-UniDA 建立了初始基准。结果表明,COMET 取得了最先进的性能,并在多种不同场景下表现出稳定性和鲁棒性。

英文摘要:

In real-world applications, there is often a domain shift from training to test data. This observation resulted in the development of test-time adaptation (TTA). It aims to adapt a pre-trained source model to the test data without requiring access to the source data. Thereby, most existing works are limited to the closed-set assumption, i.e. there is no category shift between source and target domain. We argue that in a realistic open-world setting a category shift can appear in addition to a domain shift. This means, individual source classes may not appear in the target domain anymore, samples of new classes may be part of the target domain or even both at the same time. Moreover, in many real-world scenarios the test data is not accessible all at once but arrives sequentially as a stream of batches demanding an immediate prediction. Hence, TTA must be applied in an online manner. To the best of our knowledge, the combination of these aspects, i.e. online source-free universal domain adaptation (online SF-UniDA), has not been studied yet. In this paper, we introduce a Contrastive Mean Teacher (COMET) tailored to this novel scenario. It applies a contrastive loss to rebuild a feature space where the samples of known classes build distinct clusters and the samples of new classes separate well from them. It is complemented by an entropy loss which ensures that the classifier output has a small entropy for samples of known classes and a large entropy for samples of new classes to be easily detected and rejected as unknown. To provide the losses with reliable pseudo labels, they are embedded into a mean teacher (MT) framework. We evaluate our method across two datasets and all category shifts to set an initial benchmark for online SF-UniDA. Thereby, COMET yields state-of-the-art performance and proves to be consistent and robust across a variety of different scenarios.

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

↑