ODIN: ODE-Informed Regression for Parameter and State Inference in Time-Continuous Dynamical Systems

Philippe Wenk, Gabriele Abbati, Michael A. Osborne, Bernhard Schölkopf, Andreas Krause, Stefan Bauer

Abstract

ODIN (ODE-Informed Regression) is a novel framework for estimating the hidden states and parameters of dynamical systems described by Ordinary Differential Equations (ODEs). By treating the ODE as a constraint within a Gaussian Process framework rather than a separate generative model, ODIN achieves state-of-the-art accuracy while being orders of magnitude faster than traditional Bayesian sampling methods.

Introduction

In fields ranging from biology to engineering, Ordinary Differential Equations (ODEs) are essential for modeling system dynamics over time. However, researchers rarely observe the "true" state of these systems, instead relying on noisy and sparse data points. This presents a dual challenge: state inference (reconstructing the true trajectory) and parameter inference (identifying the underlying constants governing the system's physics).

Traditional approaches typically fall into two categories:

  1. Numerical Integration: Iteratively guessing parameters and solving the ODE to match data, which is computationally expensive.
  2. Gradient Matching: Using surrogate models like Gaussian Processes (GPs) to smooth data and match derivatives to ODE predictions.

Previous GP methods often utilized a "Product of Experts" heuristic, leading to theoretical inconsistencies where system parameters became statistically independent of observations. ODIN addresses these flaws by providing a theoretically sound, data-efficient, and fast algorithm.

Methods

ODIN rephrases parameter inference as a constrained Gaussian Process regression. Instead of incorporating the ODE into the generative story of the data, it is introduced during the inference stage as a constraint.

The ODIN graphical model illustrates the dependencies between observations (y), states (x), derivatives (x-dot), and the ODE constraint (F).

The framework operates in two primary steps:

  1. Initial Smoothing: A standard GP is fitted to noisy data to establish a baseline estimate of states and learn hyperparameters such as noise levels.
  2. ODE-Informed Optimization: The algorithm solves a Maximum A Posteriori (MAP) problem, minimizing a "risk" function that balances smoothness (GP prior), data fidelity (observation proximity), and physics consistency (ODE derivative matching).

A significant innovation is the adaptive variance parameter ($\gamma$), which acts as a "slack" variable for the ODE constraint. If the ODE model is a good fit, $\gamma$ shrinks, enforcing strict adherence to the physics. If the model is poor, $\gamma$ remains large, preventing incorrect physics from degrading the state estimate.

Datasets and Evaluation

The authors evaluated ODIN on four classic benchmark systems:

  • Lotka-Volterra (LV): A predator-prey model.
  • FitzHugh-Nagumo (FHN): A model for neuronal electrical activity.
  • Protein Transduction (PT): A complex chemical signaling pathway.
  • Lorenz ’96: A high-dimensional system used to test scalability up to 1,000 states.

Key Insights

  • Constraints vs. Generative Models: Treating the ODE as a constraint avoids the "Product of Experts" trap, ensuring parameters and observations remain coupled.
  • Model Selection via $\gamma$: The adaptive $\gamma$ parameter serves as an "Occam's Razor." Scientists can compare candidate equations; the one yielding the smallest $\gamma$ is likely the correct physical model.
  • Optimization Efficiency: By utilizing gradient-based optimization (L-BFGS-B) instead of Markov Chain Monte Carlo (MCMC) sampling, ODIN avoids the overhead of exploring complex probability distributions.

Key Results

ODIN consistently achieved lower Trajectory Root Mean Square Error (tRMSE) compared to state-of-the-art methods like AGM and FGPGM, particularly in high-noise environments.

Comparison of ODIN and GPR performance on the Lotka-Volterra system.

Key performance metrics include:

  • Speed: For the Lotka-Volterra system, ODIN required approximately 13 seconds, whereas AGM and FGPGM took 4,500 and 3,100 seconds, respectively.
  • Scalability: Runtime scales linearly with the number of system states, enabling the analysis of large-scale metabolic or climate models.
  • Robustness: In the Protein Transduction model, ODIN's adaptive $\gamma$ allowed convergence to accurate point estimates where other methods struggled with multi-modal distributions.

Limitations

While powerful, ODIN currently relies on a Gaussian noise assumption for derivative observations. Additionally, as an optimization-based approach, it may be susceptible to local optima if the initial GP fit is poor, though the two-step initialization process is robust. Finally, ODIN requires a predefined functional form of the ODE rather than discovering equations from scratch.

Summary updated

BibTeX
@inproceedings{wenk2020odin,
  author = {Philippe Wenk and Gabriele Abbati and Michael A. Osborne and Bernhard Schölkopf and Andreas Krause and Stefan Bauer},
  title = {{ODIN: ODE-Informed Regression for Parameter and State Inference in Time-Continuous Dynamical Systems}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.6106},
}
Figure