Conditional Local Independence Testing for Dynamic Causal Discovery

Mingzhou Liu, Xinwei Sun, Yizhou WangarXiv 2025 · DOI

Abstract

Causal discovery in dynamical systems is a fundamental challenge across scientific disciplines, from neuroscience to physics. While discrete-time methods like Granger causality are widely used, many physical processes are more accurately modeled as continuous-time Itô processes. This paper introduces a novel statistical framework for testing conditional local independence in such systems. By leveraging semimartingale decomposition, optimal filtering, and cross-fitting techniques, the proposed method provides a robust, mathematically grounded approach to mapping causal relationships in noisy, high-frequency environments where traditional methods often fail.

1. Introduction

Determining the causal structure of a system—identifying which variables influence the evolution of others—is essential for understanding complex dynamics. In continuous-time systems governed by Stochastic Differential Equations (SDEs), this is often framed as a search for "local independence." A process $A$ is locally independent of process $B$ if the history of $B$ provides no additional information about the immediate future of $A$, given the history of $A$ and other background variables.

Despite the importance of this concept, existing statistical tests face significant hurdles. Most are designed for discrete-time data and lose power as sampling intervals shrink. Furthermore, existing continuous-time tests often rely on restrictive mathematical assumptions, such as boundedness, which are frequently violated by the Itô processes common in scientific modeling. This research addresses these gaps by providing a practical and consistent test for conditional local independence.

2. Methodology

2.1 Semimartingale Decomposition

The core of the proposed test lies in the decomposition of the "effect" process into a predictable drift component and a random martingale noise component. Under the null hypothesis of local independence, the "cause" process should not contribute to the predictable part of the effect process. The researchers demonstrate that if independence holds, a specific stochastic integral involving the candidate cause and the effect's residuals will itself behave as a martingale—essentially a "fair game" with no predictable trend.

2.2 Local Covariance Measure (LCM) and Cross-Fitting

To operationalize this, the authors adapted the Local Covariance Measure (LCM). Originally developed for counting processes, the LCM was extended here to accommodate the continuous trajectories of Itô processes. To enhance statistical power and ensure efficiency, the framework utilizes sample splitting and cross-fitting. This allows the model to learn the underlying system dynamics on one data partition while testing the independence hypothesis on another, achieving a $\sqrt{N}$ convergence rate.

2.3 Optimal Filtering

Estimating the hidden projections of the drift requires sophisticated filtering. For linear SDEs, such as the Ornstein-Uhlenbeck (OU) model, the authors employ the optimal filtering equation. This involves solving Riccati differential equations to precisely track information flow. While the estimator is optimized for linear dynamics, the study explores its robustness against nonlinearities.

3. Experimental Validation

3.1 Synthetic Simulations

The framework was first validated using synthetic trajectories generated from various SDEs:

  • Linear Models: Standard OU processes to verify baseline accuracy.
  • Nonlinear Models: Systems incorporating sine functions to test the limits of the linear-optimized estimator.
  • Non-isometric Noise: Complex models designed to challenge the test's handling of stochasticity.

Results indicated that while Granger causality's recall drops toward zero as the sampling interval $\delta$ approaches zero, the proposed conditional local independence test maintains high power and a stable Type I error rate.

3.2 Real-World Application: Human Connectome Project

The method was applied to resting-state fMRI data from 1,070 subjects in the Human Connectome Project (HCP). The brain was parcellated into 44 cortical and 19 subcortical regions. The goal was to recover the causal directed graph of neural activity. The test successfully identified high connectivity within known functional subgroups, such as the visual and somatosensory-motor cortices, and demonstrated high stability across different random data splits.

4. Key Insights and Results

  • Asymmetry and Time's Arrow: Unlike correlation-based measures, local independence is inherently asymmetric. This property allows the test to distinguish between $A \to B$ and $B \to A$, aligning with the directional nature of physical causality.
  • The Additive Residual Process: By isolating the unique information in a potential cause through residuals, the test effectively filters out the influence of the background environment.
  • Statistical Consistency: The authors proved that the test is consistent, maintaining the correct "size" (Type I error) even in complex settings.
  • Neuroanatomical Alignment: The recovery of known brain structures from fMRI data suggests that the test is capable of handling high-dimensional, noisy biological data.

5. Discussion and Future Work

While the current framework is a significant advancement, it is primarily optimized for Ornstein-Uhlenbeck (linear) dynamics. Although it shows robustness to some nonlinearity, future research could focus on developing optimal filtering estimators specifically for highly nonlinear diffusion processes.

Additionally, the current implementation requires multiple independent trajectories (e.g., multiple subjects). A version of the test capable of operating on a single, long trajectory would expand its utility to fields like climate science or macroeconomics, where only one historical realization is available. Despite these limitations, the proposed test represents a major step forward in bridging the gap between stochastic calculus and practical causal discovery.

Summary updated

BibTeX
@misc{liu2025conditional,
  author = {Mingzhou Liu and Xinwei Sun and Yizhou Wang},
  title = {{Conditional Local Independence Testing for Dynamic Causal Discovery}},
  year = {2025},
  eprint = {2506.07844},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.07844},
}
Figure