Abstract
Mechanistic knowledge about the physical world is virtually always expressed via partial differential equations (PDEs). Recently, there has been a surge of interest in probabilistic PDE solvers—Bayesian statistical models mostly based on Gaussian process (GP) priors which seamlessly combine empirical measurements and mechanistic knowledge. As such, they quantify uncertainties arising from e.g. noisy or missing data, unknown PDE parameters or discretization error by design. Prior work has established connections to classical PDE solvers and provided solid theoretical guarantees. However, scaling such methods to large-scale problems remains a fundamental challenge primarily due to dense covariance matrices. Our approach addresses the scalability issues by leveraging the Markov property of many commonly used GP priors. It has been shown that such priors are solutions to stochastic PDEs (SPDEs) which when discretized allow for highly efficient GP regression through sparse linear algebra. In this work, we show how to leverage this prior class to make probabilistic PDE solvers practical, even for large-scale nonlinear PDEs, through greatly accelerated inference mechanisms. Additionally, our approach also allows for flexible and physically meaningful priors beyond what can be modeled with covariance functions. Experiments confirm substantial speedups and accelerated convergence of our physics-informed priors in nonlinear settings.
Introduction
Partial Differential Equations (PDEs) are the mathematical foundation for modeling physical phenomena, from fluid dynamics to structural engineering. While traditional numerical methods like Finite Element Methods (FEM) provide deterministic solutions, they often lack a principled way to account for uncertainties such as measurement noise, unknown parameters, or discretization errors. Probabilistic Numerics (PN) addresses this by treating PDE solving as a Bayesian inference problem, typically using Gaussian Process (GP) priors. However, the $O(N^3)$ computational complexity of standard GPs makes them impractical for large-scale simulations. This work introduces a framework that utilizes Gaussian Markov Random Fields (GMRFs) to achieve the efficiency of classical solvers while retaining the benefits of Bayesian uncertainty quantification.
Methodology: GMRFs and Physics-Informed Priors
The core innovation lies in the construction of the prior and the inference mechanism. Instead of dense covariance matrices, the authors define priors as solutions to linear Stochastic PDEs (SPDEs). When discretized using FEM, these result in GMRFs with sparse precision matrices, enabling the use of efficient sparse linear algebra.
As shown in Figure 1, the framework follows a structured pipeline:
- Prior Construction: A linear proxy of the target nonlinear PDE is used to define an SPDE. This SPDE is discretized in space (FEM) and time (Implicit Euler) to form a GMRF prior.
- Mechanistic and Empirical Knowledge: The GMRF prior incorporates physical laws, while direct measurements provide empirical data.
- Inference: For nonlinear problems, a Gauss-Newton optimization finds the Maximum A Posteriori (MAP) estimate, followed by a Laplace approximation to quantify posterior uncertainty.
Experimental Results
The method was evaluated on benchmarks including 2D Darcy Flow, 1D Burgers’ Equation, and Nonlinear Elliptic Equations.
Scaling and Speed
On the 2D Darcy Flow problem, the GMRF-based solver matched the accuracy of classical FEM with minimal overhead, providing full uncertainty estimates. In nonlinear elliptic problems, it achieved high precision ($10^{-9}$) in 20 seconds, significantly outperforming existing sparse GP solvers which took hundreds of seconds to reach lower accuracy.
The Power of Physics-Informed Priors
A key insight is that "blind" priors (like the Matérn kernel) require significantly more data to converge. By using a physics-informed prior—such as a linear advection-diffusion proxy for the nonlinear Burgers' equation—the solver reaches high accuracy much faster.
Figure 2 illustrates this advantage: the SPDE-based prior (top) effectively tracks the solution dynamics over time, whereas the standard Matérn prior (bottom) fails to capture the advection, leading to a rapid loss of predictive power as time progresses.
Conclusion
By leveraging the sparsity of GMRFs and the predictive power of physics-informed linear proxies, this framework provides a scalable path for probabilistic PDE solvers. While selecting optimal linear proxies and extending to 3D spatiotemporal domains remain areas for future research, this approach successfully bridges the gap between classical numerical efficiency and Bayesian robustness.
Summary updated