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

$L_p$校准误差的变分估计器

V-ECE: Estimating General Expected Calibration Errors

INRIA;Ecole Normale Supérieure, PSL Research University(巴黎高等师范学院,PSL研究大学);UC Berkeley(加州大学伯克利分校)

Eugène Berta, Sacha Braun, Francis Bach, Michael I. Jordan, David Holzmüller

AI总结:

本文提出了一种基于变分框架的$L_p$校准误差估计方法,能够区分过高和过低自信,并避免过估计,通过实验验证其有效性。

摘要:

校准——确保预测概率与观测类频率一致——是机器学习系统可靠预测的基本要求。校准误差传统上通过发散函数来评估,利用预测与经验频率之间的期望发散。准确估计这一量具有挑战性,尤其是在多类设置中。本文展示如何扩展最近用于估计校准误差的变分框架,使其不仅适用于由适当损失诱导的发散,还适用于由$L_p$发散诱导的广泛类别的校准误差。我们的方法能够区分过高和过低的自信,并且与非变分方法不同,避免了过估计。我们提供了广泛的实验,并将我们的代码整合到开源包probmetrics(https://github.com/dholzmueller/probmetrics)中,用于评估校准误差。

英文摘要:

In probabilistic classification, calibration error (CE) measures the average divergence of predicted probabilities $f(X)$ from $\mathbb{P}(Y|f(X))$, the true class distribution for that predicted probability. While being a useful diagnostic tool, it is hard to estimate: popular binning-based estimators are often inconsistent and scale poorly beyond two classes. Recent work rewrites the CE as the excess risk of a model compared to the best recalibration of its own predictions, measured with a proper loss. However, this only works for Bregman-divergence-based calibration errors like the squared error, excluding the more popular $L_1$-distance-based CE. We show that using prediction-dependent proper scores can alleviate this restriction, allowing us to estimate CEs with general convex divergences, including $L_p$ distances with closed-form losses in the binary and multiclass settings. To estimate the excess risk, we introduce a more accurate recalibrator that fits a residual to temperature scaling with gradient boosting. The resulting variational estimator, V-ECE, needs no bins or clusters and lower-bounds the true calibration error in expectation. On a benchmark of semi-synthetic tasks built from real classifiers, with known true CE, V-ECE is among the most accurate binary estimators for every calibration error and significantly outperforms all multiclass estimators. Our results are accompanied by additional theory on $L_p$ CE, estimator bias, and over- or under-confidence estimation.

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

↑