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

软期望校准误差(SMECE):一种用于概率标签的校准度量

Soft Mean Expected Calibration Error (SMECE): A Calibration Metric for Probabilistic Labels

Michael Leznik

AI总结:

本文提出SMECE,用于处理概率性质的标签,改进了传统ECE在处理概率标签时的不足,通过替换硬标签分数为样本平均概率标签,实现了更准确的校准度量。

摘要:

期望校准误差(ECE)是机器学习中主要的校准度量,将预测概率与二元结果的实证频率进行比较。然而,许多现代设置产生的标签本身是概率而非二元结果:放射科医生的置信度、教师模型的知识蒸馏软输出、生成模型的类别后验或标注者一致度分数。在这些设置中,ECE犯了类别错误——它通过强制标签进入二元比较而丢弃了标签中的概率信息。结果不是会被更多数据纠正的噪声近似,而是一种结构不匹配,随着样本量增加会持续存在并收敛到错误答案。本文引入软期望校准误差(SMECE),一种适用于标签具有概率性质的设置的校准度量。对ECE公式进行修改仅需一行:将每个预测分箱中的经验硬标签分数替换为该分箱中样本的平均概率标签。SMECE在标签为二元时恰好等于ECE,使其成为严格的一般化。

英文摘要:

The Expected Calibration Error (ece), the dominant calibration metric in machine learning, compares predicted probabilities against empirical frequencies of binary outcomes. This is appropriate when labels are binary events. However, many modern settings produce labels that are themselves probabilities rather than binary outcomes: a radiologist's stated confidence, a teacher model's soft output in knowledge distillation, a class posterior derived from a generative model, or an annotator agreement fraction. In these settings, ece commits a category error - it discards the probabilistic information in the label by forcing it into a binary comparison. The result is not a noisy approximation that more data will correct. It is a structural misalignment that persists and converges to the wrong answer with increasing precision as sample size grows. We introduce the Soft Mean Expected Calibration Error (smece), a calibration metric for settings where labels are of probabilistic nature. The modification to the ece formula is one line: replace the empirical hard-label fraction in each prediction bin with the mean probability label of the samples in that bin. smece reduces exactly to ece when labels are binary, making it a strict generalisation.

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

↑