Abstract
Probabilistic solvers for ordinary differential equations assign a posterior measure to the solution of an initial value problem. The joint covariance of this distribution provides an estimate of the (global) approximation error. The contraction rate of this error estimate as a function of the solver’s step-size identifies it as a well-calibrated worst-case error, but its explicit numerical value for a certain step size is not automatically a good estimate of the explicit error. Addressing this issue, we introduce, discuss, and assess several probabilistically motivated ways to calibrate the uncertainty estimate. Numerical experiments demonstrate that these calibration methods interact efficiently with adaptive step-size selection, resulting in descriptive, and efficiently computable posteriors. We demonstrate the efficiency of the methodology by benchmarking against the classic, widely used Dormand-Prince 4/5 Runge-Kutta method.
Introduction
Numerical solvers for Ordinary Differential Equations (ODEs) are fundamental tools in science and engineering. While standard methods like Runge-Kutta are highly efficient, they typically provide only a point estimate of the solution without an inherent measure of uncertainty. Probabilistic Numerics (PN) addresses this by framing ODE solving as a statistical inference problem, yielding a posterior distribution over possible solutions. However, practical adoption of probabilistic solvers has been hindered by issues with uncertainty calibration and the lack of robust adaptive step-size selection.
Methodology
The authors propose a probabilistic solver based on a Gauss-Markov regression framework. The unknown solution is modeled using an Integrated Wiener Process (IWP) prior, and the posterior is computed using Extended Kalman Filtering and Smoothing (EKF/EKS).
To address calibration, the paper introduces "Quasi-Maximum Likelihood Estimation" to tune the diffusion hyperparameter ($\Gamma$) dynamically. They explore time-fixed versus time-varying models, as well as scalar versus multivariate models. The latter allows the solver to adapt its uncertainty estimates to the local volatility of different variables in the system by using a diagonal diffusion matrix.
For efficiency, the authors develop an adaptive step-size selection mechanism. They identify the "residual" in the Kalman filter—the discrepancy between the predicted and observed derivative—as a mathematically sound proxy for local truncation error. This residual is then used within a standard proportional-integral (PI) controller to automatically adjust step sizes, enabling the solver to speed up during smooth intervals and slow down when the solution becomes volatile.
Experimental Results
The methodology was benchmarked against the industry-standard Dormand-Prince 4/5 (DP5) method on several classic ODE problems, including the Lotka-Volterra predator-prey model and the FitzHugh-Nagumo neuron model.
On the Lotka-Volterra problem, the probabilistic EKS1 solver demonstrated efficiency comparable to DP5 in terms of function evaluations. Crucially, the time-varying calibration models successfully maintained the true error within the predicted 99% credible intervals across a wide range of tolerances (from $10^{-4}$ to $10^{-13}$).
Handling Stiff Equations
A significant challenge for many solvers is "stiffness," where the solution changes rapidly on very different time scales. The adaptive EKS1 solver, utilizing a first-order linearization (EKF1), proved to be A-stable and capable of solving highly stiff versions of the Van der Pol oscillator.
As shown in the figure above, the solver drastically reduces its step size during the rapid transitions of the stiff oscillator to maintain a prescribed error level. Without this adaptive capability, a fixed-step version of the same solver would be computationally prohibitive, taking hours instead of seconds to complete the simulation.
Conclusion and Future Work
This work demonstrates that probabilistic ODE solvers can be both well-calibrated and computationally efficient. By integrating adaptive step-sizing and dynamic uncertainty calibration, these solvers provide a viable alternative to classical methods, offering the added benefit of reliable error estimates.
While promising, some limitations remain. The current model assumes a Gaussian distribution, which may not capture multi-modal uncertainties in highly non-linear cases. Additionally, the solver requires initial derivatives, currently handled via automatic differentiation. Future research will explore full-covariance matrices to capture correlations between system dimensions and further refine the initialization process.
Summary updated