NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Ensemble Conditional Independence Test Framework for Causal Discovery

Zhengkang Guan, Kun Kuang

Introduction: The Bottleneck in Causal Discovery

To figure out "what causes what" in complex systems, researchers frequently rely on constraint-based causal discovery algorithms. These algorithms depend on hundreds or even thousands of Conditional Independence Tests (CITs) to determine if two variables are independent given a third set of variables.

The primary bottleneck in this process is computational cost. Modern, high-quality CITs—such as the Kernel-based CIT (KCIT)—are computationally expensive. Their time complexity often scales cubically ($O(n^3)$) with the number of samples. As datasets grow into the thousands or millions of rows, these tests become prohibitively slow. While some "fast" versions of specific tests exist, there has not been a general-purpose way to speed up any CIT without sacrificing statistical accuracy.

To address this, researchers have introduced the Ensemble Conditional Independence Test (E-CIT), a plug-and-play framework designed to make conditional independence testing significantly faster and more scalable.

Methods: The E-CIT Framework

E-CIT operates on a straightforward but mathematically rigorous "divide-and-aggregate" strategy. It reduces the computational complexity of heavy-duty tests to linear time while maintaining, and sometimes even improving, their statistical power.

The E-CIT Framework

The framework follows a three-step process:

  1. Divide: Partition the large dataset into $K$ smaller, independent subsets of a fixed size (e.g., 400 samples each).
  2. Test: Apply any existing "base" CIT (like KCIT, RCIT, or CMIknn) to each subset independently. This generates a collection of $p$-values.
  3. Aggregate: Combine these $p$-values into a single "Ensemble $p$-value."

The core innovation lies in the aggregation method. Instead of a simple average, E-CIT uses a test statistic grounded in the properties of stable distributions (a family of distributions that includes the Normal and Cauchy distributions). By utilizing the inverse cumulative distribution function (CDF) of a stable distribution, the framework theoretically guarantees that the final test is valid (controls for false positives) and consistent (gets more accurate as more subsets are added).

Key Insights and Advantages

  • Linear Scaling: Because the subset size is fixed, the total computation time scales linearly ($O(n)$) with the total number of samples. This effectively "tames" the cubic complexity of the underlying tests.
  • The "Stability" Advantage: Most $p$-value combination methods assume a specific distribution under the alternative hypothesis. By using stable distributions, E-CIT offers a flexible parameter ($\alpha$) that can be tuned to handle different types of data dependencies and noise.
  • More is Sometimes Better: Surprisingly, the ensemble approach sometimes outperforms the base test run on the entire dataset. Some CITs struggle to converge or handle outliers when the sample size is massive; splitting the data allows the "signal" to emerge more clearly across multiple smaller tests.

Key Results

The framework was rigorously evaluated using both synthetic data (featuring heavy-tailed noise like Student’s $t$, Cauchy, and Laplace distributions) and real-world data (the Flow-Cytometry dataset, a gold-standard biology benchmark).

Performance and Execution Time under t-distributed noise
  • Massive Speedup: In experiments with KCIT, E-CIT reduced execution time from several minutes to just seconds as the sample size increased, entirely avoiding the exponential time explosion seen in standard tests.
  • Robustness: E-CIT demonstrated superior performance in "heavy-tailed" scenarios, where standard tests often fail to control their error rates.
  • Improved Causal Discovery: When plugged into the PC algorithm (a standard causal discovery tool), E-CIT achieved higher F1-scores and lower Structural Hamming Distance (SHD). This means it recovered the "true" causal graph more accurately than the original tests.
  • Real-World Success: On the Flow-Cytometry dataset, E-CIT improved the precision and F1-score of almost every base CIT tested.

Limitations and Future Work

While E-CIT is a powerful tool, it has a few limitations:

  • I.I.D. Assumption: The current theory assumes subsets are independent and identically distributed. Adjustments may be needed for time-series data or datasets with significant "distribution drift."
  • The Curse of Dimensionality: E-CIT makes tests faster relative to the number of samples, but it doesn't inherently solve the problem of having too many conditioning variables.
  • Jitter for Permutations: For tests that use permutations to get $p$-values (which can result in exactly $p=0$ or $p=1$), the authors suggest adding a tiny bit of random "jitter" to keep the stable distribution math from breaking.

Future work will explore "correlated subtests" (using overlapping data subsets) to further boost performance in small-sample regimes.

Summary updated

BibTeX
@inproceedings{guan2026efficient,
  author = {Zhengkang Guan and Kun Kuang},
  title = {{Efficient Ensemble Conditional Independence Test Framework for Causal Discovery}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=N9RyL52z7y},
}
Figure