CausalDynamics: A large-scale benchmark for structural discovery of dynamical causal models

Benjamin Herdeanu, Juan Nathaniel, Carla Roesch, Jatan Buch, Gregor Ramien, Johannes Haux, Pierre Gentine

TL;DR

This paper introduces CausalDynamics, a comprehensive benchmark and data generation framework for discovering causal relationships in complex, nonlinear dynamical systems. It addresses the limitations of existing benchmarks by providing a large-scale, tiered dataset that includes realistic challenges like noise, confounding, and time-lags, paving the way for more robust causal discovery algorithms.

What Problem Does This Paper Address?

Understanding cause-and-effect relationships in dynamical systems is crucial across many scientific domains, from climate science to biology. However, directly intervening in these systems to observe causal effects is often impossible or impractical. While data-driven causal discovery methods offer a promising alternative, their evaluation has been hampered by a lack of suitable benchmarks. Existing benchmarks are often limited to simple, deterministic, low-dimensional systems or static causal graphs, failing to capture the complexities of real-world phenomena like nonlinear interactions, noise, unobserved confounders, and time delays. This gap makes it difficult to assess the true capabilities and limitations of causal discovery algorithms, hindering progress in developing methods applicable to challenging real-world problems.

Methods

The core contribution of CausalDynamics is its extensible data generation framework and the resulting large-scale benchmark dataset. The framework is designed to be plug-and-play, allowing users to construct a hierarchy of physical systems with increasing complexity.

Key aspects of the methodology include:

  • Tiered Complexity: The benchmark is structured into three tiers:
  • Simple: Hundreds of 3D chaotic dynamical systems (ODEs and SDEs).
  • Coupled: Thousands of linearly and nonlinearly coupled ODEs and SDEs, generated using a Growing Network with Redirection (GNR) model. This model allows for flexible construction of scale-free directed acyclic graphs (DAGs) with customizable challenges.
  • Climate: Two idealized atmosphere-ocean models, including the El Niño-Southern Oscillation (ENSO) and a simplified quasi-geostrophic model.
  • Causal Challenges: The framework systematically introduces common challenges found in real-world data, including:
  • Noise: Both Gaussian and higher levels of noise.
  • Confounders: Unobserved variables that create spurious correlations.
  • Time-lags: Delays between cause and effect.
  • Varsortability: Artifacts in data where variance increases along the topological order, addressed by an optional standardization step.
  • Nonlinearity: Achieved through various activation functions on edges.
  • GNR Model Adaptation: The GNR model, originally for graph generation, is adapted to couple dynamical systems, incorporating periodic and linear drivers for root nodes, and using MLPs for propagating information through the DAG.
  • Evaluation Metrics: The benchmark uses standard metrics like Area Under the Receiver Operating Characteristic (AUROC), Area Under the Precision-Recall Curve (AUPRC), and Structural Hamming Distance (SHD) to evaluate the performance of causal discovery algorithms.

Datasets

CausalDynamics introduces a novel, large-scale benchmark dataset comprising over 14,000 graphs and 50 million preprocessed samples. This dataset is structured into three tiers:

  • Tier 1 (Simple): 585 graphs derived from 59 uncoupled 3D dynamical systems (ODEs and SDEs), with variations in noise and confounding.
  • Tier 2 (Coupled): 14,096 graphs generated by coupling dynamical systems using the GNR model. This tier includes experiments with varying noise, confounders, time-lags, standardization, and different numbers of nodes.
  • Tier 3 (Climate): 12 graphs representing two idealized climate models: the El Niño-Southern Oscillation (ENSO) and a coupled atmosphere-ocean model.

This dataset significantly expands upon existing benchmarks, which often contain only a handful of graphs or are limited to specific domains.

Key Insights and Ideas

  • The Need for Realistic Benchmarks: The paper strongly emphasizes that existing benchmarks are insufficient for evaluating causal discovery methods in complex, real-world dynamical systems. CausalDynamics aims to fill this gap by providing a comprehensive and challenging dataset.
  • Simpler Methods Can Outperform DL: Surprisingly, the authors found that non-DL-based methods often performed better than advanced DL-based algorithms on higher-dimensional datasets within CausalDynamics. This highlights a potential over-reliance on complex models without sufficient consideration for the underlying data characteristics.
  • Importance of Nonlinearity: The study suggests that mixed (nonlinear) edge-level activations can improve causal discovery performance, especially for DL-based methods, as they make directionality more detectable.
  • Varsortability is a Real Challenge: The inclusion and handling of varsortability through standardization is crucial for accurate causal discovery in dynamical systems, as it can otherwise lead to misleading results.

Key Results

The paper presents a comprehensive evaluation of several state-of-the-art causal discovery algorithms on the CausalDynamics benchmark.

  • Performance Variation: Results show significant performance differences among algorithms across various challenges. Non-DL methods like PCMCI+ and F-PCMCI often achieve competitive or superior AUROC/AUPRC scores compared to DL-based methods on coupled systems.
  • Impact of Challenges:
    • Confounding and Time-lag: These challenges significantly degrade performance for most algorithms, underscoring their difficulty.
  • Standardization: While expected to help, standardization showed minimal improvement for some methods like VARLINGAM, suggesting complex interactions with other factors.
  • Climate Models: Algorithms generally performed better on the climate models, possibly due to the noise characteristics benefiting certain methods.
  • SHD Scores: For sparse graphs, AUROC can be misleading; AUPRC and SHD provide more representative performance indicators. For instance, TSCI showed a notable improvement in SHD with mixed activations.

Limitations and Future Work

  • Fixed Parameters: The current benchmark primarily uses fixed parameters for time-lag, noise levels, and system dimensions. The authors acknowledge this limitation but highlight that their plug-and-play framework allows users to generate data with unrestricted complexity.
  • Focus on Summary Graphs: Most evaluated methods infer a single, stationary causal graph. The benchmark currently focuses on summary graph estimation, and future work will address lagged adjacency matrices and non-stationary causal structures as more capable algorithms emerge.
  • Future Directions: The authors anticipate that CausalDynamics will facilitate the development of robust causal discovery algorithms applicable to high-dimensional, nonlinear, and dynamical settings across various domains. Future work will likely involve expanding the benchmark with more complex systems, real-world data integration, and addressing non-stationary causal structures.

Summary updated

BibTeX
@inproceedings{herdeanu2025causaldynamics,
  author = {Benjamin Herdeanu and Juan Nathaniel and Carla Roesch and Jatan Buch and Gregor Ramien and Johannes Haux and Pierre Gentine},
  title = {{CausalDynamics: A large-scale benchmark for structural discovery of dynamical causal models}},
  booktitle = {CauScien @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=jR3xBpZ4nJ},
}
Figure