Bayesian Confidence Calibration for Epistemic Uncertainty Modelling

Fabian Küppers, Jan Kronenberger, Jonas Schneider, Anselm Haselhoff
9/21/2021
cs.CV
bayesian

Official code: EFS-OpenSource/calibration-framework (383 stars, Python, Apache-2.0, last commit 2026-04-16).

Abstract

Modern neural networks have found to be miscalibrated in terms of confidence calibration, i.e., their predicted confidence scores do not reflect the observed accuracy or precision. Recent work has introduced methods for post-hoc confidence calibration for classification as well as for object detection to address this issue.

Show full abstract

Especially in safety critical applications, it is crucial to obtain a reliable self-assessment of a model. But what if the calibration method itself is uncertain, e.g., due to an insufficient knowledge base? We introduce Bayesian confidence calibration - a framework to obtain calibrated confidence estimates in conjunction with an uncertainty of the calibration method. Commonly, Bayesian neural networks (BNN) are used to indicate a network's uncertainty about a certain prediction. BNNs are interpreted as neural networks that use distributions instead of weights for inference. We transfer this idea of using distributions to confidence calibration. For this purpose, we use stochastic variational inference to build a calibration mapping that outputs a probability distribution rather than a single calibrated estimate. Using this approach, we achieve state-of-the-art calibration performance for object detection calibration. Finally, we show that this additional type of uncertainty can be used as a sufficient criterion for covariate shift detection. All code is open source and available at https://github.com/EFS-OpenSource/calibration-framework.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

The net:cal calibration framework is a Python 3 library for measuring and mitigating miscalibration of uncertainty estimates, e.g., by a neural network.

38350PythonJul 22, 20197 months agoApache-2.0

Similar Papers

Cite this paper

@article{kppers2021bayesian,
  title  = {Bayesian Confidence Calibration for Epistemic Uncertainty Modelling},
  author = {Fabian Küppers and Jan Kronenberger and Jonas Schneider and Anselm Haselhoff},
  year   = {2021},
  eprint = {2109.10092},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.10092}
}

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

Discussion