arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.00106cs.LGcs.AI
收藏

神经网络的软校准目标

Soft Calibration Objectives for Neural Networks

Google Research(谷歌研究院)

Archit Karandikar, Nicholas Cain, Dustin Tran, Balaji Lakshminarayanan, Jonathon Shlens, Michael C. Mozer, Becca Roelofs

摘要:

最优决策要求分类器产生与其经验准确性一致的不确定性估计。然而,深度神经网络往往对自己的预测信心不足或过度自信。因此,已经开发了方法来改进训练期间和事后的预测不确定性的校准。在这项工作中,我们提出了可微的损失,以改善校准的基础上的软(连续)版本的分仓操作流行的校准误差估计。当纳入训练时,这些软校准损失在多个数据集上实现了最先进的单模型ECE,准确度下降不到1%。例如,我们观察到ECE降低了82%(相对于事后重新缩放的ECE为70%),以换取相对于CIFAR-100上的交叉熵基线的准确性相对降低了0.7%。当结合后训练时,基于软分箱的校准误差目标改进了温度缩放,这是一种流行的重新校准方法。总的来说,跨损失和数据集的实验表明,使用校准敏感的程序产生更好的不确定性估计下的数据集移位比使用交叉熵损失和事后重新校准方法的标准实践。

英文摘要:

Optimal decision making requires that classifiers produce uncertainty estimates consistent with their empirical accuracy. However, deep neural networks are often under- or over-confident in their predictions. Consequently, methods have been developed to improve the calibration of their predictive uncertainty both during training and post-hoc. In this work, we propose differentiable losses to improve calibration based on a soft (continuous) version of the binning operation underlying popular calibration-error estimators. When incorporated into training, these soft calibration losses achieve state-of-the-art single-model ECE across multiple datasets with less than 1% decrease in accuracy. For instance, we observe an 82% reduction in ECE (70% relative to the post-hoc rescaled ECE) in exchange for a 0.7% relative decrease in accuracy relative to the cross entropy baseline on CIFAR-100. When incorporated post-training, the soft-binning-based calibration error objective improves upon temperature scaling, a popular recalibration method. Overall, experiments across losses and datasets demonstrate that using calibration-sensitive procedures yield better uncertainty estimates under dataset shift than the standard practice of using a cross entropy loss and post-hoc recalibration methods.

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

↑