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

从校准视角理解不变风险最小化的变体

Towards Understanding Variants of Invariant Risk Minimization through the Lens of Calibration

Tokyo Institute of Technology(东京工业大学);Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);Université de Montréal(蒙特利尔大学)

Kotaro Yoshida, Hiroki Naganuma

AI总结:

本文以跨环境校准的一致性与方差评估近似 IRM 方法,发现基于信息瓶颈的 IRM 校准更稳定,并实证表明不变性与跨环境校准等价。

摘要:

传统机器学习模型假设训练数据与测试数据独立同分布。然而,在实际应用中,测试分布往往不同于训练分布。这一问题被称为分布外(OOD)泛化,对传统模型构成挑战。不变风险最小化(IRM)作为一种解决方案出现,旨在识别跨不同环境的不变特征,以增强 OOD 鲁棒性。然而,IRM 的复杂性,尤其是其双层优化,促使了多种近似方法的发展。本研究考察这些近似 IRM 技术,并将跨环境校准的一致性和方差作为度量指标,用以衡量 IRM 所追求的不变性。校准用于衡量模型预测的可靠性,可通过展示模型在不同环境中保持何种程度的一致过度自信,来指示模型是否有效捕捉到环境不变特征。通过对具有分布偏移的数据集进行比较分析,我们观察到基于信息瓶颈的 IRM 在不同环境中实现了一致校准。这一观察表明,诸如 IB 之类的信息压缩技术在实现模型不变性方面具有潜在有效性。此外,我们的实证证据表明,在跨环境中表现出一致校准的模型也具有良好校准。这证明不变性与跨环境校准在实证上是等价的。另外,我们强调需要一种系统的方法来评估 OOD 泛化。该方法应超越准确率和 F1 分数等传统指标,因为这些指标无法考虑模型的过度自信程度;相反,应关注准确率、校准和模型不变性之间细致的相互作用。

英文摘要:

Machine learning models traditionally assume that training and test data are independently and identically distributed. However, in real-world applications, the test distribution often differs from training. This problem, known as out-of-distribution (OOD) generalization, challenges conventional models. Invariant Risk Minimization (IRM) emerges as a solution that aims to identify invariant features across different environments to enhance OOD robustness. However, IRM's complexity, particularly its bi-level optimization, has led to the development of various approximate methods. Our study investigates these approximate IRM techniques, using the consistency and variance of calibration across environments as metrics to measure the invariance aimed for by IRM. Calibration, which measures the reliability of model prediction, serves as an indicator of whether models effectively capture environment-invariant features by showing how uniformly over-confident the model remains across varied environments. Through a comparative analysis of datasets with distributional shifts, we observe that Information Bottleneck-based IRM achieves consistent calibration across different environments. This observation suggests that information compression techniques, such as IB, are potentially effective in achieving model invariance. Furthermore, our empirical evidence indicates that models exhibiting consistent calibration across environments are also well-calibrated. This demonstrates that invariance and cross-environment calibration are empirically equivalent. Additionally, we underscore the necessity for a systematic approach to evaluating OOD generalization. This approach should move beyond traditional metrics, such as accuracy and F1 scores, which fail to account for the model's degree of over-confidence, and instead focus on the nuanced interplay between accuracy, calibration, and model invariance.

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

↑