From Deterministic ODEs to Dynamic Structural Causal Models

Paul K. Rubenstein, Stephan Bongers, Joris M. Mooij, Bernhard Schölkopf

Introduction

In the field of causal discovery, a persistent gap exists between Ordinary Differential Equations (ODEs)—the gold standard for describing physical systems in continuous time—and Structural Causal Models (SCMs), which allow for reasoning about interventions. Traditionally, converting an ODE into an SCM required the system to settle into a static equilibrium (a fixed point). This constraint limits causal modeling to systems that eventually stop moving, excluding inherently dynamic phenomena like biological rhythms or economic cycles. This research provides a rigorous mathematical bridge to capture the causal structure of non-equilibrating systems through Dynamic Structural Causal Models (DSCMs).

The DSCM Framework

The authors introduce the DSCM as a framework that extends causal modeling to systems that never settle into a single static equilibrium. The core of this approach lies in three key concepts:

  1. Trajectories as Variables: Instead of a variable representing a single value at time $t$, it represents an entire trajectory (the whole history of the variable over time).
  2. Structural Dynamic Stability: A system is "structurally dynamically stable" if, when you intervene on all variables except one, that remaining variable eventually settles into a unique trajectory that depends only on the interventions, regardless of initial conditions.
  3. Asymptotic Equivalence: The model focuses on long-term behavior. Two trajectories are treated as equivalent if they eventually merge after the initial transient phase has died away.
Convergence of system trajectories over time, illustrating the concept of structural dynamic stability.

Mapping Physics to Causality

To demonstrate the framework, the authors use a simulated mass-spring system (a forced damped harmonic oscillator). By defining the underlying ODEs, they derive the corresponding DSCM, proving that causal reasoning is preserved: intervening on the ODE and observing the result yields the same outcome as applying the intervention directly within the DSCM.

Mapping a physical mass-spring system to its corresponding causal graphs under normal and intervened states.

Key Results and Insights

The paper establishes several theoretical milestones:

  • Existence and Consistency: Theorems prove that if a system meets stability criteria, a well-defined DSCM exists and correctly predicts the effects of interventions on any subset of variables.
  • Continuous Time Advantage: Unlike Dynamic Bayesian Networks (DBNs), which require discrete time steps (discretization), DSCMs handle the continuous nature of time and the "limit" behavior of the system exactly.
  • Modularity: The framework allows for "modular" interventions, where one part of a system's mechanism is changed without breaking the causal rules governing the rest of the system.

Limitations and Future Work

While a significant step forward, the current theory relies on the system "forgetting" its initial state. It cannot yet handle chaotic systems or those with multiple attractors where the starting point permanently changes the outcome. Future research will focus on incorporating stochasticity via Random Differential Equations and developing algorithms to learn these models directly from noisy time-series data.

Summary updated

Abstract

Structural Causal Models are widely used in causal modelling, but how they relate to other modelling tools is poorly understood. In this paper we provide a novel perspective on the relationship between Ordinary Differential Equations and Structural Causal Models. We show how, under certain conditions, the asymptotic behaviour of an Ordinary Differential Equation under non-constant interventions can be modelled using Dynamic Structural Causal Models. In contrast to earlier work, we study not only the effect of interventions on equilibrium states; rather, we model asymptotic behaviour that is dynamic under interventions that vary in time, and include as a special case the study of static equilibria.
BibTeX
@inproceedings{rubenstein2018from,
  author = {Paul K. Rubenstein and Stephan Bongers and Joris M. Mooij and Bernhard Schölkopf},
  title = {{From Deterministic ODEs to Dynamic Structural Causal Models}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=AdI0gFM3bp},
}
Figure