On sample complexity of conditional independence testing with Von Mises estimator with application to causal discovery

Fateme Jamshidi, Luca Ganassali, Negar KiyavasharXiv 2023 · DOI

Introduction

Causal discovery aims to uncover the underlying structure of a system by identifying causal relationships between variables. A fundamental component of this process is the Conditional Independence (CI) test. While CI testing is well-established for discrete data or linear-Gaussian models, it remains a significant challenge for continuous variables with complex, non-linear dependencies. Existing methods often suffer from the curse of dimensionality or prohibitive computational costs, such as the $O(n^3)$ scaling of high-accuracy kernel methods like HSIC. Furthermore, theoretical guarantees for causal discovery algorithms like PC or GS have historically relied on the assumption of a "perfect CI oracle," leaving a gap in our understanding of sample complexity in continuous settings.

The VM-CI Estimator

To address these challenges, this research introduces VM-CI, a conditional independence test based on the Von Mises estimator for entropy. Unlike standard "plug-in" estimators that are often biased, VM-CI utilizes a functional Taylor expansion—the Von Mises expansion—to de-bias entropy calculations. This approach is paired with Kernel Density Estimation (KDE) to model underlying distributions.

The authors establish an exponential concentration inequality for this estimator, proving that the error probability decreases rapidly as sample size increases. Computationally, VM-CI achieves a complexity of $O(dn^2)$, where $d$ is the dimension and $n$ is the number of samples, offering a significant improvement over $O(n^3)$ kernel methods. Crucially, this work provides the first sample complexity bounds for the PC and GS algorithms in continuous domains, specifying the number of samples required to recover a causal graph with high confidence.

Experimental Setup

The performance of VM-CI was evaluated using synthetic datasets to ensure comparison against a known ground truth.

  • Power-law Data: Used for testing individual CI relations, particularly for its $\beta$-Hölder smoothness properties.
  • Structural Equation Models (SEM): A 6-node Directed Acyclic Graph (DAG) was employed to assess the full causal discovery pipeline.
The 6-node Directed Acyclic Graph (DAG) used for evaluating causal discovery algorithms.

The proposed method (labeled "KDE" in experimental results) was compared against several baselines, including KNN-based estimators, MINE (neural network), HSIC (kernel-based), and standard Gaussian partial correlation.

Key Results

Experimental results demonstrate that VM-CI effectively balances accuracy and efficiency. In tests with power-law data, the method achieved lower Type I + II error rates than most competitors, matching the accuracy of HSIC while being significantly faster.

Performance comparison of VM-CI (KDE) against baselines across error rates, computation time, and causal recovery loss.

As shown in the figures above, the runtime of HSIC increases sharply with sample size, reaching approximately 80 seconds for 2,000 samples, whereas VM-CI remains under 10 seconds. When integrated into the PC algorithm, VM-CI resulted in lower overall loss (fewer structural errors) compared to neural-network-based (MINE) or transport-based (OT) approaches, particularly in small-to-medium sample regimes.

Discussion and Future Work

The theoretical guarantees of VM-CI rely on the assumption that the underlying density is sufficiently smooth (specifically belonging to a Hölder class with $\beta > 1 + d_Z/2$). While this assumption allows the test to achieve a parametric convergence rate of $O(n^{-1/2})$, performance may degrade if the data exhibits sharp discontinuities. Additionally, the current proofs assume compact support and densities bounded away from zero. Future research could extend these guarantees to heavy-tailed distributions or infinite support. Practical implementation also requires careful selection of the KDE bandwidth ($h$), which remains a critical hyperparameter in high-dimensional settings.

Reference: Jamshidi, F., Ganassali, L., & Kiyavash, N. (2023). On sample complexity of conditional independence testing with Von Mises estimator with application to causal discovery. arXiv:2310.13553v1.

Summary updated

BibTeX
@misc{jamshidi2023sample,
  author = {Fateme Jamshidi and Luca Ganassali and Negar Kiyavash},
  title = {{On sample complexity of conditional independence testing with Von Mises estimator with application to causal discovery}},
  year = {2023},
  eprint = {2310.13553},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.13553},
}
Figure