To address the problem of quantifying discretization error in numerical solutions of ordinary differential equations, this paper proposes a Bayesian inference framework based on observational data, which achieves direct estimation of the mean of the discretization error via the ensemble Kalman filter.
The object of study in this section is precisely the discretization error between the numerical solution of an ODE model and the true solution. Related research models the discretization error as a random variable and, using accessible observational data, performs inference on the mean of this random variable—that is, the mean of the discretization error—thereby constructing a Bayesian framework to complete the quantification of the discretization error.
The practical significance of probabilistic quantification of the ODE discretization error lies in the following: by introducing a Markov prior over the temporal evolution of the discretization error mean, the discretization error inference problem can be transformed into a state-space model with a linear-Gaussian observation process, after which efficient inference can be carried out with the ensemble Kalman filter.
For quantifying the discretization error of differential equations, probabilistic numerics is a mature paradigm that has gained wide recognition in recent years. It treats numerical computation as a problem of statistical inference, providing a numerically valid solution while also delivering statistically principled uncertainty quantification of the discretization error. Among probabilistic numerics approaches, Bayesian ODE solvers are the most fully developed class of techniques for the ordinary differential equation setting.
By introducing a Markov prior over the error mean driven by classical error analysis, one can simultaneously infer both the magnitude and the direction of the discretization error, supporting adjustment of the numerical solution toward the exact solution and enabling effective capture of the discretization error.
The paper proposes the discretization error mean method, which models the discretization error between the true ODE solution and the numerical solution as a Gaussian random variable satisfying , equivalently , where is a fixed covariance matrix and is the discretization error mean estimated from observations.
This modeling approach further rewrites the inference target for the discretization error mean in state-space model form, where the latent transition follows a Markov prior and the observation equation can be written as with Gaussian-distributed, laying the groundwork for subsequently adapting the ensemble Kalman filter as the solver.
The temporal evolution of the discretization error mean can be constructed as a standard state-space model, in which the dynamics of the latent state are described by the time-transition distribution of the discretization error mean , and the observation process corresponds to a predefined likelihood function . Under this state-space formulation, the posterior inference problem for the discretization error mean that originally needed to be solved becomes a latent state estimation task under the corresponding model.
Among the many latent state estimation schemes, the paper chooses the ensemble Kalman filter to perform the inference; the applicability precondition of this method is that the observation likelihood of the target state-space model can be expressed as a linear transformation. This modeling approach defines the prior directly on the discretization error trajectory, allowing domain knowledge obtained from classical error analysis to be incorporated directly into the prior model—a feature difficult to achieve in other probabilistic numerics methods that define priors on the ODE solution space. Unlike other probabilistic numerics methods, this method can also infer the discretization error directly from observational data, supporting simultaneous updating of the discretization error while using the observational data to update the usual solving objectives of ODE inverse problems (such as the parameters of a dynamical model).
In the discretization error estimation experiments on the Lorenz-96 dynamical model, the researchers used the absolute difference between the true discretization error and the corresponding estimated mean as the evaluation metric, comparing the performance of the ensemble Kalman filter and the particle filter at each observation time point. The experimental results show that the particle filter's performance degrades rapidly after observation time t≈3, a phenomenon most likely caused by particle degeneracy that worsens over time, leaving the degenerate particle filter unable to accurately represent the target posterior distribution. Even with 100,000 particles in the eight-dimensional experimental setting, the particle filter cannot accurately capture the trajectory of the discretization error's evolution, whereas the estimates output by the ensemble Kalman filter closely track the true path of the discretization error, maintain relatively stable performance throughout, and deliver more accurate discretization error estimates at all subsequent observation time points.
The ensemble Kalman filter implementation presented in the current work has as its core applicability precondition that the observation process satisfies a linearity assumption.
For scenarios with nonlinear observation and state transition models, the research community has developed various extensions of the ensemble Kalman filter. One widely used extension, the extended Kalman filter, performs local linearization of nonlinear mappings via a first-order Taylor expansion based on Jacobian matrices, but this linearization process itself introduces unavoidable approximation errors.
In addition, a class of alternative extension methods has been proposed that uses only the observation process outputs generated from the ensemble inputs and can complete the computation without an explicit analytical expression of the observation operator.