Deep Deterministic Uncertainty: A Simple Baseline

Jishnu Mukhoti, Andreas Kirsch, Joost van Amersfoort, Philip H. S. Torr, Yarin Gal
2/23/2021
300 citations
cs.LGstat.ML

Official code: omegafragger/DDU (150 stars, Jupyter Notebook, MIT, last commit 2023-06-02).

Abstract

Reliable uncertainty from deterministic single-forward pass models is sought after because conventional methods of uncertainty quantification are computationally expensive. We take two complex single-forward-pass uncertainty approaches, DUQ and SNGP, and examine whether they mainly rely on a well-regularized feature space.

Show full abstract

Crucially, without using their more complex methods for estimating uncertainty, a single softmax neural net with such a feature-space, achieved via residual connections and spectral normalization, *outperforms* DUQ and SNGP's epistemic uncertainty predictions using simple Gaussian Discriminant Analysis *post-training* as a separate feature-space density estimator -- without fine-tuning on OoD data, feature ensembling, or input pre-procressing. This conceptually simple *Deep Deterministic Uncertainty (DDU)* baseline can also be used to disentangle aleatoric and epistemic uncertainty and performs as well as Deep Ensembles, the state-of-the art for uncertainty prediction, on several OoD benchmarks (CIFAR-10/100 vs SVHN/Tiny-ImageNet, ImageNet vs ImageNet-O) as well as in active learning settings across different model architectures, yet is *computationally cheaper*.

View on arXivView PDF

Code Implementations(1)

omegafragger/DDUOfficial100%
MIT

Code for Deterministic Neural Networks with Appropriate Inductive Biases Capture Epistemic and Aleatoric Uncertainty

15027Jupyter Notebook, PythonMay 20, 20213 years agoMIT

Similar Papers

Cite this paper

@article{mukhoti2021deep,
  title  = {Deep Deterministic Uncertainty: A Simple Baseline},
  author = {Jishnu Mukhoti and Andreas Kirsch and Joost van Amersfoort and Philip H. S. Torr and Yarin Gal},
  year   = {2021},
  eprint = {2102.11582},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.11582}
}

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

Discussion