MCP
arXivarXiv
Preprint
Published: July 29, 2026
math.NA

Bayesian Inference of Discretization Error Means in ODEs via Ensemble Kalman Filtering

Abstract
We propose a Bayesian framework to quantify discretization errors in numerical solutions of ODE models based on observational data. The discretization error is modeled as a random variable, and its mean-referred to as the discretization error mean-is inferred from the observations. By introducing a Markov prior on the temporal evolution of the discretization error mean, we formulate the problem as a state-space model with a linear Gaussian observation process, which enables efficient inference via the Ensemble Kalman Filter. We also propose a specific form of a Markov prior motivated by classical discretization error analysis, in which global errors accumulate from local errors. The proposed prior depends on the step size of a numerical solver, and we establish its convergence rate in probability as the step size tends to zero. Numerical experiments on the pendulum system and the FitzHugh-Nagumo model demonstrate the effectiveness of the proposed approach.
0
AI overview
Reviews
Citation graph
References · 31
Structured
This preview uses generator v1; v2 is available

Overview

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 Problem of Quantifying Discretization Error in Numerical ODE Solving

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.

Related Work and Method Positioning under the Probabilistic Numerics Paradigm

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.

Core Design of the Bayesian Inference Framework for the Discretization Error Mean

The paper proposes the discretization error mean method, which models the discretization error between the true ODE solution x(ti)x(t_i) and the numerical solution xtix_{t_i} as a Gaussian random variable satisfying x(ti)−xti∼N(μti,Σ)x(t_i) - x_{t_i} \sim \mathcal{N}(\mu_{t_i}, \Sigma), equivalently x(ti)∼N(xti+μti,Σ)x(t_i) \sim \mathcal{N}(x_{t_i} + \mu_{t_i}, \Sigma), where Σ\Sigma is a fixed covariance matrix and μti\mu_{t_i} 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 p(μti+1∣μti)p(\mu_{t_{i+1}} | \mu_{t_i}) and the observation equation can be written as yt=Hμt+εty_t = H\mu_t + \varepsilon_t with εt\varepsilon_t Gaussian-distributed, laying the groundwork for subsequently adapting the ensemble Kalman filter as the solver.

State-Space Modeling Suited to the Ensemble Kalman Filter

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 p(μti+1∣μti)p(\mu_{t_{i+1}} | \mu_{t_i}), and the observation process corresponds to a predefined likelihood function p(yti∣μti)p(y_{t_i} | \mu_{t_i}). 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.

Fig. 1: Reformulating the objective as a state-space model, where the latent state transition follows a Markov prior and the observation model is Gaussian.

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).

Comparative Experiments of Filtering Methods on Dynamical Systems

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.

Fig. 2: Discretization error quantification results for the 8-dimensional Lorenz–96 model, reporting the posterior mean and 95% confidence interval of the discretization error mean, compared with the true discretization error.

Applicability Assumptions and Possible Extensions of the Method

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.

Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first