Depth Uncertainty in Neural Networks

Javier Antorán, James Urquhart Allingham, José Miguel Hernández-Lobato
6/15/2020
stat.MLcs.LG

Official code: cambridge-mlg/DUN (78 stars, Jupyter Notebook, MIT, PyTorch, last commit 2023-10-03).

Abstract

Existing methods for estimating uncertainty in deep learning tend to require multiple forward passes, making them unsuitable for applications where computational resources are limited. To solve this, we perform probabilistic reasoning over the depth of neural networks.

Show full abstract

Different depths correspond to subnetworks which share weights and whose predictions are combined via marginalisation, yielding model uncertainty. By exploiting the sequential structure of feed-forward networks, we are able to both evaluate our training objective and make predictions with a single forward pass. We validate our approach on real-world regression and image classification tasks. Our approach provides uncertainty calibration, robustness to dataset shift, and accuracies competitive with more computationally expensive baselines.

View on arXivView PDF

Code Implementations(1)

cambridge-mlg/DUNOfficial100%
PyTorchMIT

Code for "Depth Uncertainty in Neural Networks" (https://arxiv.org/abs/2006.08437)

7811Jupyter Notebook, PythonJun 12, 20203 years agoMIT
bayesian-deep-learningbayesian-inferencebayesian-neural-networksdeep-learningexpectation-maximization+15 more

Similar Papers

Cite this paper

@article{antorn2020depth,
  title  = {Depth Uncertainty in Neural Networks},
  author = {Javier Antorán and James Urquhart Allingham and José Miguel Hernández-Lobato},
  year   = {2020},
  eprint = {2006.08437},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.08437}
}

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

Discussion