Annealing Double-Head:一种深度神经网络在线校准架构
Annealing Double-Head: An Architecture for Online Calibration of Deep Neural Networks
摘要:
模型校正是关于模型正确预测的频率,它不仅在统计模型设计中起着重要的作用,而且在实际应用中也有着重要的意义,如现实世界中的最优决策。但人们发现,现代深度神经网络由于预测置信度的高估(或低估),通常校准较差,这与过拟合密切相关。在本文中,我们提出了Annealing Double-Head,这是一种易于实现但非常有效的架构,用于在训练期间校准DNN。准确地说,我们在正态模型中的最后一个潜在层之上构建了一个额外的校准头(一个通常具有一个潜在层的浅层神经网络),以将logits映射到对齐的置信度。此外,一个简单的退火技术,动态缩放的logits校准头在训练过程中,以提高其性能。在分布式和分布式移位的情况下,我们在多对当代DNN架构以及视觉和语音数据集上详尽地评估了我们的退火双头架构。我们证明,我们的方法实现了最先进的模型校准性能,而无需后处理,同时提供了可比的预测精度相比,其他最近提出的校准方法在一系列的学习任务。
英文摘要:
Model calibration, which is concerned with how frequently the model predicts correctly, not only plays a vital part in statistical model design, but also has substantial practical applications, such as optimal decision-making in the real world. However, it has been discovered that modern deep neural networks are generally poorly calibrated due to the overestimation (or underestimation) of predictive confidence, which is closely related to overfitting. In this paper, we propose Annealing Double-Head, a simple-to-implement but highly effective architecture for calibrating the DNN during training. To be precise, we construct an additional calibration head-a shallow neural network that typically has one latent layer-on top of the last latent layer in the normal model to map the logits to the aligned confidence. Furthermore, a simple Annealing technique that dynamically scales the logits by calibration head in training procedure is developed to improve its performance. Under both the in-distribution and distributional shift circumstances, we exhaustively evaluate our Annealing Double-Head architecture on multiple pairs of contemporary DNN architectures and vision and speech datasets. We demonstrate that our method achieves state-of-the-art model calibration performance without post-processing while simultaneously providing comparable predictive accuracy in comparison to other recently proposed calibration methods on a range of learning tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。