利用邻域不变性预测域外泛化
Predicting Out-of-Domain Generalization with Neighborhood Invariance
AI总结:
针对现有泛化预测方法依赖分布匹配和梯度等强假设的问题,本文提出无需真实标签、分布或模型假设的邻域不变性,并在多类任务中验证其与OOD泛化的稳健相关性。
摘要:
安全地开发和部署机器学习模型,取决于刻画和比较其泛化到新环境能力的能力。尽管近期工作提出了多种可直接预测或在理论上界定模型泛化能力的方法,但它们依赖于训练/测试分布匹配以及可获取模型梯度等强假设。为了在这些假设不满足时刻画泛化,我们提出邻域不变性,用于衡量分类器在局部变换邻域中的输出不变性。具体而言,我们采样一组变换,并在给定输入测试点时,将不变性计算为被分类到同一类别的变换点所占的最大比例。关键在于,我们的度量计算简单,不依赖测试点的真实标签,不对数据分布或模型作任何假设,并且即使在现有方法无法适用的域外(OOD)设置中也能应用,只需选择一组合适的数据变换。在图像分类、情感分析和自然语言推理的鲁棒性基准实验中,我们在超过100个独特训练/测试域对上评估了超过4,600个模型,证明邻域不变性度量与实际OOD泛化之间存在强且稳健的相关性。
英文摘要:
Developing and deploying machine learning models safely depends on the ability to characterize and compare their abilities to generalize to new environments. Although recent work has proposed a variety of methods that can directly predict or theoretically bound the generalization capacity of a model, they rely on strong assumptions such as matching train/test distributions and access to model gradients. In order to characterize generalization when these assumptions are not satisfied, we propose neighborhood invariance, a measure of a classifier's output invariance in a local transformation neighborhood. Specifically, we sample a set of transformations and given an input test point, calculate the invariance as the largest fraction of transformed points classified into the same class. Crucially, our measure is simple to calculate, does not depend on the test point's true label, makes no assumptions about the data distribution or model, and can be applied even in out-of-domain (OOD) settings where existing methods cannot, requiring only selecting a set of appropriate data transformations. In experiments on robustness benchmarks in image classification, sentiment analysis, and natural language inference, we demonstrate a strong and robust correlation between our neighborhood invariance measure and actual OOD generalization on over 4,600 models evaluated on over 100 unique train/test domain pairs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。