mlsanityData to 7 Oct 2026

Accelerating Hamiltonian Monte Carlo for Bayesian Inference in Neural Networks and Neural Operators

arXiv 2507.14652 ↗First posted 19 Jul 2025stat.ML cs.CE cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Hamiltonian Monte Carlo (HMC) is a powerful and accurate method to sample from the posterior distribution in Bayesian inference. However, HMC techniques are computationally demanding for Bayesian neural networks due to the high dimensionality of the network's parameter space and the non-convexity of their posterior distributions. Therefore, various approximation techniques, such as variational inference (VI) or stochastic gradient MCMC, are often employed to infer the posterior distribution of the network parameters. Such approximations introduce inaccuracies in the inferred distributions, resulting in unreliable uncertainty estimates. In this work, we propose a hybrid approach that combines inexpensive VI and accurate HMC methods to efficiently and accurately quantify uncertainties in neural networks and neural operators. The proposed approach leverages an initial VI training on the full network. We examine the influence of individual parameters on the prediction uncertainty, which shows that a large proportion of the parameters do not contribute substantially to uncertainty in the network predictions. This information is then used to significantly reduce the dimension of the parameter space, and HMC is performed only for the subset of network parameters that strongly influence prediction uncertainties. This yields a framework for accelerating the full batch HMC for posterior inference in neural networks. We demonstrate the efficiency and accuracy of the proposed framework on deep neural networks and operator networks, showing that inference can be performed for large networks with tens to hundreds of thousands of parameters. We show that this method can effectively learn surrogates for complex physical systems by modeling the operator that maps from upstream conditions to wall-pressure data on a cone in hypersonic flow.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 37 of its 72 references that are in the map. First posted on arXiv 19 Jul 2025.

Builds on

37 of 72 references.

References · 37

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  3. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  4. 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,806
  5. 2019DeepONet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operatorscited by 1,965
  6. 2015Variational Dropout and the Local Reparameterization Trickcited by 489
  7. 2019Deep Ensembles: A Loss Landscape Perspectivecited by 438
  8. 2014Stochastic Gradient Hamiltonian Monte Carlocited by 341
  9. 2021What Are Bayesian Neural Network Posteriors Really Like?cited by 307
  10. 2015Probabilistic Backpropagation for Scalable Learning of Bayesian Neural Networkscited by 295
  11. 2017Variational Dropout Sparsifies Deep Neural Networkscited by 265
  12. 2017Concrete Dropoutcited by 227
25 more
  1. 2019Cyclical Stochastic Gradient MCMC for Bayesian Deep Learningcited by 203
  2. 2020Efficient and Scalable Bayesian Neural Nets with Rank-1 Factorscited by 171
  3. 2022Uncertainty Quantification in Scientific Machine Learning: Methods, Metrics, and Comparisonscited by 169
  4. 2019Practical Deep Learning with Bayesian Principlescited by 158
  5. 2017Multiplicative Normalizing Flows for Variational Bayesian Neural Networkscited by 157
  6. 2015A Complete Recipe for Stochastic Gradient MCMCcited by 146
  7. 2018Fast and Scalable Bayesian Deep Learning by Weight-Perturbation in Adamcited by 131
  8. 2016R'enyi Divergence Variational Inferencecited by 104
  9. 2017Noisy Natural Gradient as Variational Inferencecited by 94
  10. 2019Subspace Inference for Bayesian Deep Learningcited by 94
  11. 2020Bayesian Deep Learning via Subnetwork Inferencecited by 85
  12. 2023A Survey on Uncertainty Quantification Methods for Deep Learningcited by 78
  13. 2020Scaling Hamiltonian Monte Carlo Inference for Bayesian Neural Networks with Symmetric Splittingcited by 54
  14. 2019A Comprehensive guide to Bayesian Convolutional Neural Network with Variational Inferencecited by 51
  15. 2021Exact Langevin Dynamics with Stochastic Gradientscited by 30
  16. 2020f-Divergence Variational Inferencecited by 28
  17. 2014Likelihood-informed dimension reduction for nonlinear inverse problemscited by 26
  18. 2016Variational Inference with Hamiltonian Monte Carlocited by 17
  19. 2020Constraining Variational Inference with Geometric Jensen-Shannon Divergencecited by 17
  20. 2020AMAGOLD: Amortized Metropolis Adjustment for Efficient Stochastic Gradient MCMCcited by 13
  21. 2023Learning Active Subspaces for Effective and Scalable Uncertainty Quantification in Deep Neural Networkscited by 9
  22. 2019Deep active subspaces - a scalable method for high-dimensional uncertainty propagationcited by 7
  23. 2022Accelerating Hamiltonian Monte Carlo via Chebyshev Integration Timecited by 7
  24. 2022Jensen-Shannon Divergence Based Novel Loss Functions for Bayesian Neural Networkscited by 6
  25. 2024Bayesian neural networks for predicting uncertainty in full-field material responsecited by 5

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.