Better Uncertainty Calibration via Proper Scores for Classification and Beyond

Sebastian G. Gruber, Florian Buettner
3/15/2022
94 citations
cs.LGstat.ML

Official code: MLO-lab/better_uncertainty_calibration (11 stars, Jupyter Notebook, PyTorch, last commit 2024-12-12).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

PyTorch

The official source code to: Better Uncertainty Calibration via Proper Scores for Classification and Beyond (NeurIPS'22)

111Jupyter Notebook, PythonNov 21, 20221 years ago
calibrationcalibration-errorpytorchuncertainty-quantification

Similar Papers

Cite this paper

@article{gruber2022better,
  title  = {Better Uncertainty Calibration via Proper Scores for Classification and Beyond},
  author = {Sebastian G. Gruber and Florian Buettner},
  year   = {2022},
  eprint = {2203.07835},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.07835}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.07835.svg)](https://codeofpaper.com/paper/2203.07835)

Discussion