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

发现环境:XRM

Discovering environments with XRM

FAIR at Meta(Meta FAIR研究院);Mila at Université de Montréal(蒙特利尔大学Mila研究所);CIFAR(加拿大高级研究所)

Mohammad Pezeshki, Diane Bouchacourt, Mark Ibrahim, Nicolas Ballas, Pascal Vincent, David Lopez-Paz

AI总结:

本文提出XRM方法,通过孪生网络相互模仿留出错误,自动发现环境,无需人工标注,实现oracle最差组准确率,解决OOD泛化中的环境发现难题。

摘要:

环境标注对于许多分布外(OOD)泛化方法的成功至关重要。不幸的是,这些标注获取成本高昂,且常常受到人类标注者偏见的影响。为了实现稳健的泛化,开发在数据集内自动发现环境的算法至关重要。现有的提议根据训练误差划分样本,但存在一个根本性问题:这些方法引入了超参数和早停准则,需要带有标注环境的验证集,而这正是待发现的信息。本文提出跨风险最小化(XRM)来解决这一问题。XRM训练孪生网络,每个网络从训练数据的随机一半中学习,同时模仿其兄弟网络自信的留出错误。XRM提供了超参数调优的配方,不需要早停,并且可以为所有训练和验证数据发现环境。基于XRM环境构建的算法实现了oracle最差组准确率,解决了OOD泛化中长期存在的挑战。代码可在\url{https://github.com/facebookresearch/XRM}获取。

英文摘要:

Environment annotations are essential for the success of many out-of-distribution (OOD) generalization methods. Unfortunately, these are costly to obtain and often limited by human annotators' biases. To achieve robust generalization, it is essential to develop algorithms for automatic environment discovery within datasets. Current proposals, which divide examples based on their training error, suffer from one fundamental problem. These methods introduce hyper-parameters and early-stopping criteria, which require a validation set with human-annotated environments, the very information subject to discovery. In this paper, we propose Cross-Risk-Minimization (XRM) to address this issue. XRM trains twin networks, each learning from one random half of the training data, while imitating confident held-out mistakes made by its sibling. XRM provides a recipe for hyper-parameter tuning, does not require early-stopping, and can discover environments for all training and validation data. Algorithms built on top of XRM environments achieve oracle worst-group-accuracy, addressing a long-standing challenge in OOD generalization. Code available at \url{https://github.com/facebookresearch/XRM}.

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

↑