Uncertainty Estimates of Predictions via a General Bias-Variance Decomposition

Sebastian G. Gruber, Florian Buettner
10/21/2022
cs.LGstat.ML

Official code: MLO-lab/Uncertainty_Estimates_via_BVD (11 stars, Jupyter Notebook, MIT, PyTorch, last commit 2023-04-21).

Abstract

Reliably estimating the uncertainty of a prediction throughout the model lifecycle is crucial in many safety-critical applications. The most common way to measure this uncertainty is via the predicted confidence.

Show full abstract

While this tends to work well for in-domain samples, these estimates are unreliable under domain drift and restricted to classification. Alternatively, proper scores can be used for most predictive tasks but a bias-variance decomposition for model uncertainty does not exist in the current literature. In this work we introduce a general bias-variance decomposition for proper scores, giving rise to the Bregman Information as the variance term. We discover how exponential families and the classification log-likelihood are special cases and provide novel formulations. Surprisingly, we can express the classification case purely in the logit space. We showcase the practical relevance of this decomposition on several downstream tasks, including model ensembles and confidence regions. Further, we demonstrate how different approximations of the instance-level Bregman Information allow reliable out-of-distribution detection for all degrees of domain drift.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

The official source code to: Uncertainty Estimates of Predictions via a General Bias-Variance Decomposition (AISTATS'23)

110Jupyter Notebook, PythonFeb 9, 20233 years agoMIT
bias-variancebregman-divergencebregman-informationpytorchuncertainty-estimation

Similar Papers

Cite this paper

@article{gruber2022uncertainty,
  title  = {Uncertainty Estimates of Predictions via a General Bias-Variance Decomposition},
  author = {Sebastian G. Gruber and Florian Buettner},
  year   = {2022},
  eprint = {2210.12256},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.12256}
}

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/2210.12256.svg)](https://codeofpaper.com/paper/2210.12256)

Discussion