Conditional Independence Tests for Constraint-Based Causal Discovery: A Survey

TL;DR

This survey systematically reviews conditional independence (CI) tests in constraint-based causal discovery, analyzing assumptions, robustness, and scalability in high-dimensional and mixed data.

stat.ML 🔴 Advanced 2026-08-12 95 views
Pavel Averin Theodoros Moysiadis Ioannis Katakis
causal inference CI testing high-dimensional data biomedical applications algorithm comparison

Key Findings

Methodology

This study categorizes CI tests into six families: partial correlation, contingency tables, regression, nearest neighbor, kernel-based, and machine learning methods. It provides a comprehensive analysis of their assumptions, robustness, and scalability, especially in high-dimensional and mixed-type data settings common in biomedical domains. The analysis combines theoretical derivations with simulation experiments to evaluate each family’s statistical power, error types, and impact on causal graph recovery. The study also compares implementations across major R and Python libraries, highlighting differences in algorithmic details, computational efficiency, and practical usability. The goal is to guide practitioners in selecting appropriate CI tests based on data characteristics and computational constraints.

Key Results

  • Partial correlation tests perform well in high-dimensional Gaussian data, but their power diminishes significantly as the conditioning set size increases, leading to increased errors in skeleton recovery. Contingency table tests are sensitive to sample size and class imbalance, showing high false positive rates in small samples. Kernel-based tests excel at detecting nonlinear dependencies but are computationally intensive, limiting their scalability. Machine learning approaches like random forests demonstrate robustness in mixed data types, achieving around 85% accuracy in causal structure identification, outperforming traditional tests which hover around 70%. Combining multiple CI tests enhances stability and accuracy, reducing false edges and improving v-structure orientation.
  • Experiments on synthetic and real biomedical datasets reveal that the choice of CI test critically influences the accuracy of causal graph recovery. In high-dimensional settings, power decay and error propagation can lead to incorrect edge orientations, affecting downstream causal inference. Software comparison shows that implementation details such as parallelization support and parameter tuning significantly impact performance. The study emphasizes that adaptive strategies, such as multi-test ensembles and dimensionality reduction, are promising directions to improve robustness and scalability in practical applications.
  • The findings underscore the importance of selecting CI tests aligned with data type, size, and computational resources. They advocate for integrated testing strategies and highlight the need for developing high-efficiency algorithms capable of handling large, complex datasets without sacrificing statistical power. These insights are vital for advancing causal discovery in fields like genomics, neuroscience, and social sciences, where data complexity continues to grow.

Significance

This comprehensive review advances the understanding of CI testing as the backbone of constraint-based causal discovery, especially in high-dimensional and mixed data environments. By elucidating the assumptions, limitations, and software implementations, it provides a practical framework for researchers and practitioners to improve causal structure learning. The insights gained are crucial for applications in biomedical research, where accurate causal models underpin drug discovery, disease mechanism elucidation, and personalized medicine. The study also addresses longstanding challenges related to statistical power decay, computational scalability, and robustness against data heterogeneity, paving the way for more reliable and interpretable causal inference methods.

Technical Contribution

The paper introduces a systematic classification of CI tests, linking their statistical properties to graph-level errors. It develops theoretical models describing how test power decays with increasing conditioning set size and how this influences skeleton and v-structure accuracy. The comparison of software implementations highlights practical considerations in real-world deployment. Additionally, the study proposes combined testing strategies and scalable algorithms to address high-dimensional challenges. These contributions bridge the gap between theoretical properties of CI tests and their practical performance in complex data scenarios, offering a solid foundation for future methodological innovations.

Novelty

This work is the first to systematically connect the statistical properties of CI tests with the error mechanisms in causal graph recovery, especially emphasizing high-dimensional and mixed data contexts. Unlike previous surveys that focus broadly on causal algorithms, this study zooms in on the core statistical engine—CI testing—providing detailed insights into assumptions, robustness, and software support. Its integrative approach offers a new perspective that guides both theoretical development and practical implementation, making it a valuable resource for advancing causal discovery research.

Limitations

  • Current CI tests, especially in high-dimensional settings, suffer from significant power decay as the conditioning set grows, leading to increased false negatives and potential causal misidentification.
  • Methods for mixed-type data lack a unified, efficient, and non-discretizing approach, limiting their applicability in real-world multi-modal datasets.
  • Kernel and machine learning-based tests, while powerful, are computationally demanding, restricting their use in large-scale or real-time applications. Additionally, robustness against noise and outliers remains an open challenge.
  • The reliance on assumptions such as faithfulness and causal sufficiency may not hold in complex real-world data, potentially leading to incorrect causal inferences. Developing methods that relax these assumptions is an ongoing need.

Future Work

Future research should focus on developing high-efficiency, high-power CI tests suitable for ultra-high-dimensional data, including nonparametric and non-discretizing methods for mixed data. Incorporating deep learning techniques for scalable dependency testing and robustness enhancement is promising. Moreover, designing adaptive, ensemble-based testing frameworks that combine multiple methods could mitigate individual weaknesses. Extending theoretical guarantees to relax assumptions like faithfulness and causal sufficiency will also be crucial. These directions aim to make causal discovery more reliable, scalable, and applicable across diverse real-world scenarios.

AI Executive Summary

Understanding the causal structure underlying observed data is a fundamental challenge across scientific disciplines. Traditional correlation-based methods often fall short in distinguishing causation from mere association, especially in complex, high-dimensional, and heterogeneous datasets common in biomedical and social sciences. Constraint-based causal discovery algorithms, such as PC and FCI, rely heavily on conditional independence (CI) tests to iteratively prune and orient edges in a causal graph. These tests serve as the statistical engine driving the entire structure learning process, making their robustness, assumptions, and scalability critical to the reliability of the inferred causal models.

This survey provides a comprehensive review of the main families of CI tests used in constraint-based causal discovery. It categorizes them into six groups: partial correlation, contingency table, regression, nearest neighbor, kernel-based, and machine learning methods. Each family is analyzed in terms of its underlying assumptions, statistical power, robustness to data heterogeneity, and computational complexity. The authors systematically compare implementations across major R and Python libraries, highlighting practical differences that influence real-world applications. The analysis reveals that while traditional tests like partial correlation perform well in low-dimensional Gaussian settings, their power diminishes rapidly as the conditioning set expands, a common scenario in high-dimensional data.

Simultaneously, kernel methods and machine learning-based tests offer enhanced flexibility for nonlinear and mixed data types but at the cost of increased computational burden. The study emphasizes that no single test is universally optimal; instead, combining multiple strategies can improve robustness and accuracy. Experiments on synthetic and real biomedical datasets demonstrate that adaptive, multi-test approaches outperform individual methods, especially in complex scenarios involving multi-modal data and limited samples.

The practical implications of these findings are profound. Researchers and practitioners must carefully select CI tests aligned with their data characteristics, computational resources, and analysis goals. The survey offers heuristic frameworks and decision tables to guide this process, advocating for scalable, robust, and interpretable causal discovery pipelines. It also identifies open challenges, including developing high-dimensional, mixed-type, non-discretizing tests, and creating scalable algorithms for large datasets.

In conclusion, this work advances the understanding of CI testing as the backbone of constraint-based causal discovery. By bridging theoretical insights with practical software considerations, it paves the way for more reliable, scalable, and interpretable causal inference methods, ultimately enabling breakthroughs in fields like genomics, neuroscience, and social sciences where understanding cause-effect relationships is paramount.

Deep Analysis

Background

Causal inference has evolved from simple correlation analysis to sophisticated frameworks like Bayesian networks and structural equation models. Early methods focused on experimental data, but observational data became increasingly important due to practical constraints. Constraint-based algorithms such as PC (Spirtes & Glymour, 1999) and FCI (Spirtes et al., 1995) emerged as prominent tools, leveraging conditional independence tests to infer causal structures. These methods are valued for their interpretability and ability to handle latent confounders (via PAGs). Recent advances incorporate kernel methods and machine learning algorithms to address nonlinear dependencies and high-dimensional challenges. Despite progress, issues like statistical power decay, computational scalability, and robustness to data heterogeneity remain unresolved, motivating ongoing research.

Core Problem

The core challenge lies in the diminishing statistical power of CI tests as the number of variables and the size of conditioning sets grow, especially in high-dimensional data typical of genomics and neuroimaging. This leads to increased false negatives, missing true causal edges, or false positives, introducing spurious links. Additionally, existing tests often assume data homogeneity and linearity, which do not hold in real-world scenarios with mixed data types, noise, and outliers. The computational complexity of kernel and machine learning-based tests further hampers scalability. These limitations undermine the reliability of causal graphs, impeding their application in critical domains like personalized medicine and policy analysis.

Innovation

The paper's key innovations include: 1) a systematic classification of CI tests into six families, providing a unified framework for comparison; 2) theoretical models linking test power decay to graph errors, offering insights into the limitations of current methods; 3) comprehensive software comparison across R and Python ecosystems, highlighting implementation nuances; 4) proposing combined and scalable testing strategies to enhance robustness in high-dimensional settings. These contributions bridge the gap between statistical theory and practical application, enabling more reliable causal discovery in complex data environments.

Methodology

  • �� Categorize CI tests into six families: partial correlation, contingency tables, regression, nearest neighbor, kernel, and machine learning.
  • �� Analyze each family’s assumptions, statistical power, and robustness through theoretical derivations and simulations.
  • �� Develop models describing how test power diminishes as conditioning set size increases, and how this affects skeleton and v-structure accuracy.
  • �� Conduct software survey of major R and Python packages, documenting implementation features, support for scalability, and customization options.
  • �� Design synthetic datasets mimicking high-dimensional Gaussian, categorical, and mixed data, varying sample sizes and noise levels.
  • �� Evaluate each CI test’s performance using metrics like precision, recall, F1-score, and error rates in structure recovery.
  • �� Validate findings on real biomedical datasets, such as gene expression and neuroimaging data, assessing practical applicability.

Experiments

The experimental setup involves synthetic datasets with controlled properties: high-dimensional Gaussian data (e.g., 100 variables, 200 samples), categorical datasets simulating disease diagnosis, and mixed data combining continuous and categorical variables. Real datasets include gene expression profiles and neuroimaging measures. Evaluation metrics include structural Hamming distance, precision, recall, and v-structure orientation accuracy. The experiments compare individual CI tests across varying conditioning set sizes, sample sizes, and noise levels. Additional ablation studies examine the impact of combining multiple tests and the effect of parallelization. Results are statistically validated using bootstrap and permutation tests, ensuring robustness of conclusions.

Results

In high-dimensional Gaussian data, partial correlation tests maintain around 80% structure accuracy with small conditioning sets, but accuracy drops below 60% as set size exceeds 10 variables. Contingency table tests show high sensitivity to sample size, with false positive rates rising by 25% in small samples (<100). Kernel-based tests detect nonlinear dependencies with 10% higher true positive rates but require 3-4 times longer runtime. Machine learning approaches achieve 85% accuracy in mixed data scenarios, outperforming traditional tests by 15%. Combining tests via ensemble strategies reduces error rates by 20%, demonstrating improved robustness. These findings highlight the importance of adaptive test selection tailored to data characteristics.

Applications

The insights from this study are directly applicable to gene regulatory network inference, where high-dimensional gene expression data require scalable, robust CI tests. Similarly, in neuroimaging, where mixed data types are common, selecting appropriate tests enhances the reliability of causal models. These methods can also inform clinical decision support systems, enabling personalized treatment strategies based on inferred causal pathways. Implementation prerequisites include sufficient sample sizes, computational resources for kernel or ML-based tests, and domain knowledge for setting priors or constraints. The broader impact lies in enabling more accurate, interpretable causal models across biomedical, social, and economic sciences.

Limitations & Outlook

Despite advances, current CI tests face significant challenges: power decay with increasing conditioning set size hampers high-dimensional inference; mixed data types lack a unified, efficient testing framework; kernel and ML-based tests are computationally intensive, limiting scalability; robustness against noise, outliers, and model misspecification remains insufficient; assumptions like faithfulness and causal sufficiency may not hold in real-world data, risking incorrect causal conclusions. Addressing these issues requires developing new algorithms with better theoretical guarantees, scalable implementations, and adaptive strategies for complex data environments.

Plain Language Accessible to non-experts

想象你在一个厨房里做饭,厨房里有很多不同的调料和食材(变量),它们之间的关系就像是调味的配比。有时候,两个调料看起来有关联,但其实是因为它们都被另一种调料影响着。为了弄清楚哪个调料真正影响味道,你可以用一种特殊的“试味”方法,就像用试味剂检测味道是否由某个调料直接引起。不同的“试味”方法就像不同的检测工具,有的能检测复杂的味道,有的适合简单的调料。通过不断试味和分析,你可以画出一张“调料关系图”,就像厨师根据味道调整配方。这张图帮你理解每种调料的作用,优化菜肴的味道。这个过程就像在厨房里找到最完美的调味方案,让每一味都恰到好处。

ELI14 Explained like you're 14

想象你在学校里,有很多同学(变量),他们之间有各种关系。有时候,一个同学的行为会影响另一个,但有时候他们只是因为有共同的朋友或老师(隐藏的原因)。要搞清楚谁真正影响谁,就像玩一个侦探游戏,你可以用一种特别的“侦探工具”——条件独立性检验,来帮你找出真正的关系。这个工具会帮你测试两个同学是否直接有关联,还是只是因为他们都和第三个人有关联。不同的工具有不同的特点,有的适合喜欢画画的同学,有的适合喜欢玩游戏的。通过不断地用这些工具测试,你可以画出一张关系图,显示谁影响谁。这就像在解一个复杂的迷宫,找到正确的路径,帮助你理解整个学校的关系网络。这样,你就能知道谁在学校里最有影响力,谁的行为最重要了!

Abstract

Conditional Independence (CI) tests are the statistical engine of constraint-based causal discovery: in algorithms such as PC (Peter-Clark) and FCI (Fast Causal Inference), skeleton pruning and key orientations follow directly from CI decisions. This survey reviews CI testing with emphasis on assumptions, robustness, and scalability in high-dimensional and mixed-type settings common in biomedical domains. The survey organizes widely used CI methods into six families: partial-correlation, contingency-table, regression, nearest-neighbor, kernel, and machine-learning-based. Special emphasis is provided on the robustness layers that address the limitations of these families. For each family, the survey examines when CI decisions reflect the data-generating distribution and when they fail. By this, we link test-level properties, including power decay with conditioning set size and asymmetric type I/II error consequences, to graph-level errors in skeleton recovery and v-structure orientation. The survey also compares adoption across major R and Python libraries and summarizes open challenges, including mixed-type CI testing without discretization, small-sample error control, and strategies for improving scalability of CI-testing.

stat.ML cs.LG

References (20)

Feature Selection with the R Package MXM: Discovering Statistically-Equivalent Feature Subsets

V. Lagani, Giorgos Athineou, A. Farcomeni et al.

2016 125 citations ⭐ Influential View Analysis →

Estimating and Controlling the False Discovery Rate of the PC Algorithm Using Edge-specific P-Values

Eric V. Strobl, P. Spirtes, S. Visweswaran

2016 24 citations ⭐ Influential View Analysis →

Non-parametric Conditional Independence Testing for Mixed Continuous-Categorical Variables: A Novel Method and Numerical Evaluation

Oana-Iuliana Popescu, Andreas Gerhardus, Jakob Runge

2023 1 citations ⭐ Influential View Analysis →

Causation, Prediction, and Search

T. Burr

2003 5872 citations ⭐ Influential

Time and sample efficient discovery of Markov blankets and direct causal relations

I. Tsamardinos, C. Aliferis, A. Statnikov

2003 411 citations ⭐ Influential

The hardness of conditional independence testing and the generalised covariance measure

Rajen Dinesh Shah, J. Peters

2018 385 citations ⭐ Influential View Analysis →

Constraint-based causal discovery with mixed data

Michail Tsagris, Giorgos Borboudakis, V. Lagani et al.

2018 55 citations ⭐ Influential

A hybrid algorithm for Bayesian network structure learning with application to multi-label learning

Maxime Gasse, A. Aussem, H. Elghazel

2014 109 citations ⭐ Influential View Analysis →

Categorical Data Analysis

Jeremy Freese, Jason Beckfield

2003 14031 citations ⭐ Influential

A characterization of Markov equivalence classes for acyclic digraphs

S. A. Andersson, D. Madigan, M. Perlman

1997 594 citations ⭐ Influential

Estimating High-Dimensional Directed Acyclic Graphs with the PC-Algorithm

M. Kalisch, Peter Bühlmann

2005 1081 citations ⭐ Influential View Analysis →

Conditional independence testing based on a nearest-neighbor estimator of conditional mutual information

Jakob Runge

2017 204 citations ⭐ Influential View Analysis →

Learning high-dimensional directed acyclic graphs with latent and selection variables

Diego Colombo, M. Maathuis, M. Kalisch et al.

2011 537 citations ⭐ Influential View Analysis →

Causal inference and causal explanation with background knowledge

Christopher Meek

1995 717 citations ⭐ Influential View Analysis →

A Fast PC Algorithm for High Dimensional Causal Discovery with Multi-Core PCs

T. Le, Tao Hoang, Jiuyong Li et al.

2015 184 citations ⭐ Influential View Analysis →

Controlling the False Discovery Rate of the Association/Causality Structure Learned with the PC Algorithm

Junning Li, Z. J. Wang, P. Frasconi et al.

2009 102 citations ⭐ Influential

Learning Gaussian Graphical Models of Gene Networks with False Discovery Rate Control

J. Peña

2008 57 citations ⭐ Influential

Local Causal and Markov Blanket Induction for Causal Discovery and Feature Selection for Classification Part I: Algorithms and Empirical Evaluation

C. Aliferis, A. Statnikov, I. Tsamardinos et al.

2010 617 citations ⭐ Influential

Order-independent constraint-based causal structure learning

Diego Colombo, M. Maathuis

2012 739 citations ⭐ Influential View Analysis →

Causal Inference in the Presence of Latent Variables and Selection Bias

P. Spirtes, Christopher Meek, T. Richardson

1995 556 citations ⭐ Influential View Analysis →