arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2109.02934cs.LGcs.AIcs.CV
收藏

Fishr:分布外泛化的不变梯度方差

Fishr: Invariant Gradient Variances for Out-of-Distribution Generalization

Sorbonne Université(索邦大学);CNRS(法国国家科学研究中心)

Alexandre Rame, Corentin Dancette, Matthieu Cord

摘要:

学习在数据分布变化下很好地泛化的鲁棒模型对于现实世界的应用至关重要。为此,人们越来越有兴趣从多个训练领域同时学习,同时在这些领域中实施不同类型的不变性。然而,所有现有的方法都未能显示出在控制评价协议下的系统效益。在本文中,我们引入了一种新的正则化-名为Fishr -在损失的梯度空间中强制域不变性:具体来说,梯度的域级方差在训练域中匹配。我们的方法是基于梯度协方差,Fisher信息和Hessian之间的密切关系的损失:特别是,我们表明,Fishr最终对齐域级损失景观本地周围的最终权重。大量的实验证明了Fishr对分布外泛化的有效性。值得注意的是,Fishr改进了DomainBed基准测试的最新技术水平,并且始终优于经验风险最小化。我们的代码可在https://github.com/alexrame/fishr上获得。

英文摘要:

Learning robust models that generalize well under changes in the data distribution is critical for real-world applications. To this end, there has been a growing surge of interest to learn simultaneously from multiple training domains - while enforcing different types of invariance across those domains. Yet, all existing approaches fail to show systematic benefits under controlled evaluation protocols. In this paper, we introduce a new regularization - named Fishr - that enforces domain invariance in the space of the gradients of the loss: specifically, the domain-level variances of gradients are matched across training domains. Our approach is based on the close relations between the gradient covariance, the Fisher Information and the Hessian of the loss: in particular, we show that Fishr eventually aligns the domain-level loss landscapes locally around the final weights. Extensive experiments demonstrate the effectiveness of Fishr for out-of-distribution generalization. Notably, Fishr improves the state of the art on the DomainBed benchmark and performs consistently better than Empirical Risk Minimization. Our code is available at https://github.com/alexrame/fishr.

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

↑