Making and Evaluating Calibrated Forecasts

Yuxuan Lu, Yifan Wu, Jason Hartline, Lunjia Hu · Submission to ICLR 2026 · Withdrawn

TL;DR

Standard calibration metrics like Expected Calibration Error (ECE) are notoriously sensitive to binning hyperparameters and "non-truthful"—meaning an uninformative or deceptive predictor can score better than the true data-generating distribution. This paper introduces $\ell_2\text{-QECE}^{(\text{classwise})}$, the first perfectly truthful multi-class calibration error metric, and proves it robustly preserves predictor dominance rankings regardless of the chosen bin count.

What Problem Does This Paper Address?

Reliable uncertainty quantification requires model predictions to match empirical probabilities (e.g., of all instances predicted with 80% confidence, 80% should be correct). However, evaluating calibration is challenging:

  1. Non-truthfulness: Under traditional metrics like ECE, predicting the true posterior probability distribution does not necessarily minimize the error. For example, in small-sample regimes or under coarse binning, a constant uninformative predictor (e.g., predicting 0.5) can score substantially better than the Bayes-optimal model.
  2. Hyperparameter instability: Prior empirical studies have shown that ranking models via binned ECE can flip completely when changing the number of bins $m$. This leaves practitioners unsure how to configure evaluation bins or determine which model is truly more reliable.

While recent work by Hartline et al. (2025) proposed the first truthful calibration measure ($\ell_2$-QECE) for binary classification, extending this property to multi-class settings remained an open question.

Methods

The authors analyze how binary calibration metrics lift to multi-class prediction:

  • Confidence Aggregation Fails: The standard approach (Guo et al., 2017) tracks only the class with the maximum predicted probability. The authors show that even when the underlying binary metric is truthful, confidence aggregation is not truthful—models can strategically manipulate their top prediction to artificially lower their error.
  • Class-Wise Aggregation Preserves Truthfulness: Decomposing a $k$-class problem into $k$ one-vs-rest binary problems and averaging their errors (Kull et al., 2019) preserves truthfulness by linearity of expectation (Theorem 3.1).
  • The Proposed Metric ($\ell_2\text{-QECE}^{(\text{classwise})}_m$): The authors apply class-wise aggregation to the binary $\ell_2$ quantile-binned calibration error. For $n$ samples split into $m$ quantile bins across $k$ classes, the metric is defined as: $$\ell_2\text{-QECE}^{(\text{classwise})}_m := \frac{1}{k} \sum_{r=1}^k \frac{1}{n^2} \sum_{j=1}^m \left( \sum_{i \in B_j^{(r)}} (p_i^{(r)} - y_i^{(r)}) \right)^2$$
  • Dominance Preservation: In statistical decision theory, predictor $f_1$ dominates $f_2$ if it achieves lower or equal expected loss across all proper loss functions (equivalent to dominating across all downstream Bayes decision tasks). The authors prove (Theorem 4.1) that for calibrated predictors, dominance directly implies a lower $\ell_2\text{-QECE}^{(\text{classwise})}_m$ error for any number of bins $m$ and sample size $n$.

Datasets

The authors benchmark vision models fine-tuned on the standard CIFAR-100 dataset:

  • Splits: 45,000 training images, 5,000 validation images (used for post-hoc temperature scaling), and 10,000 test images.
  • Models: Six neural network architectures pretrained on ImageNet: MobileNetV3-Small, ResNet10t, ResNet18, ResNet34, ResNet50, and BiT-ResNetV2-50x1. Checkpoints along training trajectories are evaluated.

No new datasets were introduced.

Key Insights and Ideas

  • Why standard metrics flip model rankings: With non-truthful metrics, sampling noise scales with $\sqrt{m/n}$. When bin counts $m$ vary, the relative balance between sampling variance and bias shifts, causing model rankings to invert.
  • Equivalence to Brier Loss: The authors prove that the expected $\ell_2\text{-QECE}^{(\text{classwise})}_m$ of a calibrated predictor is strictly proportional to its expected multi-class Brier score ($\frac{1}{kn} \mathbb{E}[\ell_{\text{Brier}}(f(x), y)]$), completely independent of $m$.
  • Robustness to miscalibration: Although Theorem 4.1 formally guarantees dominance preservation among calibrated models, theoretical analysis of synthetic distributions demonstrates that this ordering also holds for slightly miscalibrated but highly informative models over uninformative models.

Key Results

  • Ranking Consistency: Across fine-tuning trajectories on CIFAR-100, standard confidence-based metrics ($\ell_1\text{-QECE}^{(\text{conf})}$ and $\ell_2\text{-QECE}^{(\text{conf})}$) produce completely inverted model rankings when switching between $m = 20$ bins and $m = 2000$ bins. In contrast, $\ell_2\text{-QECE}^{(\text{classwise})}$ maintains consistent rankings aligned with log loss, Brier score, and spherical loss across both coarse and fine binning.
  • Theoretical Separation: On synthetic multi-class tasks ($k$-class), non-truthful metrics assign lower error to a completely uninformative uniform predictor ($1/k$) than to the ground truth whenever $k \gg 1/\varepsilon_1$, whereas the truthful class-wise metric strictly preserves the superiority of the ground truth.

Limitations and Future Work

  • Class-Wise vs. Full Calibration: Class-wise calibration evaluates each dimension marginally. It guarantees that $\Pr(y = r \mid f_r(x) = p) = p$, which is a strictly weaker condition than full multi-class calibration conditioning on the entire predicted distribution vector $\mathbf{p} \in \Delta(\mathcal{Y})$.
  • Calibration Precondition for Dominance: The formal dominance preservation proof assumes candidate predictors are calibrated; extending complete dominance-preservation guarantees to arbitrarily miscalibrated predictors remains an open challenge.
  • Scope: The work concentrates on batch evaluations of classification models; extending finite-sample truthful metrics to continuous forecasts or online game-theoretic forecasting is left to future research.

Summary updated

BibTeX
@misc{lu2025making,
  author = {Yuxuan Lu and Yifan Wu and Jason Hartline and Lunjia Hu},
  title = {{Making and Evaluating Calibrated Forecasts}},
  year = {2025},
  eprint = {2510.06388},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.06388},
}
Figure