arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.02841stat.MLcs.LG
收藏

评估后验概率:决策理论、适当评分规则与校准

Evaluating Posterior Probabilities: Decision Theory, Proper Scoring Rules, and Calibration

Instituto de Ciencias de la Computación(计算机科学研究所);Universidad de Buenos Aires - CONICET(布宜诺斯艾利斯大学 - 阿根廷国家科学与技术研究理事会);Escuela Politécnica Superior, Universidad Autónoma de Madrid(马德里自治大学高等理工学院)

Luciana Ferrer, Daniel Ramos

AI总结:

本文针对机器学习后验概率评估中误用ECE等校准指标的问题,基于贝叶斯决策理论论证应使用归一化期望PSR,并提出源自PSR分解的校准损失作为更优诊断指标。

摘要:

大多数机器学习分类器被设计为在给定输入样本时输出各类别的后验概率。这些概率可用于对样本类别作出分类决策;作为下游系统的输入;或提供给人类进行解释。评估这些系统生成的后验的质量是一个至关重要的问题,数十年前适当评分规则(proper scoring rules,PSRs)的发明已经解决了该问题。遗憾的是,近期大量机器学习文献使用校准指标——最常见的是期望校准误差(expected calibration error,ECE)——作为评估后验性能的替代量。这种做法的问题在于,校准指标只反映后验质量的一个方面,而忽略了区分性能。因此,我们主张校准指标不应在后验质量评估中发挥作用。这项工作应转而使用期望PSR,最好进行归一化以便解释。在本文中,我们首先从实用角度简要回顾PSR,并利用贝叶斯决策理论说明其定义的动机。我们讨论为什么期望PSR能够为系统后验质量提供有原则的度量,以及为什么校准指标不是完成这项工作的合适工具。我们认为,校准指标虽然对性能评估没有用处,但可以在系统开发过程中用作诊断工具。基于这一目的,我们讨论了一种简单实用的校准指标,称为校准损失(calibration loss),它源自期望PSR的一种分解。我们将该指标与ECE以及PSR文献中的期望得分散度校准指标进行比较,并利用理论和实证证据论证校准损失优于这两种指标。

英文摘要:

Most machine learning classifiers are designed to output posterior probabilities for the classes given the input sample. These probabilities may be used to make the categorical decision on the class of the sample; provided as input to a downstream system; or provided to a human for interpretation. Evaluating the quality of the posteriors generated by these system is an essential problem which was addressed decades ago with the invention of proper scoring rules (PSRs). Unfortunately, much of the recent machine learning literature uses calibration metrics -- most commonly, the expected calibration error (ECE) -- as a proxy to assess posterior performance. The problem with this approach is that calibration metrics reflect only one aspect of the quality of the posteriors, ignoring the discrimination performance. For this reason, we argue that calibration metrics should play no role in the assessment of posterior quality. Expected PSRs should instead be used for this job, preferably normalized for ease of interpretation. In this work, we first give a brief review of PSRs from a practical perspective, motivating their definition using Bayes decision theory. We discuss why expected PSRs provide a principled measure of the quality of a system's posteriors and why calibration metrics are not the right tool for this job. We argue that calibration metrics, while not useful for performance assessment, may be used as diagnostic tools during system development. With this purpose in mind, we discuss a simple and practical calibration metric, called calibration loss, derived from a decomposition of expected PSRs. We compare this metric with the ECE and with the expected score divergence calibration metric from the PSR literature and argue, using theoretical and empirical evidence, that calibration loss is superior to these two metrics.

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

↑