Efficient and Scalable Bayesian Neural Nets with Rank-1 Factors

Michael W. Dusenberry, Ghassen Jerfel, Yeming Wen, Yi-An Ma, Jasper Snoek +3 more
5/14/2020
cs.LGstat.ML
bayesian

Official code: google/edward2 (714 stars, Jupyter Notebook, Apache-2.0, TensorFlow, last commit 2026-10-05).

Abstract

Bayesian neural networks (BNNs) demonstrate promising success in improving the robustness and uncertainty quantification of modern deep learning. However, they generally struggle with underfitting at scale and parameter efficiency.

Show full abstract

On the other hand, deep ensembles have emerged as alternatives for uncertainty quantification that, while outperforming BNNs on certain problems, also suffer from efficiency issues. It remains unclear how to combine the strengths of these two approaches and remediate their common issues. To tackle this challenge, we propose a rank-1 parameterization of BNNs, where each weight matrix involves only a distribution on a rank-1 subspace. We also revisit the use of mixture approximate posteriors to capture multiple modes, where unlike typical mixtures, this approach admits a significantly smaller memory increase (e.g., only a 0.4% increase for a ResNet-50 mixture of size 10). We perform a systematic empirical study on the choices of prior, variational posterior, and methods to improve training. For ResNet-50 on ImageNet, Wide ResNet 28-10 on CIFAR-10/100, and an RNN on MIMIC-III, rank-1 BNNs achieve state-of-the-art performance across log-likelihood, accuracy, and calibration on the test sets and out-of-distribution variants.

View on arXivView PDF

Code Implementations(1)

google/edward2Official100%
TensorFlowApache-2.0

A simple probabilistic programming language.

71477Jupyter Notebook, PythonAug 7, 20191 months agoApache-2.0
bayesian-methodsdata-sciencedeep-learningmachine-learningneural-networks+3 more

Similar Papers

Cite this paper

@article{dusenberry2020efficient,
  title  = {Efficient and Scalable Bayesian Neural Nets with Rank-1 Factors},
  author = {Michael W. Dusenberry and Ghassen Jerfel and Yeming Wen and Yi-An Ma and Jasper Snoek and Katherine Heller and Balaji Lakshminarayanan and Dustin Tran},
  year   = {2020},
  eprint = {2005.07186},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.07186}
}

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

Discussion