Skip to main content
QUICK REVIEW

[Paper Review] On the Validity of Bayesian Neural Networks for Uncertainty Estimation

John Mitros, Brian Mac Namee|arXiv (Cornell University)|Dec 3, 2019
Adversarial Robustness in Machine LearningComputer Science21 references23 citations
TL;DR

This paper evaluates Bayesian Neural Networks (BNNs) against standard point-estimate Deep Neural Networks (DNNs) for uncertainty estimation, demonstrating that BNNs provide better-calibrated predictions and superior ability to detect out-of-distribution samples. Using multiple architectures and datasets, BNNs consistently reduce calibration error and increase symmetric KL divergence between in- and out-of-distribution predictions, indicating improved uncertainty quantification.

ABSTRACT

Deep neural networks (DNN) are versatile parametric models utilised successfully in a diverse number of tasks and domains. However, they have limitations---particularly from their lack of robustness and over-sensitivity to out of distribution samples. Bayesian Neural Networks, due to their formulation under the Bayesian framework, provide a principled approach to building neural networks that address these limitations. This paper describes a study that empirically evaluates and compares Bayesian Neural Networks to their equivalent point estimate Deep Neural Networks to quantify the predictive uncertainty induced by their parameters, as well as their performance in view of this uncertainty. In this study, we evaluated and compared three point estimate deep neural networks against comparable Bayesian neural network alternatives using two well-known benchmark image classification datasets (CIFAR-10 and SVHN).

Motivation & Objective

  • To investigate whether Bayesian Neural Networks (BNNs) provide more reliable and calibrated uncertainty estimates than standard point-estimate Deep Neural Networks (DNNs).
  • To assess the ability of DNNs and BNNs to detect out-of-distribution (OoD) samples through uncertainty quantification.
  • To evaluate the trade-off between model accuracy and calibration performance in both standard and Bayesian deep learning frameworks.
  • To compare different BNN approximation methods—Monte Carlo Dropout, SWAG, and variational inference—on uncertainty estimation and robustness.

Proposed method

  • Trained standard DNNs with SGD and softmax output for point-estimate classification, where confidence scores are derived from normalized exponential logits.
  • Applied three Bayesian neural network methods: Monte Carlo Dropout (MC Dropout), SWAG (Ensemble-based approximate posterior), and variational inference via weight distributions.
  • Used expected calibration error (ECE) and reliability diagrams to measure confidence calibration of predictions.
  • Evaluated OoD detection performance using symmetric KL divergence and distributional entropy between in-distribution and out-of-distribution sample confidence distributions.
  • Split datasets (CIFAR-10, SVHN, FashionMNIST) into two 5-class subsets to simulate in-distribution (training) and out-of-distribution (test) scenarios.
  • Measured uncertainty via entropy of class confidence distributions and compared distributions between in- and out-of-distribution sets using symmetric KL divergence.

Experimental results

Research questions

  • RQ1Do Bayesian Neural Networks provide better-calibrated uncertainty estimates than standard point-estimate Deep Neural Networks?
  • RQ2Can Bayesian Neural Networks more effectively identify out-of-distribution samples through higher predictive uncertainty?
  • RQ3How do different Bayesian approximation methods (MC Dropout, SWAG, variational inference) compare in terms of calibration and OoD detection?
  • RQ4Is there a trade-off between model accuracy and calibration performance in DNNs and BNNs?
  • RQ5Does model complexity correlate with increased calibration error in point-estimate DNNs, and can BNNs mitigate this?

Key findings

  • Point-estimate DNNs exhibit high calibration error (e.g., ECE of 0.0677 for VGG16-SGD on CIFAR-10), indicating poor confidence calibration despite high accuracy.
  • Bayesian Neural Networks significantly reduce expected calibration error: WideResNet28x10-SWAG achieved ECE of 0.0098 on CIFAR-10, the lowest among all models.
  • BNNs like PreResNet164-MC Dropout and WideResNet28x10-SWAG show higher symmetric KL divergence (e.g., 6.27 on SVHN) between in- and out-of-distribution confidence distributions, indicating better OoD detection.
  • Models such as VGG16-SGD and VGG16-MC Dropout achieved symmetric KL divergence of 5.64 and 6.27 on SVHN, respectively, outperforming many BNN variants in some cases, though overall BNNs show more consistent performance.
  • SWAG-based BNNs (e.g., WideResNet28x10-SWAG) achieved the lowest ECE (0.0098) and high OoD detection scores (3.65 on SVHN), indicating strong performance in both calibration and uncertainty quantification.
  • Deep Gaussian Process, a non-DNN baseline, showed poor calibration (ECE = 0.1418) and weak OoD detection (symmetric KL = 0.80 on CIFAR-10), underscoring the advantage of deep neural architectures with Bayesian inference.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.