Introduction
Causal discovery aims to uncover the underlying mechanisms of complex systems, moving beyond simple correlation to identify directed relationships. In domains such as medicine and climate science, this is essential for intervention and policy-making. However, a significant hurdle remains: real-world time-series data is frequently irregular and plagued by missing values. Traditional methods often rely on regular sampling, and common preprocessing steps like "impute-then-discover" can introduce biases or "hallucinated" correlations that degrade causal accuracy.
The Challenge of Irregular Time Series
Most causal discovery algorithms assume that variables are measured at consistent, synchronized intervals. In practice, different sensors or clinical tests operate on varying schedules, leading to sparse and irregularly spaced observations. When standard imputation techniques are applied without considering the underlying causal structure, they often fail to preserve the statistical properties necessary for valid causal inference, frequently resulting in the identification of spurious edges.
Methodology: The ReTimeCausal Framework
To address these challenges, we introduce ReTimeCausal, a novel framework that unifies Additive Noise Models (ANM) with an Expectation-Maximization (EM) approach. ReTimeCausal treats causal discovery and data imputation as a joint optimization problem, iteratively refining both the missing data estimates and the causal structure.
The EM-Augmented Approach
The core of ReTimeCausal lies in its iterative two-step process:
- E-Step (Structure-Aware Imputation): Instead of using generic interpolation, the model fills missing values based on the current estimate of the causal graph. A critical innovation here is noise-aware imputation. By re-injecting sampled noise into the imputed values, the model maintains the statistical independence required for effective causal pruning in subsequent steps.
- M-Step (Causal Learning): The model updates causal functions using Kernelized Sparse Regression. This allows for the capture of complex, nonlinear relationships within a Reproducing Kernel Hilbert Space (RKHS) while enforcing sparsity to ensure the resulting graph remains interpretable and free of unnecessary edges.
This feedback loop ensures that as the data imputation improves, the causal graph becomes more accurate, which in turn leads to even better data completion.
Experimental Evaluation
ReTimeCausal was evaluated against state-of-the-art baselines, including PCMCI, DYNOTEARS, and CUTS+, across both synthetic and real-world datasets.
- Synthetic Data: Using Erdos-Rényi graphs with various nonlinear dynamics (e.g., tanh, sigmoid), the model was tested under extreme missingness. Remarkably, with 20 variables and 80% missing data, ReTimeCausal maintained a perfect 1.000 F1 score, whereas baseline methods failed to exceed 0.2.
- Real-World Benchmark: On the CausalRivers dataset, which models river flow systems in East Germany, ReTimeCausal achieved an F1 score of 0.436 at 60% missingness, significantly outperforming the best baseline (0.348).
Conclusion
ReTimeCausal demonstrates that by integrating causal structure directly into the imputation process, it is possible to perform robust causal discovery even in highly degraded datasets. By leveraging the strengths of Additive Noise Models and the EM framework, the method provides an interpretable and scalable solution for real-world scientific discovery. Future work will focus on addressing non-random missingness patterns and the presence of unobserved latent confounders.
Summary updated