Bayesian Neural Network Priors Revisited

Vincent Fortuin, Adrià Garriga-Alonso, Sebastian W. Ober, Florian Wenzel, Gunnar Rätsch +3 more
2/12/2021
stat.MLcs.LG
bayesian

Official code: ratschlab/bnn_priors (61 stars, Python, MIT, last commit 2021-07-01).

Abstract

Isotropic Gaussian priors are the de facto standard for modern Bayesian neural network inference. However, it is unclear whether these priors accurately reflect our true beliefs about the weight distributions or give optimal performance.

Show full abstract

To find better priors, we study summary statistics of neural network weights in networks trained using stochastic gradient descent (SGD). We find that convolutional neural network (CNN) and ResNet weights display strong spatial correlations, while fully connected networks (FCNNs) display heavy-tailed weight distributions. We show that building these observations into priors can lead to improved performance on a variety of image classification datasets. Surprisingly, these priors mitigate the cold posterior effect in FCNNs, but slightly increase the cold posterior effect in ResNets.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Bayesian Neural Network Priors Revisited"

6117Python, Jupyter NotebookFeb 12, 20215 years agoMIT

Similar Papers

Cite this paper

@article{fortuin2021bayesian,
  title  = {Bayesian Neural Network Priors Revisited},
  author = {Vincent Fortuin and Adrià Garriga-Alonso and Sebastian W. Ober and Florian Wenzel and Gunnar Rätsch and Richard E. Turner and Mark van der Wilk and Laurence Aitchison},
  year   = {2021},
  eprint = {2102.06571},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.06571}
}

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

Discussion