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

CDTrans:用于无监督领域自适应的跨领域Transformer

CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptation

Alibaba Group(阿里巴巴集团);Shandong University(山东大学)

Tongkun Xu, Weihua Chen, Pichao Wang, Fan Wang, Hao Li, Rong Jin

摘要:

无监督领域自适应(UDA)旨在将从标记的源领域学习到的知识转移到不同的未标记的目标领域。大多数现有的UDA方法专注于使用基于卷积神经网络(CNN)的框架从域级别或类别级别学习域不变特征表示。基于类别级别的UDA的一个基本问题是为目标域中的样本产生伪标签,这些伪标签通常对于精确的域对齐来说太嘈杂,不可避免地损害UDA性能。随着Transformer在各种任务中的成功,我们发现Transformer中的交叉注意对于噪声输入对具有更好的特征对齐是鲁棒的,因此本文采用Transformer来进行具有挑战性的UDA任务。具体来说,为了生成准确的输入对,我们设计了一个双向中心感知标记算法来为目标样本生成伪标签。与伪标签一起,提出了一个权重共享的三分支Transformer框架,分别将自注意力和交叉注意力应用于源/目标特征学习和源-目标域对齐。这样的设计明确地强制框架同时学习区分特定领域和领域不变的表示。所提出的方法被称为CDTrans(跨域Transformer),它提供了第一次尝试解决UDA任务与纯Transformer解决方案。实验表明,我们提出的方法在公共UDA数据集上实现了最佳性能,例如VisDA-2017和DomainNet。代码和型号可在https://github.com/CDTrans/CDTrans上获得。

英文摘要:

Unsupervised domain adaptation (UDA) aims to transfer knowledge learned from a labeled source domain to a different unlabeled target domain. Most existing UDA methods focus on learning domain-invariant feature representation, either from the domain level or category level, using convolution neural networks (CNNs)-based frameworks. One fundamental problem for the category level based UDA is the production of pseudo labels for samples in target domain, which are usually too noisy for accurate domain alignment, inevitably compromising the UDA performance. With the success of Transformer in various tasks, we find that the cross-attention in Transformer is robust to the noisy input pairs for better feature alignment, thus in this paper Transformer is adopted for the challenging UDA task. Specifically, to generate accurate input pairs, we design a two-way center-aware labeling algorithm to produce pseudo labels for target samples. Along with the pseudo labels, a weight-sharing triple-branch transformer framework is proposed to apply self-attention and cross-attention for source/target feature learning and source-target domain alignment, respectively. Such design explicitly enforces the framework to learn discriminative domain-specific and domain-invariant representations simultaneously. The proposed method is dubbed CDTrans (cross-domain transformer), and it provides one of the first attempts to solve UDA tasks with a pure transformer solution. Experiments show that our proposed method achieves the best performance on public UDA datasets, e.g. VisDA-2017 and DomainNet. Code and models are available at https://github.com/CDTrans/CDTrans.

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

↑