Skip to main content
QUICK REVIEW

[Paper Review] Better Uncertainty Calibration via Proper Scores for Classification and Beyond

Sebastian Gruber, Florian Buettner|arXiv (Cornell University)|Mar 15, 2022
Adversarial Robustness in Machine LearningComputer Science11 citations
TL;DR

This paper introduces a novel framework of proper calibration errors that links calibration metrics to proper scoring rules, enabling consistent and reliable estimation of uncertainty calibration improvements in deep learning. By leveraging proper scores, the method overcomes the bias and inconsistency of traditional estimators, especially in low-data regimes, and extends recalibration beyond classification to regression and other tasks with improved robustness and accuracy.

ABSTRACT

With model trustworthiness being crucial for sensitive real-world applications, practitioners are putting more and more focus on improving the uncertainty calibration of deep neural networks. Calibration errors are designed to quantify the reliability of probabilistic predictions but their estimators are usually biased and inconsistent. In this work, we introduce the framework of proper calibration errors, which relates every calibration error to a proper score and provides a respective upper bound with optimal estimation properties. This relationship can be used to reliably quantify the model calibration improvement. We theoretically and empirically demonstrate the shortcomings of commonly used estimators compared to our approach. Due to the wide applicability of proper scores, this gives a natural extension of recalibration beyond classification.

Motivation & Objective

  • Address the critical need for reliable uncertainty calibration in high-stakes applications like medical diagnostics and climate forecasting.
  • Identify fundamental flaws in existing calibration error estimators, which are biased and inconsistent, especially with small test sets.
  • Develop a unified framework that links calibration errors to proper scoring rules to ensure theoretical guarantees and improved estimation properties.
  • Extend recalibration beyond classification to regression and other probabilistic prediction tasks using the proper score framework.
  • Provide a robust, consistent, and reliable method for quantifying calibration improvement, even in low-data regimes commonly found in medical and scientific applications.

Proposed method

  • Introduce the concept of proper calibration errors, where each calibration error is formally tied to a proper scoring rule, ensuring theoretical consistency and optimal estimation properties.
  • Use proper scores—such as the DSS (Divergence Score for Scoring)—as the foundation for defining calibration errors that are consistent and unbiased under correct model assumptions.
  • Apply injective recalibration methods (e.g., Platt scaling) and show that optimizing via the associated proper score is equivalent to minimizing the corresponding calibration error.
  • Demonstrate that proper scores like DSS and SKCE (Spherical Score) can be used to evaluate and improve uncertainty calibration in both classification and regression settings.
  • Implement and validate the framework on diverse datasets (CIFAR-10, CIFAR-100, ImageNet, UCI Residential, Friedman 1), using mixture density networks for variance prediction in regression.
  • Use resampling and multiple random seeds to assess estimation stability and robustness across varying test set sizes, highlighting the superiority of proper score-based estimators.

Experimental results

Research questions

  • RQ1Why are commonly used calibration error estimators, such as ECE and KDE CE, biased and inconsistent, especially in low-data regimes?
  • RQ2How can calibration errors be redefined to ensure consistency and optimal estimation properties in uncertainty quantification?
  • RQ3To what extent can proper scoring rules be used to define calibration errors that are robust and generalizable beyond classification?
  • RQ4How does the proposed framework improve the estimation of recalibration gains in both classification and regression tasks?
  • RQ5Can proper score-based calibration metrics reliably detect and quantify improvements in uncertainty calibration when test set sizes are small?

Key findings

  • Common calibration estimators like ECE and KDE CE exhibit strong bias and inconsistency, especially with small test sets, leading to over- or underestimation of recalibration gains.
  • The proposed proper calibration error framework, grounded in proper scoring rules, provides consistent and reliable estimation of calibration improvement, even with limited data.
  • The DSS (Divergence Score for Scoring) consistently captures recalibration effects in both classification and regression, while SKCE fails to reflect variance-related improvements and behaves erratically.
  • In regression tasks with varying predictive variance (e.g., modified Friedman 1), recalibration based on proper scores successfully corrects overfitting in variance predictions, improving uncertainty communication.
  • The framework enables accurate, injective recalibration that preserves predictive accuracy while improving calibration, as validated across multiple datasets and model architectures.
  • Empirical results show that proper score-based estimators (e.g., DSS) are robust to test set size variations, unlike traditional estimators, which monotonically worsen with fewer samples.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.