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

基于结构化先验的对抗训练改进分布外泛化

Improving Out-of-Distribution Generalization by Adversarial Training with Structured Priors

Peking University(北京大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Qixun Wang, Yifei Wang, Hong Zhu, Yisen Wang

摘要:

当数据分布与训练域中的数据分布不同时,深度模型通常无法在测试域中很好地泛化。在解决这种分布外(OOD)泛化问题的众多方法中,利用对抗训练(AT)来提高OOD性能的兴趣越来越大。最近的工作表明,通过进行样本的AT获得的鲁棒模型也保留了有偏见的测试域的可转移性。在本文中,我们的经验表明,样本明智的AT有有限的改善OOD性能。具体来说,我们发现,AT只能保持性能在较小规模的扰动,而通用AT(UAT)是更强大的大规模的扰动。这为我们提供了线索,即具有通用(低维)结构的对抗性扰动可以增强对OOD场景中常见的大数据分布偏移的鲁棒性。受此启发,我们提出了两个低秩结构的AT变体来训练OOD鲁棒模型。在DomainBed基准测试上的大量实验表明,我们提出的方法优于经验风险最小化(ERM)和样本AT。我们的代码可在https://github.com/NOVAglow646/NIPS22-MAT-and-LDAT-for-OOD上获得。

英文摘要:

Deep models often fail to generalize well in test domains when the data distribution differs from that in the training domain. Among numerous approaches to address this Out-of-Distribution (OOD) generalization problem, there has been a growing surge of interest in exploiting Adversarial Training (AT) to improve OOD performance. Recent works have revealed that the robust model obtained by conducting sample-wise AT also retains transferability to biased test domains. In this paper, we empirically show that sample-wise AT has limited improvement on OOD performance. Specifically, we find that AT can only maintain performance at smaller scales of perturbation while Universal AT (UAT) is more robust to larger-scale perturbations. This provides us with clues that adversarial perturbations with universal (low dimensional) structures can enhance the robustness against large data distribution shifts that are common in OOD scenarios. Inspired by this, we propose two AT variants with low-rank structures to train OOD-robust models. Extensive experiments on DomainBed benchmark show that our proposed approaches outperform Empirical Risk Minimization (ERM) and sample-wise AT. Our code is available at https://github.com/NOVAglow646/NIPS22-MAT-and-LDAT-for-OOD.

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

↑