Generative ODE Modeling with Known Unknowns

Ori Linial, Danny Eytan, Uri Shalit · DOI

Introduction

In fields ranging from clinical medicine to robotics, researchers often possess a "mechanistic" understanding of the systems they study—the fundamental physical or biological laws governing behavior. However, these systems frequently involve known-unknowns: parameters like vascular resistance in a patient or the exact mass of a robotic arm that exist within the equations but cannot be directly observed.

Traditional approaches typically split into two camps: purely data-driven models (like LSTMs or Neural ODEs) that ignore physics and struggle with interpretability, and purely mechanistic models that fail to map internal states to complex, noisy observations like video frames. To bridge this gap, the authors introduce GOKU-net, a hybrid architecture that integrates known Ordinary Differential Equations (ODEs) into a Variational Autoencoder (VAE) framework.

Methodology: The GOKU-net Architecture

GOKU-net leverages the strengths of both domain knowledge and deep learning by using a known ODE system as the core of its latent space. The architecture consists of two primary components:

  1. The Inference Network (Encoder): A bi-directional LSTM processes observed sequences (e.g., video frames or vital signs) to estimate the initial system state ($\hat{z}_0$) and static physical parameters ($\hat{\theta}_f$). Deterministic transformations ensure these parameters remain within physically realistic ranges.
  2. The Generative Model (Decoder): The latent state evolves according to the user-provided ODE. A neural network emission function then learns the complex mapping from these latent states back to high-dimensional observations.
The GOKU-net architecture: (a) inference of initial states and parameters from observations, and (b) the ODE-governed generative process.

For scenarios where the physical model is incomplete, the authors propose GOKU-UU (Unknown Unknowns), which adds a small trainable neural network to the ODE to account for missing physics, such as friction or air resistance.

Experimental Evaluation

The model was rigorously tested across three domains:

  • Pixel Pendulum: Predicting the motion of a swinging pendulum from 28x28 pixel video frames where the pendulum length is unknown.
  • Double Pendulum: A chaotic system where the mass of the second pendulum is the hidden parameter.
  • Cardiovascular System (CVS): A medical simulation using noisy vital signs to infer clinical conditions like hemorrhagic or septic shock.

Key Results and Insights

GOKU-net demonstrates that incorporating physical inductive bias acts as a "superpower" for data efficiency and extrapolation. In the pixel pendulum task, GOKU-net trained on only 50 samples outperformed a standard Latent-ODE model trained on 1,000 samples.

Qualitative comparison of pendulum extrapolation and angle tracking between GOKU-net and Latent ODE baselines.

Superior Extrapolation and Identification

As shown in the pendulum experiments, GOKU-net maintains physical consistency over long time horizons, achieving an $L_1$ extrapolation error of 7, compared to 42 for the Latent-ODE baseline. Furthermore, the model successfully identified the hidden physical length of the pendulum with a Pearson correlation of 0.979, despite never seeing the parameter during training.

Clinical Interpretability

In the cardiovascular simulation, the inferred latent parameters allowed for perfect classification (0% error) of clinical states, significantly outperforming standard clustering methods. This suggests that GOKU-net can effectively translate noisy monitor data into actionable clinical insights by uncovering the underlying physiological parameters.

Conclusion and Future Directions

By separating system dynamics from the rendering of observations, GOKU-net provides a robust framework for modeling complex systems with known physical structures. While the model currently requires a reasonably accurate starting ODE, it represents a significant step toward interpretable, data-efficient AI in science and medicine. Future work will focus on applying GOKU-net to real-world, non-simulated clinical data from intensive care units.

Summary updated

BibTeX
@inproceedings{linial2020generative,
  author = {Ori Linial and Danny Eytan and Uri Shalit},
  title = {{Generative ODE Modeling with Known Unknowns}},
  booktitle = {CHIL},
  year = {2020},
  doi = {10.1145/3450439.3451866},
}
Figure