Deeply Uncertain: Comparing Methods of Uncertainty Quantification in Deep Learning Algorithms

João Caldeira, Brian Nord
4/22/2020
cs.LGphysics.comp-phstat.ML

Official code: deepskies/DeeplyUncertain-Public (27 stars, Jupyter Notebook, Apache-2.0, last commit 2023-02-22).

Abstract

We present a comparison of methods for uncertainty quantification (UQ) in deep learning algorithms in the context of a simple physical system. Three of the most common uncertainty quantification methods - Bayesian Neural Networks (BNN), Concrete Dropout (CD), and Deep Ensembles (DE) - are compared to the standard analytic error propagation.

Show full abstract

We discuss this comparison in terms endemic to both machine learning ("epistemic" and "aleatoric") and the physical sciences ("statistical" and "systematic"). The comparisons are presented in terms of simulated experimental measurements of a single pendulum - a prototypical physical system for studying measurement and analysis techniques. Our results highlight some pitfalls that may occur when using these UQ methods. For example, when the variation of noise in the training set is small, all methods predicted the same relative uncertainty independently of the inputs. This issue is particularly hard to avoid in BNN. On the other hand, when the test set contains samples far from the training distribution, we found that no methods sufficiently increased the uncertainties associated to their predictions. This problem was particularly clear for CD. In light of these results, we make some recommendations for usage and interpretation of UQ methods.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
277Jupyter Notebook, PythonApr 22, 20203 years agoApache-2.0

Similar Papers

Cite this paper

@article{caldeira2020deeply,
  title  = {Deeply Uncertain: Comparing Methods of Uncertainty Quantification in Deep Learning Algorithms},
  author = {João Caldeira and Brian Nord},
  year   = {2020},
  eprint = {2004.10710},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.10710}
}

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

Discussion