arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.02636cs.CVcs.LG
收藏

网络校准中置信度与确定性的多类对齐

Multiclass Alignment of Confidence and Certainty for Network Calibration

Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Vinith Kugathasan, Muhammad Haris Khan

AI总结:

针对深度神经网络过度自信导致的校准不佳问题,提出一种名为MACC的即插即用训练时辅助损失,通过对齐预测均值置信度与确定性来提升校准,在十个数据集上取得最先进性能。

摘要:

深度神经网络(DNNs)在推动多个挑战性领域的最先进技术方面取得了巨大进步。近期研究揭示,它们容易做出过度自信的预测。这大大降低了模型预测的整体信任度,尤其是在安全关键应用中。早期改进模型校准的工作采用后处理技术,这些技术依赖于有限的参数并需要留出验证集。一些近期涉及所有模型参数的训练时校准方法,能够超越后处理方法。为此,我们提出了一种新的训练时校准方法,其特点是简单、即插即用的辅助损失,称为预测均值置信度与预测确定性的多类对齐(MACC)。它基于这样的观察:模型误校准与其预测确定性直接相关,因此均值置信度与确定性之间的差距越大,意味着对于分布内和分布外预测的校准越差。基于这一洞察,我们提出的损失函数明确鼓励自信(或不够自信)的模型在预softmax分布中提供低(或高)的离散度。在覆盖域内、域外、非视觉识别和医学图像分类场景的十个挑战性数据集上的大量实验表明,我们的方法在域内和域外预测方面均达到了最先进的校准性能。我们的代码和模型将公开发布。

英文摘要:

Deep neural networks (DNNs) have made great strides in pushing the state-of-the-art in several challenging domains. Recent studies reveal that they are prone to making overconfident predictions. This greatly reduces the overall trust in model predictions, especially in safety-critical applications. Early work in improving model calibration employs post-processing techniques which rely on limited parameters and require a hold-out set. Some recent train-time calibration methods, which involve all model parameters, can outperform the postprocessing methods. To this end, we propose a new train-time calibration method, which features a simple, plug-and-play auxiliary loss known as multi-class alignment of predictive mean confidence and predictive certainty (MACC). It is based on the observation that a model miscalibration is directly related to its predictive certainty, so a higher gap between the mean confidence and certainty amounts to a poor calibration both for in-distribution and out-of-distribution predictions. Armed with this insight, our proposed loss explicitly encourages a confident (or underconfident) model to also provide a low (or high) spread in the presoftmax distribution. Extensive experiments on ten challenging datasets, covering in-domain, out-domain, non-visual recognition and medical image classification scenarios, show that our method achieves state-of-the-art calibration performance for both in-domain and out-domain predictions. Our code and models will be publicly released.

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

↑