Calibration error (CE) measures how closely a model's predicted probabilities match true outcome frequencies. Standard binning-based estimators are often inconsistent and scale poorly beyond binary classification. A new paper introduces V-ECE, a variational estimator that avoids binning and works for a general class of divergences.

V-ECE builds on a recent reformulation of CE as an excess risk relative to the best recalibration under a proper loss. That approach previously worked only for Bregman divergences such as squared error. By using prediction-dependent proper scores, the authors extend the framework to general convex divergences, including L_p distances, with closed-form losses in both binary and multiclass settings.

The estimator fits a residual to temperature scaling via gradient boosting, then lower-bounds the true calibration error in expectation. On semi-synthetic benchmarks built from real classifiers with known true CE, V-ECE is among the most accurate binary estimators for every calibration error tested and significantly outperforms all multiclass estimators. The paper also contributes theory on L_p CE, estimator bias, and over- or under-confidence estimation.