Skip to main content
QUICK REVIEW

[Paper Review] Testing Conditional Independence on Discrete Data using Stochastic Complexity

Alexander Marx, Jilles Vreeken|arXiv (Cornell University)|Mar 12, 2019
Bayesian Modeling and Causal InferenceComputer Science23 references11 citations
TL;DR

This paper proposes SCI, a new conditional independence test for discrete data based on stochastic complexity, using the fNML variant to estimate conditional mutual information (CMI) with improved sample efficiency. SCI is asymptotically unbiased and L₂ consistent for CMI, and empirically outperforms existing tests like G² and CMI with gamma thresholds, achieving significantly higher recall in causal discovery without sacrificing precision.

ABSTRACT

Testing for conditional independence is a core aspect of constraint-based causal discovery. Although commonly used tests are perfect in theory, they often fail to reject independence in practice, especially when conditioning on multiple variables. We focus on discrete data and propose a new test based on the notion of algorithmic independence that we instantiate using stochastic complexity. Amongst others, we show that our proposed test, SCI, is an asymptotically unbiased as well as $L_2$ consistent estimator for conditional mutual information (CMI). Further, we show that SCI can be reformulated to find a sensible threshold for CMI that works well on limited samples. Empirical evaluation shows that SCI has a lower type II error than commonly used tests. As a result, we obtain a higher recall when we use SCI in causal discovery algorithms, without compromising the precision.

Motivation & Objective

  • To address the poor performance of traditional conditional independence tests on discrete data, especially under limited samples and high conditioning dimensionality.
  • To develop a test that is asymptotically unbiased and L₂ consistent for estimating conditional mutual information (CMI).
  • To provide a principled, data-driven threshold for CMI that accounts for sample size, domain sizes, and empirical probability distributions.
  • To improve recall in causal discovery algorithms by reducing type II errors, particularly when conditioning on multiple variables.

Proposed method

  • SCI is derived from the notion of algorithmic conditional independence, instantiated using stochastic complexity via the fNML (finite NML) distribution.
  • The method estimates CMI using the fNML distribution, which incorporates the empirical probability mass function of the conditioning variable, unlike simpler approximations.
  • SCI uses a threshold derived from the fNML distribution to determine statistical significance, avoiding reliance on asymptotic approximations or gamma-distributed quantiles.
  • The approach is reformulated to allow a sensible, data-adaptive threshold for CMI that improves detection power on limited samples.
  • The fNML-based variant (SCI_f) is compared against qNML (SCI_q), gamma-based thresholds (CMI_Γ), and the G² test in multiple experimental settings.
  • The method is evaluated in causal discovery pipelines using the stable PC and PCMB algorithms on synthetic and real-world data (e.g., Alarm network).

Experimental results

Research questions

  • RQ1Can a stochastic complexity-based approach provide a more reliable and powerful test for conditional independence in discrete data than existing methods like G² or CMI with gamma thresholds?
  • RQ2Does the fNML instantiation of stochastic complexity yield a more accurate and consistent estimator of conditional mutual information (CMI) than alternative formulations like qNML or empirical estimates?
  • RQ3How does SCI perform in terms of type I and type II error rates when conditioning on multiple variables and under varying sample sizes and domain sizes?
  • RQ4Can SCI improve recall in causal discovery algorithms without degrading precision, especially in high-dimensional conditioning scenarios?
  • RQ5Does SCI exhibit sub-linear sample complexity, as suggested by theoretical results, and can this be empirically validated?

Key findings

  • SCI_f significantly outperforms G², CMI_Γ, and other benchmarks in terms of F1 score on undirected graphs in the stable PC algorithm, especially for small sample sizes.
  • SCI_f achieves higher recall than all competing methods in Markov blanket discovery on the Alarm network, with a notable advantage when conditioning on larger sets of variables.
  • On synthetic data with increasing domain sizes (up to 20), only SCI_f maintains high accuracy, while other tests suffer from 100% false positive rates, reducing accuracy to 50%.
  • SCI_f reduces type II error compared to standard tests, particularly in high-noise and low-sample regimes, leading to better detection of true conditional independence.
  • The empirical results suggest that SCI has sub-linear sample complexity, a property that could be theoretically validated in future work.
  • SCI_f is the only method that maintains high performance across varying domain sizes and sample sizes, demonstrating robustness to data sparsity and high conditioning dimensionality.

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.