Further Topics in ODE Solvers

Summary

Beyond forward IVPs, probabilistic ODE solvers extend to boundary value problems (add a Dirac likelihood on to the SSM), ODE inverse problems (inserting a probabilistic solver’s output as the likelihood yields an uncertainty-aware likelihood that removes overconfidence and, for the EKF0/EKS0, provides cheap gradient and Hessian estimators), and PDEs (Bayesian meshless methods, perturbative FEMs). §41.3 is the conceptual keystone: a probabilistic ODE solver consolidates numerical computation and statistical inference into a single SSM, fusing mechanistic ODE knowledge with observational data in one linear-time filtering pass. Part VII (“So What?”) lays out open frontier questions.

Overview

This note collects Ch. 41 (Further Topics) and Ch. 42 (the Part VII frontier). The unifying theme is passing numerical uncertainty consistently along computational chains — the founding promise of probabilistic numerics — and, ultimately, dissolving the boundary between numerics and statistics.

Main Content

Boundary value problems (§41.1)

BVP posterior (Eq. 41.1)

A boundary value problem adds a final condition to the IVP: , , . Modelling by a GP prior , the BVP posterior is

i.e. the IVP posterior additionally conditioned on .

If is linear, , the likelihood is linear and the posterior is closed-form GP regression (John et al. 2019; from PDE solvers Cockayne et al. 2017a). Nonlinear : quasi-linearisation (Newton’s method partitioning into linear BVPs).

To retain the fast linear-time state-space formulation, Krämer & Hennig (2021) extend the IWP SSM (38.10)–(38.13) by adding the Dirac likelihood

so enters as data on . Inference is then as for IVPs (EKS0/EKS1, or IEKS for the MAP), but the final step conditions on both and . The IEKS converges quickly, includes step-size and hyperparameter calibration, and is state-of-the-art PN for BVPs. Application: computing shortest paths / distances on Riemannian manifolds (Hennig & Hauberg 2014; Arvanitidis et al. 2019), where numerical uncertainty matters for the final objective.

ODE inverse problems (§41.2) — the uncertainty-aware likelihood

ODE inverse problem (Eq. 41.2–41.5)

Infer parameter of a parametrised IVP , , from noisy observations , , stacked into , with . The forward map is (the IVP solution).

Classical inversion uses the uncertainty-unaware likelihood: assume (the numerical estimate is truth), giving

Inserting a probabilistic ODE solver’s output (a carefully designed distribution, not a Dirac) into the integral yields the uncertainty-aware likelihood. For the EKF0 this is Gaussian:

where is the solver’s posterior mean and its posterior covariance. For large steps (large numerical uncertainty relative to ) this corrects the overconfidence of the unaware likelihood — demonstrated for the Lotka–Volterra ODE (Fig. 41.2): the unaware likelihood assigns near-zero probability to the true parameter at large , while the aware likelihood keeps it well-calibrated. Reducing bias in the inferred parameter is one place where probabilistic solvers already improve upon classical methods.

Free gradient and Hessian estimators from the EKF0 (Eqs. 41.13–41.14, Kersting et al. 2020)

Under Assumption 41.1 ( linear in : ), the EKS0 posterior mean is affine in , (Eq. 41.9), with Jacobian estimator (kernel pre-factor times data matrix ). Then the log-likelihood has estimators

These gradient and Hessian estimators come almost for free (products of precomputable and already-computed function evaluations), whereas classically they require expensive sensitivity analysis. Their scale is inversely coupled to the combined numerical+statistical uncertainty , inheriting the uncertainty-awareness.

Twice-differentiable, cheap-gradient likelihoods greatly increase sample efficiency of MCMC / optimisation-based inverse-problem solvers, improving overall speed. For perturbative solvers the analogous Bayesian inverse-problem posterior is (Eq. 41.6), approximated e.g. by pseudo-marginal MCMC (Lie, Sullivan & Teckentrup 2018 proved convergence as ).

§41.3 Consolidating numerics and statistics — the keystone

Extended SSM fusing numerics + data (Eq. 41.15, Schmidt–Krämer–Hennig 2021)

Extend the ODE SSM with additional linear observations of the solution at chosen times through

with , . The statistical data is incorporated exactly like the numerical data : the observation likelihood (41.15) has the same form as the ODE likelihood (38.12). The resulting extended SSM is still a single probabilistic SSM.

This is the conceptual heart of the chapter: a well-designed probabilistic numerical method lets its statistical model be extended to include observational data, so numerical and statistical information are jointly exploited in one model. Concretely, one can infer the latent force model of an ODE from observational data using a single EKF1/EKS1 filtering/smoothing loop, jointly with the ODE solution, in linear time — removing the outer for-loop usually wrapped around classical solvers, giving large real wall-clock speedups.

Covid-19 latent contact rate (§41.3)

Infection numbers follow an ODE (the SIRD family) with unknown time-varying contact rate, modelled by a latent GP, while case counts are empirically observed. The EKF1/EKS1 directly incorporates both the mechanistic ODE knowledge and the empirical counts via an observation model (41.15), inferring the latent contact rate in a single forward pass rather than a laborious outer loop wrapped around forward simulation. This is typical of real-world dynamical-systems inference: partial mechanistic knowledge + physical observations.

Partial differential equations (§41.4)

PDEs are a well-established PN field, beyond this text’s scope, but linked to ODEs:

  • Linear PDEs: exact Bayesian meshless methods by conditioning a Gaussian prior on evaluations of the PDE right-hand side (Cockayne et al. 2017a) — on linear ODEs these coincide with the EKS0. Applied to PDE-constrained inverse problems (Cockayne et al. 2017b) and engineering (Oates et al. 2019b).
  • Nonlinear PDEs: approximations needed (Wang et al. 2021), philosophically like ODE filters. Krämer, Schmidt & Hennig (2022) solve time-dependent PDEs with ODE filters + GP-interpretation of finite differences.
  • Perturbative PDE solvers: Chkrebtii et al. (2016) for parabolic PDEs; Conrad et al. (2017) perturbed FEM for elliptic PDEs; Abdulle & Garegnani (2021) randomised-mesh FEM; Girolami et al. (2021) FEM fused with external data (§41.3 analogue). Also Raissi–Perdikaris–Karniadakis (2017), Owhadi (2017) gamblets for rough coefficients.

Part VII — “So What?” the frontier (Ch. 42)

Open questions likely to shape PN for the coming decade:

  • §42.1 Where will PN find application? To date substantive impact mainly in global optimisation / hyperparameter tuning; where is the next breakthrough, and what software best supports PN?
  • §42.2 Can randomness be banished from computation? §12.3 argued against randomness, yet non-random alternatives to stochastic algorithms are impractical; can PN yield effective and lightweight deterministic ones?
  • §42.3 Can we scale PN? Bayesian optimisation/quadrature remain limited to low dimensions; ODEs and linear algebra already scale as well as classical methods, but MCMC is a formidable competitor for integration.
  • §42.4 How can numerics be tailored? Structure is central to performance; tailoring via human-designed priors works but cannot cover every nested numerical subproblem — automation is essential (e.g. parsing source code to infer structure). ODEs are the pointer: PN there already beats classical methods when the ODE supplies mechanistic structure to an empirical inference problem.
  • §42.5 Can PN models be identified at runtime? Statistical-learning-theory view: which numerical models are identifiable, and at what cost; tractability on binary computers constrains the model space in ways not yet understood.
  • §42.6 What can we say about numerical error given finite computation? The exact error is never available live, but its scale/structure often is, at minimal overhead — the limits of such calibration need more work.
  • §42.7 What does uncertainty mean in PN? A deep, partly philosophical debate about uncertainty over a deterministic computation; PN sharpens both the challenges and (because tasks are formally defined in a programming language) the precision of prior assumptions.
  • §42.8 Can computational pipelines be harmonised? PN promises rigorous uncertainty management across pipelines; graphical models / message passing are promising foundations, but little is built yet.
  • §42.9 Are there limits to synthesising numerical + statistical information? From an information/decision-theoretic view there should be none: all uncertain information can be expressed by probability and exploited by PN. Whether a firm distinction between statistical inference and numerical computation should survive is left to future research.

Connections

See Also