Skip to main content
QUICK REVIEW

[Paper Review] Model-Powered Conditional Independence Test

Rajat Sen, Ananda Theertha Suresh|arXiv (Cornell University)|Sep 18, 2017
Statistical Methods and InferenceMathematics1 references25 citations
TL;DR

This paper proposes a model-powered conditional independence test (CCIT) that reformulates CI testing as a binary classification problem using powerful classifiers like gradient-boosted trees and deep neural networks. By introducing a novel nearest-neighbor bootstrap to generate samples from the conditional product distribution, CCIT achieves superior performance over prior methods, especially in high-dimensional settings, with theoretical guarantees on sample quality and generalization error.

ABSTRACT

We consider the problem of non-parametric Conditional Independence testing (CI testing) for continuous random variables. Given i.i.d samples from the joint distribution $f(x,y,z)$ of continuous random vectors $X,Y$ and $Z,$ we determine whether $X \perp Y | Z$. We approach this by converting the conditional independence test into a classification problem. This allows us to harness very powerful classifiers like gradient-boosted trees and deep neural networks. These models can handle complex probability distributions and allow us to perform significantly better compared to the prior state of the art, for high-dimensional CI testing. The main technical challenge in the classification problem is the need for samples from the conditional product distribution $f^{CI}(x,y,z) = f(x|z)f(y|z)f(z)$ -- the joint distribution if and only if $X \perp Y | Z.$ -- when given access only to i.i.d. samples from the true joint distribution $f(x,y,z)$. To tackle this problem we propose a novel nearest neighbor bootstrap procedure and theoretically show that our generated samples are indeed close to $f^{CI}$ in terms of total variational distance. We then develop theoretical results regarding the generalization bounds for classification for our problem, which translate into error bounds for CI testing. We provide a novel analysis of Rademacher type classification bounds in the presence of non-i.i.d near-independent samples. We empirically validate the performance of our algorithm on simulated and real datasets and show performance gains over previous methods.

Motivation & Objective

  • To address the challenge of non-parametric conditional independence testing for continuous random variables in high-dimensional settings.
  • To overcome the difficulty of generating samples from the conditional product distribution $f^{CI}(x,y,z) = f(x|z)f(y|z)f(z)$ when only i.i.d. samples from the true joint distribution are available.
  • To leverage modern supervised learning models—such as gradient-boosted trees and deep neural networks—for improved CI testing performance.
  • To provide theoretical guarantees on the quality of the bootstrap samples and the generalization error of the classifier used in the test.
  • To empirically validate the method on synthetic and real-world datasets, demonstrating state-of-the-art performance in CI testing.

Proposed method

  • Convert the conditional independence testing problem into a binary classification task: distinguish between original i.i.d. samples and synthetic samples from the conditional product distribution.
  • Use a nearest-neighbor bootstrap procedure to generate $n$ synthetic samples from $f^{CI}(x,y,z)$ using only the original $2n$ i.i.d. samples, ensuring the generated samples are close to $f^{CI}$ in total variation distance.
  • Label the original samples as 1 (dependent) and the bootstrap-generated samples as 0 (conditionally independent), forming a training dataset for a classifier.
  • Train a powerful classifier—such as XGBoost or a deep neural network—on the labeled dataset to learn the distinction between the two distributions.
  • Use the test error of the trained classifier as a test statistic: low error rejects $\mathcal{H}_0$ (i.e., $X \not\perp Y|Z$), while high error fails to reject $\mathcal{H}_0$.
  • Provide theoretical risk bounds for the classification problem under non-i.i.d. near-independent samples, translating into error bounds for CI testing.

Experimental results

Research questions

  • RQ1Can a model-powered approach using supervised learning improve the power and accuracy of non-parametric conditional independence testing in high-dimensional settings?
  • RQ2How can we efficiently generate samples from the conditional product distribution $f^{CI}(x,y,z)$ when only i.i.d. samples from the true joint distribution are available?
  • RQ3What theoretical guarantees can be provided for the quality of the bootstrap samples and the generalization error of the classifier under non-i.i.d. sampling?
  • RQ4How does the proposed method compare to existing CI testing methods like RCIT, KCIT, and CCIT in terms of statistical power and robustness across varying dimensions and sample sizes?
  • RQ5To what extent does the method perform on real-world data, such as the flow-cytometry dataset, when verifying CI relations under uncertain ground-truth causal structures?

Key findings

  • The proposed CCIT method achieves higher ROC AUC scores than RCIT and KCIT on all three causal graphs derived from the flow-cytometry dataset, with scores of 0.7778 (Graph ii), 0.7156 (Graph iii), and 0.6848 (Graph i).
  • On synthetic post-nonlinear noise data with $n=1000$ samples, CCIT outperforms RCIT and KCIT across all tested dimensions of $Z$, demonstrating consistent superiority in high-dimensional CI testing.
  • The nearest-neighbor bootstrap procedure successfully generates samples close to $f^{CI}$ in total variation distance, as theoretically justified and empirically validated.
  • Theoretical analysis establishes generalization bounds for the classification problem under non-i.i.d. near-independent samples, providing a rigorous foundation for the test's error control.
  • The method shows robust performance even when the ground-truth causal graphs contain potential errors, such as spurious edges like (pkc-raf), (pkc-mek), and (pka-p38), which are consistently rejected by all three CI testers.
  • The algorithm maintains strong performance even when the conditioning set $Z$ has dimension less than 10, indicating effectiveness in moderate to high-dimensional settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.