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

用于深度神经网络鲁棒校准的自适应温度定标

Adaptive Temperature Scaling for Robust Calibration of Deep Neural Networks

Universidad Autónoma de Madrid(马德里自治大学)

Sergio A. Balanya, Juan Maroñas, Daniel Ramos

摘要:

在本文中,我们研究了现代神经网络的事后校准,这是一个近年来引起广泛关注的问题。许多不同复杂性的校准方法已被提出的任务,但没有共识如何表达这些应该是。我们专注于置信度缩放的任务,特别是推广温度缩放的事后方法,我们称之为自适应温度缩放家族。我们分析表达功能,提高校准,并提出可解释的方法。我们表明,当有大量的数据复杂的模型,如神经网络产生更好的性能,但容易失败时,数据量是有限的,在某些事后校准应用程序,如医疗诊断的常见情况。我们研究了表达方法在理想条件下学习的函数,并设计了更简单的方法,但对这些性能良好的函数有很强的归纳倾向。具体地说,我们提出了基于熵的温度标度,这是一种简单的方法,根据熵来衡量预测的置信度。结果表明,与其他方法相比,我们的方法获得了最先进的性能,并且与复杂模型不同,它对数据稀缺具有鲁棒性。此外,我们提出的模型能够更深入地解释校准过程。

英文摘要:

In this paper, we study the post-hoc calibration of modern neural networks, a problem that has drawn a lot of attention in recent years. Many calibration methods of varying complexity have been proposed for the task, but there is no consensus about how expressive these should be. We focus on the task of confidence scaling, specifically on post-hoc methods that generalize Temperature Scaling, we call these the Adaptive Temperature Scaling family. We analyse expressive functions that improve calibration and propose interpretable methods. We show that when there is plenty of data complex models like neural networks yield better performance, but are prone to fail when the amount of data is limited, a common situation in certain post-hoc calibration applications like medical diagnosis. We study the functions that expressive methods learn under ideal conditions and design simpler methods but with a strong inductive bias towards these well-performing functions. Concretely, we propose Entropy-based Temperature Scaling, a simple method that scales the confidence of a prediction according to its entropy. Results show that our method obtains state-of-the-art performance when compared to others and, unlike complex models, it is robust against data scarcity. Moreover, our proposed model enables a deeper interpretation of the calibration process.

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

↑