arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.12295cs.LGcs.AIcs.CV
收藏

一致性校准:通过扰动邻居间的一致性改进不确定性校准

Consistency Calibration: Improving Uncertainty Calibration via Consistency among Perturbed Neighbors

University of Sydney(悉尼大学);City University of Hong Kong(香港城市大学)

Linwei Tao, Haolan Guo, Minjing Dong, Chang Xu

AI总结:

本文提出一致性校准(CC)方法,通过模型在扰动输入间的一致性调整置信度,无需额外数据或标签,在logit级别提升效率,并在多个标准及长尾数据集上达到最先进性能。

摘要:

校准在深度学习应用中至关重要,尤其是在医疗和自动驾驶等领域,准确的置信度估计对决策至关重要。然而,深度神经网络经常出现校准不当的问题,而可靠性图和期望校准误差(ECE)是评估校准性能的唯一标准视角。在本文中,受大型语言模型(LLMs)不确定性估计文献的启发,我们引入了一致性概念作为模型校准的替代视角。我们强调了其相对于传统基于可靠性视图的优势。基于这一概念,我们提出了一种名为一致性校准(CC)的事后校准方法,该方法根据模型在扰动输入间的一致性来调整置信度。CC在局部不确定性估计中特别有效,因为它不需要额外的数据样本或标签信息,而是直接从源数据生成输入扰动。此外,我们展示了在logit级别执行扰动显著提高了计算效率。我们通过与各种事后和训练时校准方法的广泛比较,验证了CC的有效性,证明了其在CIFAR-10、CIFAR-100和ImageNet等标准数据集以及ImageNet-LT等长尾数据集上的最先进性能。

英文摘要:

Calibration is crucial in deep learning applications, especially in fields like healthcare and autonomous driving, where accurate confidence estimates are vital for decision-making. However, deep neural networks often suffer from miscalibration, with reliability diagrams and Expected Calibration Error (ECE) being the only standard perspective for evaluating calibration performance. In this paper, we introduce the concept of consistency as an alternative perspective on model calibration, inspired by uncertainty estimation literature in large language models (LLMs). We highlight its advantages over the traditional reliability-based view. Building on this concept, we propose a post-hoc calibration method called Consistency Calibration (CC), which adjusts confidence based on the model's consistency across perturbed inputs. CC is particularly effective in locally uncertainty estimation, as it requires no additional data samples or label information, instead generating input perturbations directly from the source data. Moreover, we show that performing perturbations at the logit level significantly improves computational efficiency. We validate the effectiveness of CC through extensive comparisons with various post-hoc and training-time calibration methods, demonstrating state-of-the-art performance on standard datasets such as CIFAR-10, CIFAR-100, and ImageNet, as well as on long-tailed datasets like ImageNet-LT.

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

↑