Propagating Model Uncertainty through Filtering-based Probabilistic Numerical ODE Solvers

Dingling Yao, Filip Tronarp, Nathanael Bosch · OpenReview

Abstract

Filtering-based probabilistic numerical solvers for ordinary differential equations (ODEs), also known as ODE filters, have been established as efficient methods for quantifying numerical uncertainty in the solution of ODEs. In practical applications, however, the underlying dynamical system often contains uncertain parameters, requiring the propagation of this model uncertainty to the ODE solution. In this paper, we demonstrate that ODE filters, despite their probabilistic nature, do not automatically solve this uncertainty propagation problem. To address this limitation, we present a novel approach that combines ODE filters with numerical quadrature to properly marginalize over uncertain parameters, while accounting for both parameter uncertainty and numerical solver uncertainty. Experiments across multiple dynamical systems demonstrate that the resulting uncertainty estimates closely match reference solutions. Notably, we show how the numerical uncertainty from the ODE solver can help prevent overconfidence in the propagated uncertainty estimates, especially when using larger step sizes. Our results illustrate that probabilistic numerical methods can effectively quantify both numerical and parametric uncertainty in dynamical systems.

Introduction

In many scientific fields, Ordinary Differential Equations (ODEs) are the standard for modeling dynamical systems. However, these models are rarely perfect; we often face uncertainty regarding exact physical constants (parameters) or precise starting states (initial conditions). To understand the range of possible outcomes, researchers must propagate this model uncertainty through the ODE solver.

While "Probabilistic Numerical" (PN) ODE solvers—specifically ODE filters—have become popular for quantifying the error introduced by the solver itself (discretization error), they do not handle model uncertainty "out of the box." This paper identifies a subtle trap: standard Bayesian filters are designed for state estimation (reducing uncertainty using data), whereas uncertainty propagation requires marginalization (accounting for the full spread of possible trajectories).

Methodology: Bridging the Gap

The authors propose a two-step framework that bridges the gap between probabilistic solvers and classical uncertainty quantification:

  1. Filtering-based ODE Solvers: They utilize "ODE filters," which treat solving an ODE as a Gauss-Markov regression problem. Instead of a single trajectory, the solver returns a distribution (a Gaussian process) over possible paths.
  2. Numerical Quadrature (Marginalization): To account for uncertain parameters ($\theta$), the method uses a third-degree spherical cubature scheme. This involves selecting a specific set of representative parameter values ("nodes"), running the ODE filter for each, and then recombining the results.
  3. Gaussian Mixture Moments: The final output is a Gaussian Mixture Model. The authors provide closed-form equations to calculate the total mean and variance, effectively summing the uncertainty from the parameters and the numerical solver.

Key Insight: Estimation vs. Propagation

A central contribution of the paper is the demonstration that a standard Bayesian filter actually reduces uncertainty at each step because it treats the ODE physics as a "perfect" observation. To propagate uncertainty correctly, one must marginalize rather than just filter.

Conceptual difference between standard state estimation (top) and the proposed uncertainty propagation (bottom).

As illustrated above, standard filtering can lead to overconfident estimates by failing to capture how initial model doubts grow over time. The proposed approach ensures the full distribution of trajectories is maintained.

Results and the "Overconfidence" Buffer

The method was evaluated on several classic dynamical systems, including the Logistic equation, FitzHugh–Nagumo model, Lotka–Volterra system, and Van der Pol oscillator. The "ground truth" reference for these systems was generated using a massive Monte Carlo simulation (100,000 samples).

The most striking finding is the role of the "Overconfidence Buffer." In traditional non-probabilistic solvers, using a large step size leads to inaccuracy, but the uncertainty estimate (based only on parameters) remains narrow—this is "overconfidence."

Variance decomposition as a function of step size for Linear and Lotka-Volterra systems.

As shown in the figure above, the authors decompose the total variance into PN variance (numerical error) and non-PN variance (parameter spread). As the step size increases, the PN variance grows to "fill the gap" left by the failing numerical accuracy, keeping the total uncertainty estimate honest and close to the true reference.

Conclusion

By combining ODE filters with numerical quadrature, this approach achieves high-fidelity uncertainty estimates with significantly fewer solver runs than brute-force Monte Carlo. The inclusion of the solver's internal numerical uncertainty acts as a crucial safeguard, preventing the dangerously narrow error estimates that often plague traditional numerical methods when computational constraints necessitate larger step sizes.

Summary updated

BibTeX
@misc{yao2025propagating,
  author = {Dingling Yao and Filip Tronarp and Nathanael Bosch},
  title = {{Propagating Model Uncertainty through Filtering-based Probabilistic Numerical ODE Solvers}},
  year = {2025},
  eprint = {2503.04684},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.04684},
}
Figure