NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Survey of Uncertainty in Deep Neural Networks

Jakob Gawlikowski, Cedrique Rovile Njieutcheu Tassi, Mohsin Ali, Jongseok Lee, Matthias Humt, Jianxiang Feng, Anna M. Kruspe, Rudolph Triebel, Peter Jung, Ribana Roscher, Muhammad Shahzad, Wen Yang, Richard Bamler, Xiao Xiang Zhu

TL;DR

Deep neural networks (DNNs) are notoriously overconfident, often providing "certain" answers even when they are wrong or encountering data they’ve never seen. This survey provides a comprehensive taxonomy of uncertainty—distinguishing between noise in data and gaps in model knowledge—and evaluates the leading strategies for making AI systems "know what they don't know."

What Problem Does This Paper Address?

As DNNs move from research labs into safety-critical domains like autonomous driving and medical diagnosis, their lack of transparency becomes a liability. A standard neural network is a "black box" that outputs a prediction without a reliable measure of its own confidence. This leads to several critical failures:

  • Overconfidence: Predicting a class with 99% probability even when the input is ambiguous.
  • Out-of-Distribution (OOD) Blindness: Failing to recognize when an input (e.g., a bird) is completely different from the training data (e.g., cats and dogs).
  • Vulnerability: Susceptibility to adversarial attacks that exploit these confidence gaps.

The authors tackle these issues by categorizing the sources of uncertainty and reviewing the methods developed to quantify and calibrate them.

Methods

The paper organizes uncertainty estimation into four primary methodological families, as visualized in the survey's central taxonomy:

Visualization of the four different types of uncertainty quantification methods presented in the paper.
  1. Single Deterministic Methods: These use a single forward pass to estimate uncertainty. They are subdivided into Internal methods (like Prior Networks that explicitly model a distribution over outputs) and External methods (which use additional components or gradient metrics to flag uncertainty).
  2. Bayesian Neural Networks (BNNs): Instead of fixed weights, BNNs treat weights as probability distributions. Techniques like Variational Inference, Monte-Carlo Dropout, and Laplace Approximation allow the model to express a range of possible solutions.
  3. Ensemble Methods: This involves training multiple independent models (members) and measuring the variance in their predictions. If all members agree, uncertainty is low; if they disagree, it is high.
  4. Test-Time Augmentation (TTA): A simpler approach where the input is slightly modified (e.g., rotated or cropped) multiple times. The model’s consistency across these variations serves as a proxy for confidence.

Datasets

The survey notes that while most research relies on standard machine learning benchmarks, real-world applications require more specialized data:

  • Standard Benchmarks: MNIST, CIFAR-10/100, and SVHN are frequently used for OOD detection and calibration tests.
  • Regression Tasks: Toy datasets and the UCI repository are common for visualizing uncertainty intervals.
  • Real-World Domains: The paper highlights medical imaging (e.g., brain tumor segmentation), robotics (localization and mapping), and Earth Observation (land cover classification) as fields where uncertainty is vital.

Key Insights and Ideas

  • Aleatoric vs. Epistemic: The most fundamental distinction is between Aleatoric (data) uncertainty, which is irreducible noise (like a blurry image), and Epistemic (model) uncertainty, which is a lack of knowledge that could be fixed with more training data.
  • The Calibration Gap: A model can be accurate but poorly calibrated. Calibration ensures that if a model says it is 70% sure, it is actually correct 70% of the time. The authors emphasize that estimation and calibration are distinct but equally necessary steps.
  • Distributional Uncertainty: This is a third category often overlooked, representing uncertainty caused by a shift in the data distribution (e.g., training on sunny images but testing in the rain), as shown in Figure 1.
Fig. 1: Visualization of the data, the model, and the distributional uncertainty for classification and regression models.

Key Results

  • Ensembles are the Gold Standard: Deep Ensembles consistently outperform other methods in terms of both accuracy and calibration, though they are computationally expensive.
  • MC Dropout is the Practical Choice: Due to its ease of implementation, Monte-Carlo Dropout remains the most widely used Bayesian approximation in the literature.
  • Efficiency Trade-offs: Single deterministic methods are the fastest but often struggle with OOD detection compared to multi-model approaches.

Limitations and Future Work

The authors identify several "open frontiers" for the field:

  • Lack of Ground Truth: There is no "ImageNet for uncertainty." We lack standardized benchmarks where the "correct" uncertainty value is known, making it hard to compare methods objectively.
  • Explainability: Current methods tell us that the model is uncertain, but rarely why. Integrating physical models or domain knowledge could help bridge this gap.
  • Pointwise Evaluation: Most metrics (like ECE) evaluate uncertainty over a whole dataset. We need better ways to assess the reliability of a single decision in real-time.
  • Real-World Validation: Many methods that work on CIFAR-10 fail to scale to the complexity of high-resolution satellite imagery or medical scans.
Fig. 2: The illustration shows the different steps of a neural network pipeline, based on the earth observation example of land cover classification (here settlement and forest) based on optical images. The different factors that affect the predictive uncertainty are highlighted in the boxes. Factor I is shown as changing environments by cloud covered trees, different types and colors of trees. Factor II is shown by insufficient measurements, that can not directly be used to separate between settlement and forest and by label noise. In practice, the resolution of such images can be low and which would also be part of Factor II. Factor III and Factor IV represent the uncertainties caused by the network structure and the stochastic training process, respectively. Factor V in contrast is represented by feeding the trained network with unknown types of images, namely cows and pigs.

Summary updated

BibTeX
@misc{gawlikowski2021survey,
  author = {Jakob Gawlikowski and Cedrique Rovile Njieutcheu Tassi and Mohsin Ali and Jongseok Lee and Matthias Humt and Jianxiang Feng and Anna M. Kruspe and Rudolph Triebel and Peter Jung and Ribana Roscher and Muhammad Shahzad and Wen Yang and Richard Bamler and Xiao Xiang Zhu},
  title = {{A Survey of Uncertainty in Deep Neural Networks}},
  year = {2021},
  eprint = {2107.03342},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.03342},
}
Figure