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

一致性在线:预测神经网络在分布偏移下的性能

Agreement-on-the-Line: Predicting the Performance of Neural Networks under Distribution Shift

Carnegie Mellon University(卡内基梅隆大学);Bosch Center for AI(博世人工智能中心)

Christina Baek, Yiding Jiang, Aditi Raghunathan, Zico Kolter

AI总结:

本文发现神经网络分类器对间的一致性在分布偏移下与内部分布一致性呈线性相关,可仅用未标记数据预测外部分布准确度,优于先前方法。

摘要:

最近,Miller等人表明,在几个OOD基准上,模型的内部分布(ID)准确度与其外部分布(OOD)准确度之间存在强线性相关性——他们将这一现象称为“准确度在线”。虽然这对于模型选择(即,最可能在OOD上表现最佳的模型是ID准确度最高的模型)是一个有用的工具,但这一事实并不能帮助在没有标记OOD验证集的情况下估计模型的实际OOD性能。在本文中,我们展示了类似但令人惊讶的现象也适用于神经网络分类器对之间的一致性:每当准确度在线成立时,我们观察到任意两对神经网络(可能具有不同架构)预测之间的OOD一致性也与其ID一致性存在强线性相关性。此外,我们观察到OOD与ID一致性的斜率和截距与OOD与ID准确度的斜率和截距密切匹配。我们将这一现象称为“一致性在线”,它具有重要的实际应用:无需任何标记数据,我们即可预测分类器的OOD准确度,因为OOD一致性仅需未标记数据即可估计。我们的预测算法在一致性在线成立的偏移场景中优于先前方法,并且令人惊讶的是,在准确度不在线的情况下也表现更优。这一现象还为深度神经网络提供了新的见解:与准确度在线不同,一致性在线似乎仅对神经网络分类器成立。

英文摘要:

Recently, Miller et al. showed that a model's in-distribution (ID) accuracy has a strong linear correlation with its out-of-distribution (OOD) accuracy on several OOD benchmarks -- a phenomenon they dubbed ''accuracy-on-the-line''. While a useful tool for model selection (i.e., the model most likely to perform the best OOD is the one with highest ID accuracy), this fact does not help estimate the actual OOD performance of models without access to a labeled OOD validation set. In this paper, we show a similar but surprising phenomenon also holds for the agreement between pairs of neural network classifiers: whenever accuracy-on-the-line holds, we observe that the OOD agreement between the predictions of any two pairs of neural networks (with potentially different architectures) also observes a strong linear correlation with their ID agreement. Furthermore, we observe that the slope and bias of OOD vs ID agreement closely matches that of OOD vs ID accuracy. This phenomenon, which we call agreement-on-the-line, has important practical applications: without any labeled data, we can predict the OOD accuracy of classifiers}, since OOD agreement can be estimated with just unlabeled data. Our prediction algorithm outperforms previous methods both in shifts where agreement-on-the-line holds and, surprisingly, when accuracy is not on the line. This phenomenon also provides new insights into deep neural networks: unlike accuracy-on-the-line, agreement-on-the-line appears to only hold for neural network classifiers.

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

↑