Skip to main content
QUICK REVIEW

[Paper Review] Bayesian Physics-Informed Neural Networks for real-world nonlinear dynamical systems

Kevin Linka, Amelie Schäfer|arXiv (Cornell University)|May 12, 2022
Model Reduction and Neural NetworksPhysics and Astronomy15 citations
TL;DR

This paper proposes Bayesian Physics-Informed Neural Networks (B-PINNs) that integrate physical laws, data, and uncertainty quantification to improve predictive accuracy in nonlinear dynamical systems. By combining physics-based priors with Bayesian inference, B-PINNs enable robust forward and inverse modeling with credible intervals, significantly enhancing extrapolation performance even under sparse, noisy data—demonstrated on a damped harmonic oscillator and COVID-19 outbreak dynamics.

ABSTRACT

Understanding real-world dynamical phenomena remains a challenging task. Across various scientific disciplines, machine learning has advanced as the go-to technology to analyze nonlinear dynamical systems, identify patterns in big data, and make decision around them. Neural networks are now consistently used as universal function approximators for data with underlying mechanisms that are incompletely understood or exceedingly complex. However, neural networks alone ignore the fundamental laws of physics and often fail to make plausible predictions. Here we integrate data, physics, and uncertainties by combining neural networks, physics-informed modeling, and Bayesian inference to improve the predictive potential of traditional neural network models. We embed the physical model of a damped harmonic oscillator into a fully-connected feed-forward neural network to explore a simple and illustrative model system, the outbreak dynamics of COVID-19. Our Physics-Informed Neural Networks can seamlessly integrate data and physics, robustly solve forward and inverse problems, and perform well for both interpolation and extrapolation, even for a small amount of noisy and incomplete data. At only minor additional cost, they can self-adaptively learn the weighting between data and physics. Combined with Bayesian Neural Networks, they can serve as priors in a Bayesian Inference, and provide credible intervals for uncertainty quantification. Our study reveals the inherent advantages and disadvantages of Neural Networks, Bayesian Inference, and a combination of both and provides valuable guidelines for model selection. While we have only demonstrated these approaches for the simple model problem of a seasonal endemic infectious disease, we anticipate that the underlying concepts and trends generalize to more complex disease conditions and, more broadly, to a wide variety of nonlinear dynamical systems.

Motivation & Objective

  • Address the limitations of standard neural networks in extrapolating beyond training data due to lack of physical consistency.
  • Integrate fundamental physical laws (e.g., damped harmonic oscillator) into neural network training to improve generalization and robustness.
  • Quantify both epistemic and aleatoric uncertainty in predictions using Bayesian inference within a physics-informed framework.
  • Evaluate the performance of B-PINNs across interpolation, extrapolation, and inverse problems under varying data conditions.
  • Provide a unified framework that self-adaptively balances data fidelity and physical consistency through Bayesian optimization.

Proposed method

  • Embed the equation of motion for a damped harmonic oscillator as a physics-informed loss function within a fully connected feed-forward neural network.
  • Use Bayesian Neural Networks to infer posterior distributions over network weights and biases, enabling uncertainty quantification via Markov Chain Monte Carlo (MCMC) sampling.
  • Extend the Bayesian framework to jointly infer both neural network parameters and physical system parameters (e.g., damping coefficient, spring constant, initial displacement).
  • Apply Hamiltonian Monte Carlo (HMC) to sample from the joint posterior distribution of network and physics parameters, ensuring robust uncertainty estimation.
  • Incorporate log-normal priors over all unknown parameters (network and physical) to regularize learning and support probabilistic inference.
  • Scale system parameters (e.g., normalize the spring constant to unity) to improve convergence and stability of the Bayesian optimization process.

Experimental results

Research questions

  • RQ1How does integrating physical laws into neural networks improve predictive performance in nonlinear dynamical systems with limited or noisy data?
  • RQ2To what extent can Bayesian Physics-Informed Neural Networks provide reliable uncertainty quantification through credible intervals in both interpolation and extrapolation?
  • RQ3How does the inclusion of physics affect the convergence and stability of Bayesian neural network training compared to purely data-driven models?
  • RQ4What is the impact of parameter scaling on the performance and reliability of Bayesian Physics-Informed Neural Networks?
  • RQ5Can B-PINNs effectively solve forward and inverse problems in real-world dynamical systems, such as disease outbreak modeling, under data scarcity?

Key findings

  • Bayesian Physics-Informed Neural Networks (B-PINNs) achieve superior extrapolation performance compared to standard neural networks and Bayesian neural networks alone, especially when data are sparse or noisy.
  • The inclusion of physical constraints reduces predictive uncertainty, as evidenced by narrower credible intervals in B-PINNs compared to purely data-driven Bayesian neural networks.
  • Proper scaling of physical parameters—specifically setting the spring constant $k$ to unity—dramatically improves convergence and predictive accuracy of B-PINNs, highlighting sensitivity to initialization and scaling.
  • B-PINNs self-adaptively balance the weighting between data loss and physics loss during training, enabling robust learning even with incomplete or imperfect data.
  • The method successfully captures the full posterior distribution over both network and physical parameters, enabling uncertainty quantification that supports decision-making under uncertainty.
  • For the same problem, B-PINNs outperform both standard PINNs and Bayesian neural networks in predictive accuracy and reliability, particularly beyond the training window, demonstrating the value of combining physics, data, and Bayesian inference.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.