mlsanityData to 14 Oct 2026

BNNpriors: A library for Bayesian neural network inference with different prior distributions

arXiv 2105.06964 ↗First posted 14 May 2021stat.ML cs.LGcited by 20

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,352
  4. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
  5. 2018GPyTorch: Blackbox Matrix-Matrix Gaussian Process Inference with GPU Accelerationcited by 609
  6. 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
  7. 2019Cyclical Stochastic Gradient MCMC for Bayesian Deep Learningcited by 203
  8. 2020Efficient and Scalable Bayesian Neural Nets with Rank-1 Factorscited by 171
  9. 2021Bayesian Neural Network Priors Revisitedcited by 121
  10. 2021Scalable Marginal Likelihood Estimation for Model Selection in Deep Learningcited by 106
  11. 2020PACOH: Bayes-Optimal Meta-Learning with PAC-Guaranteescited by 85
  12. 2020Marginal likelihood computation for model selection and hypothesis testing: an extensive reviewcited by 33
1 more
  1. 2021Exact Langevin Dynamics with Stochastic Gradientscited by 30

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 8; 2022: 0; 2023: 6; 2024: 2; 2025: 2; 2026: 2.

20 papers.

Sort:

  1. 2021Repulsive Deep Ensembles are Bayesiancited by 104
  2. 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AIcited by 62
  3. 2023Credal Bayesian Deep Learningcited by 45
  4. 2021Data augmentation in Bayesian neural networks and the cold posterior effectcited by 36
  5. 2021On Stein Variational Neural Network Ensemblescited by 21
  6. 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Modelscited by 20
  7. 2021Neural Variational Gradient Descentcited by 19
  8. 2023Improving Neural Additive Models with Bayesian Principlescited by 15
  9. 2021Pathologies in priors and inference for Bayesian transformerscited by 13
  10. 2023Promises and Pitfalls of the Linearized Laplace in Bayesian Optimizationcited by 10
  11. 2023Incorporating Unlabelled Data into Bayesian Neural Networkscited by 9
  12. 2021Deep Classifiers with Label Noise Modeling and Distance Awarenesscited by 8
8 more
  1. 2023Scalable Stochastic Gradient Riemannian Langevin Dynamics in Non-Diagonal Metricscited by 8
  2. 2021TyXe: Pyro-based Bayesian neural nets for Pytorchcited by 6
  3. 2025Graph Evidential Learning for Anomaly Detectioncited by 5
  4. 2025Bayesian Physics Informed Neural Networks for Reliable Transformer Prognosticscited by 3
  5. 2021A Bayesian Approach to Invariant Deep Neural Networkscited by 1
  6. 2023Uncertainty in Graph Contrastive Learning with Bayesian Neural Networkscited by 0
  7. 2026Disentangling Aleatoric and Epistemic Uncertainty in Physics-Informed Neural Networks. Application to Insulation Material Degradation Prognosticscited by 0
  8. 2026Function-Space Empirical Bayes Regularisation with Student's t Priorscited by 0