NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bayesian Uncertainty Quantification for Differential Equations

Oksana Chkrebtii, David A. Campbell, Mark Girolami, Ben CalderheadarXiv 2013

Abstract

Differential equations (DEs) are the cornerstone of modeling in physical and biological sciences, yet most complex systems lack analytical solutions. Traditional numerical methods provide deterministic approximations but fail to account for the uncertainty introduced by discretization. This paper presents a fully Bayesian framework that treats the solution of a differential equation as a statistical inference problem. By employing Gaussian Process (GP) priors, we can formally quantify numerical uncertainty and propagate it through to parameter estimation and future predictions. We demonstrate the robustness of this approach across chaotic systems, ill-conditioned boundary value problems, and high-dimensional fluid dynamics.

Introduction

In the study of dynamic systems, we often rely on deterministic numerical solvers like the Runge-Kutta family to approximate trajectories. While highly efficient, these solvers operate under the implicit assumption that numerical error is negligible. However, in complex scenarios—such as chaotic systems or inverse problems where parameters are inferred from noisy data—this "discretization error" can lead to significant biases and overconfident conclusions.

This research proposes a shift toward Probabilistic Numerical Analysis. Instead of seeking a single approximate trajectory, we aim to infer a posterior distribution over the space of functions that satisfy the differential equation. This allows the solver's own uncertainty to be integrated into the broader statistical model, ensuring that our final scientific inferences are "honest" about the limitations of the underlying numerical resolution.

Methodology: The Probabilistic Solver

The core of the proposed framework is the Probabilistic Differential Equation Solver (PODES). The methodology is built on several key pillars:

1. Gaussian Process Priors

We define a joint Gaussian Process prior over the system states $u(t)$ and their time derivatives $u_t(t)$. This allows us to encode physical assumptions, such as the expected smoothness or periodicity of the solution, directly into the prior measure of the Hilbert space.

2. Sequential Bayesian Updating

Rather than solving the system globally, the algorithm progresses through a temporal grid. At each step, the derivative function of the DE is evaluated. This evaluation is treated as a "noisy observation" of the latent derivative process. Using Bayesian updating, the GP posterior is refined at each step, producing a distribution of possible trajectories that are consistent with the dynamics.

3. Integrated Inverse Inference

For many applications, the goal is not just to solve the DE (the forward problem) but to estimate unknown physical constants from data (the inverse problem). By embedding the PODES within a Markov Chain Monte Carlo (MCMC) routine, we can simultaneously sample the model parameters and the discretization uncertainty. This ensures that the uncertainty in the solver is correctly propagated into the posterior distribution of the parameters.

Experimental Validation

The framework was tested against a variety of challenging benchmarks to evaluate its accuracy, scalability, and ability to handle complex dynamics.

  • The Heat Equation: In a parabolic heat equation model, the authors demonstrated that standard deterministic solvers on coarse grids produced highly biased estimates for the conductivity parameter $\kappa$. In contrast, the Bayesian framework maintained a wider posterior that correctly captured the true parameter value, effectively mitigating inferential bias.
  • Lane-Emden Model: This astrophysical model represents a mixed boundary value problem. The probabilistic approach successfully identified multiple high-probability trajectories, showcasing its ability to handle "solution multiplicity" where deterministic solvers might converge to only one of several valid solutions.
  • Navier-Stokes Equations: To test scalability, the method was applied to a fluid dynamics simulation involving over 16,000 coupled, stiff ODEs. By utilizing a recursive matrix update strategy, the authors proved that Bayesian solvers can scale to high-dimensional systems without the prohibitive memory costs usually associated with Gaussian Processes.
  • JAK-STAT Signaling Pathway: Using real experimental data from cellular biology, the framework was used to model biochemical dynamics with non-linear delays. The results highlighted a "model discrepancy": even when accounting for solver uncertainty, the model could not perfectly fit the data, suggesting that the error lay in the biological assumptions rather than the numerical integration.

Key Insights

Solvers as Inference Engines

This work redefines the role of a numerical solver. A solver is no longer just a calculator; it is an estimator that gains information with every function evaluation. The GP length-scale $\lambda$ serves as a probabilistic analogue to the step size in traditional methods. Crucially, $\lambda$ can be inferred from the data, allowing the system to automatically determine how much to trust the solver's resolution.

Theoretical Consistency

The authors provide a theoretical proof of consistency, showing that as the grid size $h$ approaches zero, the probabilistic posterior collapses to the unique, exact solution of the differential equation. This bridges the gap between classical numerical analysis and Bayesian statistics.

Conclusion and Future Directions

By treating differential equations through the lens of Bayesian function estimation, we gain a rigorous way to handle the uncertainties inherent in numerical modeling. While the computational cost of Bayesian solvers remains higher than traditional deterministic methods, the benefits for inverse problems and chaotic systems are substantial.

Future work aims to implement Adaptive Meshing, using the posterior variance of the GP to automatically place grid points in regions of high uncertainty—essentially applying active learning to the process of numerical integration. This would further optimize the balance between computational effort and inferential precision.

Summary updated

BibTeX
@misc{chkrebtii2013bayesian,
  author = {Oksana Chkrebtii and David A. Campbell and Mark Girolami and Ben Calderhead},
  title = {{Bayesian Uncertainty Quantification for Differential Equations}},
  year = {2013},
  eprint = {1306.2365},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1306.2365},
}
Figure