arXiv:2611.08918cs.LGNov 2026

Manuscript Offprint

arXiv:2611.08918

Composable Causality: A Toolkit for Systematic Time-Series Causal Discovery and Treatment-Effect Benchmarking

Muhammad Hasan Ferdous, Md Osman Gani

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Real-world multivariate time series rarely come with verified ground-truth causal structure, so research on time-series causal discovery and treatment-effect estimation depends on synthetic data. Existing tools are either fixed datasets that cannot be modified after release or script-based generators in which each script fixes one combination of mechanism, confounding, and missingness. Neither supports controlled experiments that vary a single property, such as sparsity, noise distribution, or missingness mechanism, while holding the others fixed. Counterfactual evaluation has the same gap, since existing simulators are built per paper with hardcoded mechanisms or produce observational data only. We introduce DTCD¹ (Datasets and Toolkit for Causal Discovery), a data generation library that produces multivariate time series with ground-truth contemporaneous and lagged adjacency matrices. Topology, mechanism, noise, observational mask, and intervention policy are independent components that compose through configuration alone. Paired counterfactual twins, produced by caching the stochastic realization during the factual rollout and re-injecting it during the interventional rollout, recover individual treatment effects to numerical precision. A reference benchmark of eight discovery algorithms on eighty-one configurations and four treatment-effect estimators on eighteen configurations exposes failure modes that aggregate metrics hide. These include the inability of standard discovery methods to handle missing values, regardless of whether the missingness mechanism is informative, and a marginal-variance shortcut (varsortability) that we measure and remove by standardization.

1 Introduction

The discovery of causal relationships from observational multivariate time series is a foundational prerequisite for understanding complex dynamic systems in disciplines spanning healthcare [1], algorithmic finance, and climate science [2, 3]. Over the past decade, researchers have developed numerous algorithms for time-series causal discovery, including Granger-style methods, constraint-based independence testing, score-based continuous optimization, and deep functional approaches.

Despite this methodological proliferation, empirical evaluation has lagged. Existing benchmarks fall into two architectural patterns. The first is the static corpus: a fixed collection of pre-generated datasets shipped alongside a paper or maintained as a community repository [4]. The second is the scenario script collection: a set of generator programs, each hardcoding a specific combination of

¹Code and data: https://github.com/hferdous/Composable_Causality.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Track on Evaluations and Datasets.

mechanism, confounding pattern, and missingness assumption [5]. Both patterns share a common limitation: researchers cannot ablate difficulty axes or run controlled sensitivity sweeps without authoring new generator code per configuration.

We argue this is the wrong abstraction for methodological research. The questions that drive method development (at what sparsity does constraint-based discovery break? how does method ranking change as nonlinearity intensifies? what is the marginal cost of MCAR vs MNAR under otherwise identical conditions?) require factorial experiments in which one data-generating process (DGP) axis varies while all others are held fixed. Static corpora and per-scenario scripts do not support this workflow.

Contributions. We introduce DTCD, a configurable framework for temporal benchmarking that replaces the fixed-artifact paradigm.

  1. A composable framework rather than a corpus or script collection. Every DGP component (topology generator, structural mechanism, noise distribution, observational mask, intervention policy) is a first-class API parameter that composes orthogonally with every other component. Investigations that require new code in script-based benchmarks (sensitivity sweeps, factorial ablations, controlled perturbation studies) require only configuration changes in DTCD.

  2. Exact counterfactual twin generation. The CounterfactualSuite caches the stochastic realization N during the factual rollout and re-injects it during the interventional rollout, so the individual treatment effect at any time t for any downstream node is exact to floating-point precision. No prior temporal benchmark provides ground-truth counterfactuals.

  3. Explicit identifiability documentation. Identifiability status (full DAG, Markov equivalent, or not established) is documented for the linear mechanisms, as propositions, and for the recursive nonlinear mechanism, which is used only as a robustness stressor. No claim is made for the remaining mechanisms. Machine-readable tags currently exist only in the spatio-temporal module; adding them to the core generators is planned.

  4. A reference benchmark and diagnostic protocol. We evaluate eight causal discovery algorithms and four CATE estimators across a tractable factorial grid of nine predefined graphs (d∈{4,6,8},τmax⁡∈{2,3,4}d \in \{4, 6, 8\}, \tau_{\max} \in \{2, 3, 4\}) under nine discovery DGP variants (linear, nonlinear, drift, MNAR, MCAR, trend, seasonal, trend+seasonal, nonlinear+trend+seasonal) and two CATE variants. Tuning uses Optuna with standardized metrics (SHD, normalized SHD, F1, TPR, FDR, AUPRC, PEHE), and recovered graphs are visualized beside ground truth to surface failure modes aggregate metrics conceal.

  5. Open-source release with reproducibility infrastructure. Native exporters to tigramite and causal-learn, Datasheet for Datasets [6] documentation, Croissant [7] metadata, single-command reproduction of every paper table and figure.

References (46)