arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.10877cs.LGstat.ML
收藏

通过随机推理学习深度神经网络中的单次置信度校准

Learning for Single-Shot Confidence Calibration in Deep Neural Networks through Stochastic Inferences

Seoul National University(首尔大学);POSTECH(浦项科技大学)

Seonguk Seo, Paul Hongsuck Seo, Bohyung Han

摘要:

我们提出了一个通用框架,通过随机推理来校准深度神经网络中预测的准确性和置信度。我们解释随机正则化使用贝叶斯模型,并分析网络的预测不确定性和方差的预测得分的随机推断获得的单个例子之间的关系。我们的实证研究表明,预测的准确性和得分是高度相关的多个随机推断的随机深度或辍学的方差。基于这一观察结果,我们设计了一种新的方差加权置信度集成损失函数,该函数由两个关于地面真值和均匀分布的交叉熵损失项组成,它们由随机预测分数的方差来平衡。提出的损失函数使我们能够学习深度神经网络,这些网络使用单个推理来预测置信度校准分数。该算法在多个模型和数据集上结合两种流行的随机正则化技术--随机深度和dropout--,表现出出色的置信度校准性能,提高了分类精度;通过训练网络,使预测精度与预测置信度成正比,显著改善了深度神经网络中的过度自信问题。

英文摘要:

We propose a generic framework to calibrate accuracy and confidence of a prediction in deep neural networks through stochastic inferences. We interpret stochastic regularization using a Bayesian model, and analyze the relation between predictive uncertainty of networks and variance of the prediction scores obtained by stochastic inferences for a single example. Our empirical study shows that the accuracy and the score of a prediction are highly correlated with the variance of multiple stochastic inferences given by stochastic depth or dropout. Motivated by this observation, we design a novel variance-weighted confidence-integrated loss function that is composed of two cross-entropy loss terms with respect to ground-truth and uniform distribution, which are balanced by variance of stochastic prediction scores. The proposed loss function enables us to learn deep neural networks that predict confidence calibrated scores using a single inference. Our algorithm presents outstanding confidence calibration performance and improves classification accuracy when combined with two popular stochastic regularization techniques---stochastic depth and dropout---in multiple models and datasets; it alleviates overconfidence issue in deep neural networks significantly by training networks to achieve prediction accuracy proportional to confidence of prediction.

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

↑