arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2006.13092cs.LGstat.ML
收藏

基于互信息最大化分箱的多类不确定度校准

Multi-Class Uncertainty Calibration via Mutual Information Maximization-based Binning

Bosch Center for Artificial Intelligence(博世人工智能中心);University of Stuttgart(斯图加特大学)

Kanil Patel, William Beluch, Bin Yang, Michael Pfeiffer, Dan Zhang

摘要:

事后多类校准是用于提供深度神经网络预测的高质量置信度估计的常用方法。最近的工作表明,广泛使用的缩放方法低估了他们的校准误差,而替代直方图分箱(HB)方法往往无法保持分类精度。当类具有小的先验概率时,HB在转换为K个一对剩余类的校准问题后也面临严重的样本效率低下的问题。本文的目标是解决HB的识别问题,以提供校准的置信度估计,只使用一个小的holdout校准数据集进行箱优化,同时保持多类排名的准确性。从信息理论的角度来看,我们推导出I-Max的概念,装箱,最大限度地提高标签和量化的logits之间的互信息。该概念减轻了由于有损量化而导致的排名性能的潜在损失,并且通过解开箱边缘和代表的优化,允许同时改进排名和校准性能。为了提高样本效率和来自小校准集的估计,我们提出了共享类(sCW)校准策略,在相似类之间共享一个校准器(例如,具有相似的类先验),使得它们的类式校准问题的训练集可以被合并以训练单个校准器。sCW和I-Max分箱的组合使用小的校准集(例如,ImageNet的1 k个样本)。

英文摘要:

Post-hoc multi-class calibration is a common approach for providing high-quality confidence estimates of deep neural network predictions. Recent work has shown that widely used scaling methods underestimate their calibration error, while alternative Histogram Binning (HB) methods often fail to preserve classification accuracy. When classes have small prior probabilities, HB also faces the issue of severe sample-inefficiency after the conversion into K one-vs-rest class-wise calibration problems. The goal of this paper is to resolve the identified issues of HB in order to provide calibrated confidence estimates using only a small holdout calibration dataset for bin optimization while preserving multi-class ranking accuracy. From an information-theoretic perspective, we derive the I-Max concept for binning, which maximizes the mutual information between labels and quantized logits. This concept mitigates potential loss in ranking performance due to lossy quantization, and by disentangling the optimization of bin edges and representatives allows simultaneous improvement of ranking and calibration performance. To improve the sample efficiency and estimates from a small calibration set, we propose a shared class-wise (sCW) calibration strategy, sharing one calibrator among similar classes (e.g., with similar class priors) so that the training sets of their class-wise calibration problems can be merged to train the single calibrator. The combination of sCW and I-Max binning outperforms the state of the art calibration methods on various evaluation metrics across different benchmark datasets and models, using a small calibration set (e.g., 1k samples for ImageNet).

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

↑