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

用于无监督域适应的 Patch-Mix Transformer:一种博弈视角

Patch-Mix Transformer for Unsupervised Domain Adaptation: A Game Perspective

HKUST(GZ)(香港科技大学(广州));HKUST(香港科技大学)

Jinjing Zhu, Haotian Bai, Lin Wang

AI总结:

本文提出 PMTrans 与 PatchMix 模块,将无监督域适应建模为三参与者 min-max 交叉熵博弈,并通过中间 patch 混合域和注意力加权标签提升跨域泛化。

摘要:

近来,已有研究尝试利用 vision transformer(ViT)来处理具有挑战性的无监督域适应(UDA)任务。这些方法通常采用 ViT 中的交叉注意力进行直接域对齐。然而,由于交叉注意力的性能高度依赖目标样本伪标签的质量,当域差距变大时,其有效性会下降。我们从博弈论视角解决该问题,提出名为 PMTrans 的模型,通过一个中间域连接源域与目标域。具体而言,我们提出一个基于 ViT 的新型模块 PatchMix,它通过基于博弈论模型学习从两个域中采样 patch,有效构建中间域,即概率分布。这样,该模块学习混合来自源域和目标域的 patch 以最大化交叉熵(CE),同时利用特征空间和标签空间中的两个半监督 mixup 损失来最小化交叉熵。因此,我们将 UDA 过程解释为一个包含特征提取器、分类器和 PatchMix 三个参与者的 min-max CE 博弈,以寻找 Nash 均衡。此外,我们利用来自 ViT 的注意力图,根据每个 patch 的重要性对其标签重新加权,从而能够获得更具域判别性的特征表示。我们在四个基准数据集上进行了大量实验,结果表明 PMTrans 显著优于基于 ViT 和基于 CNN 的 SoTA 方法,在 Office-Home、Office-31 和 DomainNet 上分别提升 +3.6%、+1.4% 和 +17.7%。

英文摘要:

Endeavors have been recently made to leverage the vision transformer (ViT) for the challenging unsupervised domain adaptation (UDA) task. They typically adopt the cross-attention in ViT for direct domain alignment. However, as the performance of cross-attention highly relies on the quality of pseudo labels for targeted samples, it becomes less effective when the domain gap becomes large. We solve this problem from a game theory's perspective with the proposed model dubbed as PMTrans, which bridges source and target domains with an intermediate domain. Specifically, we propose a novel ViT-based module called PatchMix that effectively builds up the intermediate domain, i.e., probability distribution, by learning to sample patches from both domains based on the game-theoretical models. This way, it learns to mix the patches from the source and target domains to maximize the cross entropy (CE), while exploiting two semi-supervised mixup losses in the feature and label spaces to minimize it. As such, we interpret the process of UDA as a min-max CE game with three players, including the feature extractor, classifier, and PatchMix, to find the Nash Equilibria. Moreover, we leverage attention maps from ViT to re-weight the label of each patch by its importance, making it possible to obtain more domain-discriminative feature representations. We conduct extensive experiments on four benchmark datasets, and the results show that PMTrans significantly surpasses the ViT-based and CNN-based SoTA methods by +3.6% on Office-Home, +1.4% on Office-31, and +17.7% on DomainNet, respectively.

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

↑