Lune

ICML2021Top-tier venue

What Are Bayesian Neural Network Posteriors Really Like?

Pavel Izmailov, Sharad Vikram, Matthew D. Hoffman, Andrew Gordon Wilson

Abstract

The posterior over Bayesian neural network (BNN) parameters is extremely high-dimensional and non-convex. For computational reasons, researchers approximate this posterior using inexpensive mini-batch methods such as mean-field variational inference or stochastic-gradient Markov chain Monte Carlo (SGMCMC). To investigate foundational questions in Bayesian deep learning, we instead use full-batch Hamiltonian Monte Carlo (HMC) on modern architectures. We show that (1) BNNs can achieve significant performance gains over standard training and deep ensembles; (2) a single long HMC chain can provide a comparable representation of the posterior to multiple shorter chains; (3) in contrast to recent studies, we find posterior tempering is not needed for near-optimal performance, with little evidence for a"cold posterior"effect, which we show is largely an artifact of data augmentation; (4) BMA performance is robust to the choice of prior scale, and relatively similar for diagonal Gaussian, mixture of Gaussian, and logistic priors; (5) Bayesian neural networks show surprisingly poor generalization under domain shift; (6) while cheaper alternatives such as deep ensembles and SGMCMC methods can provide good generalization, they provide distinct predictive distributions from HMC. Notably, deep ensemble predictive distributions are similarly close to HMC as standard SGLD, and closer than standard variational inference.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

99 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficient and Scalable Bayesian Neural Nets with Rank-1 Factors cites Cyclical Stochastic Gradient MCMC for Bayesian Deep Learning
  • Bayesian Deep Learning and a Probabilistic Perspective of Generalization cites Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learning
  • Bayesian Low-rank Adaptation for Large Language Models cites Efficient and Scalable Bayesian Neural Nets with Rank-1 Factors
  • Bayesian Low-rank Adaptation for Large Language Models cites Laplace Redux - Effortless Bayesian Deep Learning
  • Bayesian Low-rank Adaptation for Large Language Models cites Bayesian Neural Network Priors Revisited
  • Bayesian Low-rank Adaptation for Large Language Models cites Cyclical Stochastic Gradient MCMC for Bayesian Deep Learning
  • Bayesian Low-rank Adaptation for Large Language Models cites Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learning
  • Laplace Redux - Effortless Bayesian Deep Learning cites Bayesian Deep Learning and a Probabilistic Perspective of Generalization
  • Laplace Redux - Effortless Bayesian Deep Learning cites Cyclical Stochastic Gradient MCMC for Bayesian Deep Learning
  • Bayesian Neural Network Priors Revisited cites Efficient and Scalable Bayesian Neural Nets with Rank-1 Factors
  • Bayesian Neural Network Priors Revisited cites Cyclical Stochastic Gradient MCMC for Bayesian Deep Learning
  • Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learning cites Cyclical Stochastic Gradient MCMC for Bayesian Deep Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers99

  1. Bayesian Deep Learning and a Probabilistic Perspective of GeneralizationAndrew Gordon Wilson, Pavel IzmailovNeurIPS 2020 · 845 citations
  2. Laplace Redux - Effortless Bayesian Deep LearningErik A. Daxberger, Agustinus Kristiadi, Alexander Immer, Runa Eschenhagen et al.NeurIPS 2021 · 508 citations
  3. Transformers Can Do Bayesian InferenceSamuel Müller, Noah Hollmann, Sebastian Pineda-Arango, Josif Grabocka et al.ICLR 2022 · 287 citations
  4. Uncertainty Quantification over Graph with Conformalized Graph Neural NetworksKexin Huang, Ying Jin, Emmanuel J. Candès, Jure LeskovecNeurIPS 2023 · 124 citations
  5. Bayesian Low-rank Adaptation for Large Language ModelsAdam X. Yang, Maxime Robeyns, Xi Wang, Laurence AitchisonICLR 2024 · 111 citations

Builds on9

  1. Bayesian Deep Learning and a Probabilistic Perspective of GeneralizationAndrew Gordon Wilson, Pavel IzmailovNeurIPS 2020 · 845 citations
  2. Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep LearningArsenii Ashukha, Alexander Lyzhov, Dmitry Molchanov, Dmitry P. VetrovICLR 2020 · 354 citations
  3. Cyclical Stochastic Gradient MCMC for Bayesian Deep LearningRuqi Zhang, Chunyuan Li, Jianyi Zhang, Changyou Chen et al.ICLR 2020 · 292 citations
  4. Efficient and Scalable Bayesian Neural Nets with Rank-1 FactorsMichael Dusenberry, Ghassen Jerfel, Yeming Wen, Yi-An Ma et al.ICML 2020 · 239 citations
  5. Bayesian Neural Network Priors RevisitedVincent Fortuin, Adrià Garriga-Alonso, Sebastian W. Ober, Florian Wenzel et al.ICLR 2022 · 162 citations

Related papers

  1. Dangers of Bayesian Model Averaging under Covariate ShiftPavel Izmailov, Patrick Nicholson, Sanae Lotfi, Andrew Gordon WilsonNeurIPS 2021 · 51 citations
  2. Microcanonical Langevin Ensembles: Advancing the Sampling of Bayesian Neural NetworksEmanuel Sommer, Jakob Robnik, Giorgi Nozadze, Uros Seljak et al.ICLR 2025
  3. Posterior Refinement Improves Sample Efficiency in Bayesian Neural NetworksAgustinus Kristiadi, Runa Eschenhagen, Philipp HennigNeurIPS 2022 · 17 citations
  4. Bayesian Posterior Approximation With Stochastic EnsemblesOleksandr Balabanov, Bernhard Mehlig, Hampus LinanderCVPR 2023
  5. Parameter Expanded Stochastic Gradient Markov Chain Monte CarloHyunsu Kim, Giung Nam, Chulhee Yun, Hongseok Yang et al.ICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines