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

校准推广差距

The Calibration Generalization Gap

University of Cambridge(剑桥大学);UC San Diego(加州大学圣地亚哥分校);NVIDIA(英伟达);Apple(苹果公司)

A. Michael Carrell, Neil Mallinar, James Lucas, Preetum Nakkiran

摘要:

校准是一个好的预测模型的一个基本属性:它要求模型的正确预测与其置信度成比例。然而,现代神经网络并没有对它们的校准提供强有力的保证--根据设置,它们可能校准得很差,也可能校准得很好。目前尚不清楚哪些因素有助于良好的校准(架构,数据增强,过度参数化等),尽管文献中存在各种说法。我们提出了一种系统的方法来研究校准误差:通过将其分解为(1)训练集上的校准误差和(2)校准泛化间隙。这反映了泛化的基本分解。然后,我们研究这些术语中的每一个,并给出经验证据表明:(1)DNN通常总是在其训练集上进行校准,以及(2)校准泛化间隙的上限是标准泛化间隙。总而言之,这意味着具有小泛化差距的模型(|测试错误-训练错误|)都是经过校准的。这种观点统一了文献中的许多结果,并表明减少泛化差距的干预措施(如添加数据,使用重增强或较小的模型大小)也可以改善校准。因此,我们希望我们的初步研究奠定了基础,更系统,更全面地了解校准,泛化和优化之间的关系。

英文摘要:

Calibration is a fundamental property of a good predictive model: it requires that the model predicts correctly in proportion to its confidence. Modern neural networks, however, provide no strong guarantees on their calibration -- and can be either poorly calibrated or well-calibrated depending on the setting. It is currently unclear which factors contribute to good calibration (architecture, data augmentation, overparameterization, etc), though various claims exist in the literature. We propose a systematic way to study the calibration error: by decomposing it into (1) calibration error on the train set, and (2) the calibration generalization gap. This mirrors the fundamental decomposition of generalization. We then investigate each of these terms, and give empirical evidence that (1) DNNs are typically always calibrated on their train set, and (2) the calibration generalization gap is upper-bounded by the standard generalization gap. Taken together, this implies that models with small generalization gap (|Test Error - Train Error|) are well-calibrated. This perspective unifies many results in the literature, and suggests that interventions which reduce the generalization gap (such as adding data, using heavy augmentation, or smaller model size) also improve calibration. We thus hope our initial study lays the groundwork for a more systematic and comprehensive understanding of the relation between calibration, generalization, and optimization.

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

↑