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

基于g层的神经网络事后校正

Post-hoc Calibration of Neural Networks by g-Layers

Australian National University(澳大利亚国立大学);Google Research(谷歌研究院);DATA61, CSIRO(澳大利亚联邦科学与工业研究组织DATA61)

Amir Rahimi, Thomas Mensink, Kartik Gupta, Thalaiyasingam Ajanthan, Cristian Sminchisescu, Richard Hartley

摘要:

当将机器学习模型结合到现实世界的决策系统中时,神经网络的校准是需要考虑的一个关键方面,在现实世界的决策系统中,决策的置信度与决策本身同样重要。近年来,对神经网络校准的研究激增,并且大多数工作可以被归类为事后校准方法,其被定义为学习附加函数以校准已经训练好的基础网络的方法。在这项工作中,我们打算从理论的角度来理解事后校准方法。特别是,众所周知,如果达到全局最优,最小化负对数似然(NLL)将导致训练集上的校准网络(Bishop,1994)。然而,目前尚不清楚以事后的方式学习额外的功能是否会导致理论意义上的校准。为此,我们证明,即使基础网络($f$)不导致全局最优的NLL,通过添加额外的层($g$)和最小化NLL通过优化参数的$g$之一,可以得到一个校准的网络$g \circ f$。这不仅提供了一个不太严格的条件,以获得一个校准的网络,但也提供了一个事后校准方法的理论依据。我们在各种图像分类基准上的实验证实了这一理论。

英文摘要:

Calibration of neural networks is a critical aspect to consider when incorporating machine learning models in real-world decision-making systems where the confidence of decisions are equally important as the decisions themselves. In recent years, there is a surge of research on neural network calibration and the majority of the works can be categorized into post-hoc calibration methods, defined as methods that learn an additional function to calibrate an already trained base network. In this work, we intend to understand the post-hoc calibration methods from a theoretical point of view. Especially, it is known that minimizing Negative Log-Likelihood (NLL) will lead to a calibrated network on the training set if the global optimum is attained (Bishop, 1994). Nevertheless, it is not clear learning an additional function in a post-hoc manner would lead to calibration in the theoretical sense. To this end, we prove that even though the base network ($f$) does not lead to the global optimum of NLL, by adding additional layers ($g$) and minimizing NLL by optimizing the parameters of $g$ one can obtain a calibrated network $g \circ f$. This not only provides a less stringent condition to obtain a calibrated network but also provides a theoretical justification of post-hoc calibration methods. Our experiments on various image classification benchmarks confirm the theory.

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

↑