Inferring the Langevin Equation with Uncertainty via Bayesian Neural Networks
Youngkyoung Bae, Seungwoong Ha, Hawoong Jeong
TL;DR
The paper addresses the challenge of inferring Langevin dynamics from observed trajectories while quantifying uncertainty. It introduces Langevin Bayesian networks (LBN), which learn distributions over neural network weights to simultaneously infer the drift field $\bm{Φ}$ and diffusion matrix $\bm{\mathsf{D}}$ in Itô Langevin equations, providing ensemble predictions and uncertainty bounds. The framework yields unbiased estimators for both overdamped and underdamped regimes and demonstrates strong performance across nonlinear, inhomogeneous, neuronal, and thermodynamic systems, including Hodgkin–Huxley neurons and Brownian Carnot engines. This approach offers a scalable, binning-free, gradient-access method for data-driven stochastic dynamics with practical implications for nonequilibrium thermodynamics and complex systems modeling.
Abstract
Pervasive across diverse domains, stochastic systems exhibit fluctuations in processes ranging from molecular dynamics to climate phenomena. The Langevin equation has served as a common mathematical model for studying such systems, enabling predictions of their temporal evolution and analyses of thermodynamic quantities, including absorbed heat, work done on the system, and entropy production. However, inferring the Langevin equation from observed trajectories is a challenging problem, and assessing the uncertainty associated with the inferred equation has yet to be accomplished. In this study, we present a comprehensive framework that employs Bayesian neural networks for inferring Langevin equations in both overdamped and underdamped regimes. Our framework first provides the drift force and diffusion matrix separately and then combines them to construct the Langevin equation. By providing a distribution of predictions instead of a single value, our approach allows us to assess prediction uncertainties, which can help prevent potential misunderstandings and erroneous decisions about the system. We demonstrate the effectiveness of our framework in inferring Langevin equations for various scenarios including a neuron model and microscopic engine, highlighting its versatility and potential impact.
