Subspace Inference for Bayesian Deep Learning

Pavel Izmailov, Wesley J. Maddox, Polina Kirichenko, Timur Garipov, Dmitry Vetrov +1 more
7/17/2019
cs.LGstat.ML
bayesian

Official code: wjmaddox/drbayes (82 stars, Jupyter Notebook, BSD-2-Clause, last commit 2024-06-17).

Abstract

Bayesian inference was once a gold standard for learning with neural networks, providing accurate full predictive distributions and well calibrated uncertainty. However, scaling Bayesian inference techniques to deep neural networks is challenging due to the high dimensionality of the parameter space.

Show full abstract

In this paper, we construct low-dimensional subspaces of parameter space, such as the first principal components of the stochastic gradient descent (SGD) trajectory, which contain diverse sets of high performing models. In these subspaces, we are able to apply elliptical slice sampling and variational inference, which struggle in the full parameter space. We show that Bayesian model averaging over the induced posterior in these subspaces produces accurate predictions and well calibrated predictive uncertainty for both regression and image classification.

View on arXivView PDF

Code Implementations(1)

wjmaddox/drbayesOfficial100%
BSD-2-Clause

Code Repo for "Subspace Inference for Bayesian Deep Learning"

8223Jupyter Notebook, PythonJun 9, 20192 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{izmailov2019subspace,
  title  = {Subspace Inference for Bayesian Deep Learning},
  author = {Pavel Izmailov and Wesley J. Maddox and Polina Kirichenko and Timur Garipov and Dmitry Vetrov and Andrew Gordon Wilson},
  year   = {2019},
  eprint = {1907.07504},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.07504}
}

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

Discussion