Model-Powered Conditional Independence Test

Rajat Sen, Ananda Theertha Suresh, Karthikeyan Shanmugam, Alexandros G. Dimakis, Sanjay Shakkottai
9/18/2017
stat.MLcs.AIcs.IT

Official code: rajatsen91/CCIT (49 stars, Python, last commit 2023-07-06).

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$.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

rajatsen91/CCITOfficial100%

Classifier Conditional Independence Test: A CI test that uses a binary classifier (XGBoost) for CI testing

4910PythonJun 13, 20173 years ago

Similar Papers

Cite this paper

@article{sen2017modelpowered,
  title  = {Model-Powered Conditional Independence Test},
  author = {Rajat Sen and Ananda Theertha Suresh and Karthikeyan Shanmugam and Alexandros G. Dimakis and Sanjay Shakkottai},
  year   = {2017},
  eprint = {1709.06138},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1709.06138}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1709.06138.svg)](https://codeofpaper.com/paper/1709.06138)

Discussion