Bayesian Deep Learning via Subnetwork Inference
Erik A. Daxberger, Eric T. Nalisnick, James Urquhart Allingham, Javier Antorán, José Miguel Hernández-Lobato
Abstract
The Bayesian paradigm has the potential to solve core issues of deep neural networks such as poor calibration and data inefficiency. Alas, scaling Bayesian inference to large weight spaces often requires restrictive approximations. In this work, we show that it suffices to perform inference over a small subset of model weights in order to obtain accurate predictive posteriors. The other weights are kept as point estimates. This subnetwork inference framework enables us to use expressive, otherwise intractable, posterior approximations over such subsets. In particular, we implement subnetwork linearized Laplace as a simple, scalable Bayesian deep learning method: We first obtain a MAP estimate of all weights and then infer a full-covariance Gaussian posterior over a subnetwork using the linearized Laplace approximation. We propose a subnetwork selection strategy that aims to maximally preserve the model's predictive uncertainty. Empirically, our approach compares favorably to ensembles and less expressive posterior approximations over full networks. Our proposed subnetwork (linearized) Laplace method is implemented within the laplace PyTorch library at https://github.com/AlexImmer/Laplace.
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.
38 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- What Are Bayesian Neural Network Posteriors Really Like? cites Bayesian Deep Learning and a Probabilistic Perspective of Generalization
- Bayesian Deep Learning and a Probabilistic Perspective of Generalization cites What Are Bayesian Neural Network Posteriors Really Like?
- What Are Bayesian Neural Network Posteriors Really Like? cites Pitfalls of In-Domain Uncertainty Estimation and Ensembling in 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 What Are Bayesian Neural Network Posteriors Really Like?
- Bayesian Low-rank Adaptation for Large Language Models cites Laplace Redux - Effortless Bayesian Deep Learning
- Bayesian Low-rank Adaptation for Large Language Models cites Accelerated Linearized Laplace Approximation for Bayesian Deep Learning
- Bayesian Low-rank Adaptation for Large Language Models cites Adapting the Linearised Laplace Model Evidence for Modern Deep Learning
- Bayesian Low-rank Adaptation for Large Language Models cites Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learning
- Variational Bayesian Last Layers cites What Are Bayesian Neural Network Posteriors Really Like?
- Variational Bayesian Last Layers cites Bayesian Deep Learning and a Probabilistic Perspective of Generalization
- Variational Bayesian Last Layers cites Laplace Redux - Effortless Bayesian Deep Learning
- Laplace Redux - Effortless Bayesian Deep Learning cites What Are Bayesian Neural Network Posteriors Really Like?
- Laplace Redux - Effortless Bayesian Deep Learning cites Bayesian Deep Learning and a Probabilistic Perspective of Generalization
- Accelerated Linearized Laplace Approximation for Bayesian Deep Learning cites Bayesian Deep Learning and a Probabilistic Perspective of Generalization
- Accelerated Linearized Laplace Approximation for Bayesian Deep Learning cites Laplace Redux - Effortless Bayesian Deep Learning
- Adapting the Linearised Laplace Model Evidence for Modern Deep Learning cites What Are Bayesian Neural Network Posteriors Really Like?
- Adapting the Linearised Laplace Model Evidence for Modern Deep Learning cites Laplace Redux - Effortless Bayesian Deep Learning
- Adapting the Linearised Laplace Model Evidence for Modern Deep Learning cites Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learning
Cited by top-tier papers38
- Laplace Redux - Effortless Bayesian Deep LearningErik A. Daxberger, Agustinus Kristiadi, Alexander Immer, Runa Eschenhagen et al.NeurIPS 2021 · 508 citations
- Bayesian Low-rank Adaptation for Large Language ModelsAdam X. Yang, Maxime Robeyns, Xi Wang, Laurence AitchisonICLR 2024 · 111 citations
- Variational Bayesian Last LayersJames Harrison, John Willes, Jasper SnoekICLR 2024 · 75 citations
- Accelerated Linearized Laplace Approximation for Bayesian Deep LearningZhijie Deng, Feng Zhou, Jun ZhuNeurIPS 2022 · 36 citations
- Adapting the Linearised Laplace Model Evidence for Modern Deep LearningJavier Antorán, David Janz, James Urquhart Allingham, Erik A. Daxberger et al.ICML 2022 · 36 citations
Builds on13
- Bayesian Deep Learning and a Probabilistic Perspective of GeneralizationAndrew Gordon Wilson, Pavel IzmailovNeurIPS 2020 · 845 citations
- Picking Winning Tickets Before Training by Preserving Gradient FlowChaoqi Wang, Guodong Zhang, Roger B. GrosseICLR 2020 · 743 citations
- Laplace Redux - Effortless Bayesian Deep LearningErik A. Daxberger, Agustinus Kristiadi, Alexander Immer, Runa Eschenhagen et al.NeurIPS 2021 · 508 citations
- What Are Bayesian Neural Network Posteriors Really Like?Pavel Izmailov, Sharad Vikram, Matthew D. Hoffman, Andrew Gordon WilsonICML 2021 · 458 citations
- Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep LearningArsenii Ashukha, Alexander Lyzhov, Dmitry Molchanov, Dmitry P. VetrovICLR 2020 · 354 citations
Related papers
- Being Bayesian, Even Just a Bit, Fixes Overconfidence in ReLU NetworksAgustinus Kristiadi, Matthias Hein, Philipp HennigICML 2020 · 344 citations
- Sampling-based inference for large linear models, with application to linearised LaplaceJavier Antorán, Shreyas Padhy, Riccardo Barbano, Eric T. Nalisnick et al.ICLR 2023 · 1 citation
- Collapsed Inference for Bayesian Deep LearningZhe Zeng, Guy Van den BroeckNeurIPS 2023 · 10 citations
- Implicit Neural Representation Inference for Low-Dimensional Bayesian Deep LearningPanagiotis Dimitrakopoulos, Giorgos Sfikas, Christophoros NikouICLR 2024
- VIKING: Deep variational inference with stochastic projectionsSamuel Matthiesen, Hrittik Roy, Nicholas Krämer, Yevgen Zainchkovskyy et al.NeurIPS 2025 · 3 citations
