Deep Koopman operator framework for causal discovery in nonlinear dynamical systems

Juan Nathaniel, Carla Roesch, Jatan Buch, Derek DeSantis, Adam Rupe, Kara D Lamb, Pierre Gentine

TL;DR

This paper introduces Kausal, a novel framework for causal discovery in complex, nonlinear dynamical systems. By combining deep learning with Koopman operator theory, Kausal learns optimal representations of system dynamics, enabling more accurate identification of cause-effect relationships than traditional methods. This approach has been successfully applied to various simulated and real-world phenomena, including climate dynamics.

What Problem Does This Paper Address?

Identifying cause-effect relationships is crucial for scientific understanding, decision-making, and modeling. However, many real-world systems, like Earth's climate, exhibit nonlinear dynamics with complex feedback loops, timescale mixing, and non-stationarity. Traditional causal discovery methods, such as Granger causality, struggle with these complexities, often assuming linearity and stationarity. This limitation hinders our ability to understand and predict the behavior of such systems. The paper aims to bridge this gap by developing a data-driven causal discovery method that can effectively handle nonlinear dynamics.

Methods

The core of Kausal lies in its integration of deep learning and Koopman operator theory. Koopman theory provides a powerful framework for linearizing nonlinear dynamics by lifting them into an infinite-dimensional space of observables. Kausal leverages deep learning (specifically, neural network-based encoder-decoder architectures) to learn these optimal "observables" or "basis functions" that best represent the system's dynamics in a linear fashion.

The process involves:

  1. Deep Embedding: Using neural networks to infer high-dimensional embeddings (observables) that capture the system's dynamics.
  2. Koopman Operator Approximation: Employing Dynamic Mode Decomposition (DMD) to approximate the Koopman operator, which describes the linear evolution of these learned observables.
  3. Causal Measure: Defining a causal measure based on the difference in prediction error between a "marginal" model (considering only the effect variable) and a "joint" model (considering both cause and effect variables). A significantly lower error in the joint model indicates a causal influence.

This approach contrasts with prior methods that often rely on pre-defined, "prescribed" dictionary functions for observables, which may not be optimal for complex systems.

Datasets

The paper evaluates Kausal on several datasets:

  • Coupled Rössler oscillators: A 6-dimensional system used to test the framework's ability to identify causal directions and magnitudes in a controlled nonlinear setting.
  • Reaction-diffusion equation: A high-dimensional system (16x16 grid) used to assess Kausal's scalability and its ability to handle complex spatial dynamics.
  • El Niño-Southern Oscillation (ENSO) model: A physics-based dynamical model of climate phenomena used to study causal relationships in a simplified climate system.
  • ENSO real-world data: Ocean reanalysis products from ECMWF are used to demonstrate Kausal's applicability to noisy, sparse, real-world climate data.

No new benchmarks were introduced; instead, Kausal was compared against existing methods on these established or representative datasets.

Key Insights and Ideas

  • Learned Observables are Key: The paper strongly suggests that learning optimal observables through deep learning is crucial for accurate causal discovery in nonlinear systems, outperforming methods that rely on pre-defined functions.
  • Koopman Theory as a Causal Bridge: Koopman theory provides a natural mathematical bridge between nonlinear dynamics and linear causal analysis, allowing established linear causal inference tools to be applied in complex settings.
  • Marginal vs. Joint Models for Causality: The core causal measure, derived from the difference in prediction error between marginal and joint models, effectively quantifies causal influence by assessing how much information about the effect can be gained by including the cause.
  • Scalability and Generalizability: Kausal demonstrates its ability to handle both high-dimensional systems and real-world noisy data, highlighting its practical utility.

Key Results

  • Superior Causal Discovery: Kausal consistently outperforms baseline methods (PCMCI+, VARLINGAM, TSCI, cLSTM) in identifying causal directions and magnitudes across various simulated and real-world systems.
  • Accurate ENSO Analysis: Kausal successfully captures major El Niño and La Niña events in real-world ENSO data, demonstrating its ability to detect significant causal signals in complex climate phenomena.
  • Performance Gains with Learned Observables: Experiments show that using learned observables (MLP, CNN) leads to significantly better forecasting and causal measure estimation compared to prescribed observables (RFF).
  • AUROC Scores: Kausal achieves the highest AUROC scores (e.g., 0.86 for Coupled Rössler, 0.98 for Reaction-Diffusion, 0.62 for ENSO) in detecting extreme causal signals, indicating its strong performance.

Limitations and Future Work

  • Computational Cost: While Kausal offers improved accuracy, deep learning-based methods can be computationally intensive.
  • Causal Effect Estimation: The paper focuses on causal discovery (identifying relationships) and suggests extending the framework to causal effect estimation for explainable, physics-informed predictions robust to out-of-distribution scenarios.
  • Structural Causal Graph Discovery: Future work could involve extending Kausal to discover structural causal graphs by developing tractable adjacency testing algorithms.
  • Stochastic and Non-Autonomous Systems: The authors plan to investigate stochastic dynamics and time-dependent flows, which are common in real-world systems.

Summary updated

BibTeX
@inproceedings{nathaniel2025deep,
  author = {Juan Nathaniel and Carla Roesch and Jatan Buch and Derek DeSantis and Adam Rupe and Kara D Lamb and Pierre Gentine},
  title = {{Deep Koopman operator framework for causal discovery in nonlinear dynamical systems}},
  booktitle = {World Models @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=7HZxoTIh6y},
}
Figure