BNNpriors: A library for Bayesian neural network inference with different prior distributions
Not on the map. Why?
Abstract (arXiv)
Bayesian neural networks have shown great promise in many applications where calibrated uncertainty estimates are crucial and can often also lead to a higher predictive performance. However, it remains challenging to choose a good prior distribution over their weights. While isotropic Gaussian priors are often chosen in practice due to their simplicity, they do not reflect our true prior beliefs well and can lead to suboptimal performance. Our new library, BNNpriors, enables state-of-the-art Markov Chain Monte Carlo inference on Bayesian neural networks with a wide range of predefined priors, including heavy-tailed ones, hierarchical ones, and mixture priors. Moreover, it follows a modular approach that eases the design and implementation of new custom priors. It has facilitated foundational discoveries on the nature of the cold posterior effect in Bayesian neural networks and will hopefully catalyze future research as well as practical applications in this area.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 13 of its 27 references that are in the map. First posted on arXiv 14 May 2021.
Builds on
13 of 27 references.
References · 13
- 2017Attention Is All You Needcited by 60,361
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,352
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
- 2018GPyTorch: Blackbox Matrix-Matrix Gaussian Process Inference with GPU Accelerationcited by 609
- 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
- 2019Cyclical Stochastic Gradient MCMC for Bayesian Deep Learningcited by 203
- 2020Efficient and Scalable Bayesian Neural Nets with Rank-1 Factorscited by 171
- 2021Bayesian Neural Network Priors Revisitedcited by 121
- 2021Scalable Marginal Likelihood Estimation for Model Selection in Deep Learningcited by 106
- 2020PACOH: Bayes-Optimal Meta-Learning with PAC-Guaranteescited by 85
- 2020Marginal likelihood computation for model selection and hypothesis testing: an extensive reviewcited by 33
1 more
- 2021Exact Langevin Dynamics with Stochastic Gradientscited by 30
Built on by
Citing papers per year: 2021: 8; 2022: 0; 2023: 6; 2024: 2; 2025: 2; 2026: 2.
20 papers.
Sort:
- 2021Repulsive Deep Ensembles are Bayesiancited by 104
- 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AIcited by 62
- 2023Credal Bayesian Deep Learningcited by 45
- 2021Data augmentation in Bayesian neural networks and the cold posterior effectcited by 36
- 2021On Stein Variational Neural Network Ensemblescited by 21
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Modelscited by 20
- 2021Neural Variational Gradient Descentcited by 19
- 2023Improving Neural Additive Models with Bayesian Principlescited by 15
- 2021Pathologies in priors and inference for Bayesian transformerscited by 13
- 2023Promises and Pitfalls of the Linearized Laplace in Bayesian Optimizationcited by 10
- 2023Incorporating Unlabelled Data into Bayesian Neural Networkscited by 9
- 2021Deep Classifiers with Label Noise Modeling and Distance Awarenesscited by 8
8 more
- 2023Scalable Stochastic Gradient Riemannian Langevin Dynamics in Non-Diagonal Metricscited by 8
- 2021TyXe: Pyro-based Bayesian neural nets for Pytorchcited by 6
- 2025Graph Evidential Learning for Anomaly Detectioncited by 5
- 2025Bayesian Physics Informed Neural Networks for Reliable Transformer Prognosticscited by 3
- 2021A Bayesian Approach to Invariant Deep Neural Networkscited by 1
- 2023Uncertainty in Graph Contrastive Learning with Bayesian Neural Networkscited by 0
- 2026Disentangling Aleatoric and Epistemic Uncertainty in Physics-Informed Neural Networks. Application to Insulation Material Degradation Prognosticscited by 0
- 2026Function-Space Empirical Bayes Regularisation with Student's t Priorscited by 0
- 2026Function-Space Empirical Bayes Regularisation with Student's t Priors25 Feb 2026
- 2026Disentangling Aleatoric and Epistemic Uncertainty in Physics-Informed Neural Networks. Application to Insulation Material Degradation Prognostics7 Jan 2026
- 2025Bayesian Physics Informed Neural Networks for Reliable Transformer Prognostics19 Sep 2025
- 2025Graph Evidential Learning for Anomaly Detection31 May 2025
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Models6 May 2024
- 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AI1 Feb 2024
- 2023Uncertainty in Graph Contrastive Learning with Bayesian Neural Networks30 Nov 2023
- 2023Improving Neural Additive Models with Bayesian Principles26 May 2023
- 2023Promises and Pitfalls of the Linearized Laplace in Bayesian Optimization17 Apr 2023
- 2023Incorporating Unlabelled Data into Bayesian Neural Networks4 Apr 2023
- 2023Scalable Stochastic Gradient Riemannian Langevin Dynamics in Non-Diagonal Metrics9 Mar 2023
- 2023Credal Bayesian Deep Learning19 Feb 2023
8 more
- 2021Pathologies in priors and inference for Bayesian transformers8 Oct 2021
- 2021Deep Classifiers with Label Noise Modeling and Distance Awareness6 Oct 2021
- 2021TyXe: Pyro-based Bayesian neural nets for Pytorch1 Oct 2021
- 2021Neural Variational Gradient Descent22 Jul 2021
- 2021A Bayesian Approach to Invariant Deep Neural Networks20 Jul 2021
- 2021Repulsive Deep Ensembles are Bayesian22 Jun 2021
- 2021On Stein Variational Neural Network Ensembles20 Jun 2021
- 2021Data augmentation in Bayesian neural networks and the cold posterior effect10 Jun 2021
- 2021Repulsive Deep Ensembles are Bayesiancited by 104
- 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AIcited by 62
- 2023Credal Bayesian Deep Learningcited by 45
- 2021Data augmentation in Bayesian neural networks and the cold posterior effectcited by 36
- 2021On Stein Variational Neural Network Ensemblescited by 21
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Modelscited by 20
- 2021Neural Variational Gradient Descentcited by 19
- 2023Improving Neural Additive Models with Bayesian Principlescited by 15
- 2021Pathologies in priors and inference for Bayesian transformerscited by 13
- 2023Promises and Pitfalls of the Linearized Laplace in Bayesian Optimizationcited by 10
- 2023Incorporating Unlabelled Data into Bayesian Neural Networkscited by 9
- 2021Deep Classifiers with Label Noise Modeling and Distance Awarenesscited by 8
12 most cited of 20 All 20 (JSON)
- 2026Function-Space Empirical Bayes Regularisation with Student's t Priors25 Feb 2026
- 2026Disentangling Aleatoric and Epistemic Uncertainty in Physics-Informed Neural Networks. Application to Insulation Material Degradation Prognostics7 Jan 2026
- 2025Bayesian Physics Informed Neural Networks for Reliable Transformer Prognostics19 Sep 2025
- 2025Graph Evidential Learning for Anomaly Detection31 May 2025
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Models6 May 2024
- 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AI1 Feb 2024
- 2023Uncertainty in Graph Contrastive Learning with Bayesian Neural Networks30 Nov 2023
- 2023Improving Neural Additive Models with Bayesian Principles26 May 2023
- 2023Promises and Pitfalls of the Linearized Laplace in Bayesian Optimization17 Apr 2023
- 2023Incorporating Unlabelled Data into Bayesian Neural Networks4 Apr 2023
- 2023Scalable Stochastic Gradient Riemannian Langevin Dynamics in Non-Diagonal Metrics9 Mar 2023
- 2023Credal Bayesian Deep Learning19 Feb 2023
12 newest of 20 All 20 (JSON)