Physics-Informed Machine Learning of Dynamical Systems for Efficient Bayesian Inference

Somayajulu L. N. Dhulipala, Yifeng Che, Michael D. Shields
9/19/2022
stat.MLcs.LG
bayesian

Official code: IdahoLabResearch/BIhNNs (17 stars, Python, MIT, last commit 2026-06-18).

Abstract

Although the no-u-turn sampler (NUTS) is a widely adopted method for performing Bayesian inference, it requires numerous posterior gradients which can be expensive to compute in practice. Recently, there has been a significant interest in physics-based machine learning of dynamical (or Hamiltonian) systems and Hamiltonian neural networks (HNNs) is a noteworthy architecture.

Show full abstract

But these types of architectures have not been applied to solve Bayesian inference problems efficiently. We propose the use of HNNs for performing Bayesian inference efficiently without requiring numerous posterior gradients. We introduce latent variable outputs to HNNs (L-HNNs) for improved expressivity and reduced integration errors. We integrate L-HNNs in NUTS and further propose an online error monitoring scheme to prevent sampling degeneracy in regions where L-HNNs may have little training data. We demonstrate L-HNNs in NUTS with online error monitoring considering several complex high-dimensional posterior densities and compare its performance to NUTS.

View on arXivView PDF

Code Implementations(1)

MIT

The code enables to perform Bayesian inference in an efficient manner through the use of Hamiltonian Neural Networks (HNNs), Deep Neural Networks (DNNs), Neural ODEs, and Symplectic Neural Networks (SympNets) used with state-of-the-art sampling schemes like Hamiltonian Monte Carlo (HMC) and the No-U-Turn-Sampler (NUTS).

175PythonOct 3, 20225 months agoMIT
bayesian-inferencehamiltonian-monte-carlolangevin-dynamicsneural-networksno-u-turn-sampler+2 more

Similar Papers

Cite this paper

@article{dhulipala2022physicsinformed,
  title  = {Physics-Informed Machine Learning of Dynamical Systems for Efficient Bayesian Inference},
  author = {Somayajulu L. N. Dhulipala and Yifeng Che and Michael D. Shields},
  year   = {2022},
  eprint = {2209.09349},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.09349}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.09349.svg)](https://codeofpaper.com/paper/2209.09349)

Discussion