Bayesian numerical methods for nonlinear partial differential equations

Junyang Wang, Jon Cockayne, Oksana A. Chkrebtii, Timothy John Sullivan, Chris J. Oates

TL;DR

This paper introduces a novel framework for solving nonlinear partial differential equations (PDEs) by treating the numerical task as a Bayesian inference problem. By using local linearization and Gaussian Process priors with carefully analyzed sample path properties, the authors provide a method that not only approximates the solution but also provides rigorous, calibrated uncertainty quantification for the numerical error.

What Problem Does This Paper Address?

In the world of scientific computing, we often solve PDEs to model everything from climate patterns to bridge stresses. Traditional numerical methods (like finite differences or finite elements) give us a single "best guess" solution. However, they rarely provide a formal measure of how much we should trust that guess—the "numerical error."

While the field of Probabilistic Numerics (PN) has made strides in providing uncertainty quantification (UQ) for linear PDEs and ordinary differential equations (ODEs), nonlinear PDEs remain a "final frontier." Nonlinearity breaks the mathematical elegance of Gaussian Processes (GPs), as the output of a nonlinear operator applied to a GP is no longer a GP. This paper tackles the challenge of performing exact Bayesian inference under an approximate likelihood to handle these nonlinearities, specifically for cases where evaluating the PDE's components is computationally expensive.

Methods

The authors propose a sequential, time-stepping Bayesian Probabilistic Numerical Method (PNM). The core strategy involves:

  1. Operator Decomposition: Splitting the nonlinear differential operator $D$ into a linear part $P$ and a nonlinear part $Q$ ($D = P + Q$).
  2. Local Linearization: To keep the math tractable (and Gaussian), the nonlinear part $Q$ is adaptively approximated by a linear operator at each time step. For example, in Burger’s equation, a term like $u \frac{\partial u}{\partial x}$ is linearized by replacing the first $u$ with the predicted mean from the previous time step.
  3. Prior Elicitation: A significant portion of the paper is dedicated to the theory of Matérn Tensor Product kernels. The authors prove that these priors ensure the sampled functions actually live in the correct differentiability space ($C^\beta$) required by the PDE.
  4. Empirical Bayes Calibration: The method automatically tunes its "confidence" (the amplitude parameter $\sigma$) by maximizing the predictive likelihood of the "differential data" gathered during the solve. This ensures the reported uncertainty is "calibrated"—meaning the error bars actually mean what they say.

Datasets

The method was evaluated on three synthetic but challenging "benchmark" initial value problems:

  • Homogeneous Burger’s Equation: A classic nonlinear PDE with a smooth solution.
  • Porous Medium Equation: A more difficult case where the solution is only piecewise smooth, testing how the method handles violations of its own regularity assumptions and conservation laws.
  • Forced Burger’s Equation: A scenario involving a "black-box" oscillatory forcing term, simulating complex real-world source terms.

Key Insights and Ideas

  • The Regularity Gap: One of the most important "aha" moments is the rigorous proof regarding Matérn processes. The authors show exactly how to construct a GP prior so that its sample paths possess the specific derivatives required by the PDE.
  • Calibration over Precision: The goal isn't necessarily to beat the fastest classical solvers in raw speed, but to be "honest." The authors use a Z-score (the ratio of actual error to predicted uncertainty). A Z-score near 1 indicates a perfectly calibrated solver.
  • The Danger of "Too Much" Smoothness: In their experiments, using a Rational Quadratic kernel (which assumes infinite smoothness) led to over-confidence and poor calibration. The Matérn kernel, which allows for finite, specified smoothness, proved much more robust.
  • Physics-Informed Constraints: The framework allows for the easy addition of linear constraints, such as the Conservation of Mass, which significantly improved the accuracy and stability of the solver for the Porous Medium Equation.

Key Results

  • Accuracy: The posterior mean of the Bayesian PNM achieved accuracy comparable to the classical Crank-Nicolson method when given the same computational budget (number of function evaluations).
  • Uncertainty Quantification: For the Burger’s equations, the Z-scores remained bounded and near 1 as the grid was refined, indicating that the method provides a reliable estimate of its own error.
  • Convergence: The $L^\infty$ error was shown to decrease at a rate consistent with $O(n^{-1})$ relative to the temporal grid size, matching expectations for first-order time-stepping schemes.

Limitations and Future Work

  • Computational Complexity: The current algorithm has a complexity of $O(nm^3)$ for the final state or $O(n^3m^3)$ for the full trajectory (where $n$ is time steps and $m$ is spatial points). This makes it significantly slower than optimized classical solvers for simple problems.
  • Expert Input: The method currently requires a human to decide how to split the operator ($P + Q$) and to choose length-scale parameters. The authors suggest that future work could automate this "partitioning" and parameter selection.
  • Scope: The paper focuses on Initial Value Problems (IVPs). Extending this to more complex Boundary Value Problems (BVPs) or irregular domains remains an open challenge.

In summary, this paper provides a theoretical and practical bridge between numerical analysis and statistical inference, offering a path toward "self-aware" solvers for the most difficult equations in science.

Summary updated

BibTeX
@inproceedings{wang2021bayesian,
  author = {Junyang Wang and Jon Cockayne and Oksana A. Chkrebtii and Timothy John Sullivan and Chris J. Oates},
  title = {{Bayesian numerical methods for nonlinear partial differential equations}},
  booktitle = {Stat. Comput},
  year = {2021},
  url = {https://openreview.net/forum?id=vin2PXIpFw3},
}

Loading related content...

Figure