Practical real world datasets with plentiful categories introduce new challenges for unsupervised domain adaptation like small inter-class discriminability, that existing approaches relying on domain invariance alone cannot handle sufficiently well. In this work we propose MemSAC, which exploits sample level similarity across source and target domains to achieve discriminative transfer, along with architectures that scale to a large number of categories. For this purpose, we first introduce a memory augmented approach to efficiently extract pairwise similarity relations between labeled source and unlabeled target domain instances, suited to handle an arbitrary number of classes. Next, we propose and theoretically justify a novel variant of the contrastive loss to promote local consistency among within-class cross domain samples while enforcing separation between classes, thus preserving discriminative transfer from source to target. We validate the advantages of MemSAC with significant improvements over previous state-of-the-art on multiple challenging transfer tasks designed for large-scale adaptation, such as DomainNet with 345 classes and fine-grained adaptation on Caltech-UCSD birds dataset with 200 classes. We also provide in-depth analysis and insights into the effectiveness of MemSAC.
翻译:在这项工作中,我们建议MemSAC, 利用源和目标领域之间的样本水平相似性实现歧视性转移,同时利用规模达到大量类别的结构。为此,我们首先采用一种记忆强化方法,有效提取标签来源与适合处理任意数量分类的无标签目标领域实例之间的双向相似性关系。接下来,我们提出并在理论上证明一种对比性损失的新变种,即单靠域差异处理现有方法不能很好地处理。我们建议MemSAC, 利用不同源和目标领域之间的样本水平相似性实现歧视性转移。我们验证MemSAC的优势,大大改进了以往关于大规模适应的多重挑战性转移任务(如DomainNet,有345个等级,对Caltech-UCSD鸟类数据集进行了精细的适应),我们还深入分析和洞察了MemSAC的实效。