arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.03632cs.LGcs.AIstat.ML
收藏

量化和提高领域泛化中的可移植性

Quantifying and Improving Transferability in Domain Generalization

University of Waterloo(滑铁卢大学);Vector Institute(矢量研究所);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Guojun Zhang, Han Zhao, Yaoliang Yu, Pascal Poupart

摘要:

分布外泛化是将模型从实验室转移到现实世界的关键挑战之一。现有的努力主要集中在源和目标域之间建立不变的功能。基于不变特征,源域上的高性能分类器有望在目标域上表现得同样好。换句话说,不变特征是\emph{transferable}。然而,在实践中,没有完全可转移的特征,一些算法似乎比其他算法学习“更多可转移”的特征。我们如何理解和量化这种\emph{transferability}?在本文中,我们正式定义了可转移性,可以量化和计算在领域泛化。我们指出了不同领域之间的差异度量,如总变异和Wasserstein距离的区别和联系。然后,我们证明了我们的可转移性可以估计足够的样本,并给出了一个新的上限的目标误差的基础上,我们的可转移性。从经验上讲,我们评估了现有的领域泛化算法学习的特征嵌入的可移植性。令人惊讶的是,我们发现许多算法并没有完全学习可转移的特征,尽管很少有算法能够存活下来。有鉴于此,我们提出了一种新的学习可转移特征的算法,并在各种基准数据集上进行了测试,包括RotatedMNIST,PACS,WILDS-FMoW和WILDS-Home。实验结果表明,该算法取得了一致的改善,许多国家的最先进的算法,证实了我们的理论研究结果。

英文摘要:

Out-of-distribution generalization is one of the key challenges when transferring a model from the lab to the real world. Existing efforts mostly focus on building invariant features among source and target domains. Based on invariant features, a high-performing classifier on source domains could hopefully behave equally well on a target domain. In other words, the invariant features are \emph{transferable}. However, in practice, there are no perfectly transferable features, and some algorithms seem to learn "more transferable" features than others. How can we understand and quantify such \emph{transferability}? In this paper, we formally define transferability that one can quantify and compute in domain generalization. We point out the difference and connection with common discrepancy measures between domains, such as total variation and Wasserstein distance. We then prove that our transferability can be estimated with enough samples and give a new upper bound for the target error based on our transferability. Empirically, we evaluate the transferability of the feature embeddings learned by existing algorithms for domain generalization. Surprisingly, we find that many algorithms are not quite learning transferable features, although few could still survive. In light of this, we propose a new algorithm for learning transferable features and test it over various benchmark datasets, including RotatedMNIST, PACS, Office-Home and WILDS-FMoW. Experimental results show that the proposed algorithm achieves consistent improvement over many state-of-the-art algorithms, corroborating our theoretical findings.

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

↑