English

Beyond ECE: Calibrated Size Ratio, Risk Assessment, and Confidence-Weighted Metrics

Machine Learning 2026-05-06 v2 Statistics Theory Statistics Theory

Abstract

Confidence calibration has been dominated by the Expected Calibration Error (ECE), a linear metric that counts calibration offset equally regardless of the confidence level at which it occurs. We show that ECE can remain small even under arbitrarily large overconfidence risk, so we propose Calibrated Size Ratio (CSR) instead, an interpretable metric that equals 1 under perfect calibration, from which we derive the risk probability PriskP_{\mathrm{risk}} that quantifies the statistical evidence for overconfidence. We further argue that overconfidence risk assessment must be complemented by a measure of discriminative value: whether the assigned confidences actively distinguish correct from incorrect predictions. We show that confidence-weighted accuracy cwA\mathrm{cwA} is the natural such complement, and that confidence-weighting extends to all standard classification metrics. In particular, we prove that the confidence-weighted AUC (cwAUC) captures the information about calibration while the classical AUC cannot. We validate the proposed indicators on several synthetic confidence distributions under multiple controlled calibration profiles and find that CSR separates risky from non-risky assignments. We also test the metrics on fifteen real datasets, with and without post-hoc calibration, and find that standard methods can yield risky confidence profiles.

Keywords

Cite

@article{arxiv.2605.01796,
  title  = {Beyond ECE: Calibrated Size Ratio, Risk Assessment, and Confidence-Weighted Metrics},
  author = {Fernando Martin-Maroto and Nabil Abderrahaman and Gonzalo G. de Polavieja},
  journal= {arXiv preprint arXiv:2605.01796},
  year   = {2026}
}