On the Number of Conditional Independence Tests in Constraint-based Causal Discovery

Marc Franquesa Monés, Jiaqi Zhang, Caroline Uhler
3/23/2026
cs.LGcs.AIstat.ME

No official code found. Best implementation: uhlerlab/greedy-ancestral-search (2 stars, MIT, last commit 2026-03-24).

Abstract

Learning causal relations from observational data is a fundamental problem with wide-ranging applications across many fields. Constraint-based methods infer the underlying causal structure by performing conditional independence tests. However, existing algorithms such as the prominent PC algorithm need to perform a large number of independence tests, which in the worst case is exponential in the maximum degree of the causal graph. Despite extensive research, it remains unclear if there exist algorithms with better complexity without additional assumptions. Here, we establish an algorithm that achieves a better complexity of $p^{\mathcal{O}(s)}$ tests, where $p$ is the number of nodes in the graph and $s$ denotes the maximum undirected clique size of the underlying essential graph. Complementing this result, we prove that any constraint-based algorithm must perform at least $2^{Ω(s)}$ conditional independence tests, establishing that our proposed algorithm achieves exponent-optimality up to a logarithmic factor in terms of the number of conditional independence tests needed. Finally, we validate our theoretical findings through simulations, on semi-synthetic gene-expression data, and real-world data, demonstrating the efficiency of our algorithm compared to existing methods in terms of number of conditional independence tests needed.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of the Greedy Ancestral Search (GAS) algorithm from the paper "On the Number of Conditional Independence Tests in Constraint-based Causal Discovery".

20PythonNov 11, 20257 months agoMIT

Similar Papers

Cite this paper

@article{mons2026number,
  title  = {On the Number of Conditional Independence Tests in Constraint-based Causal Discovery},
  author = {Marc Franquesa Monés and Jiaqi Zhang and Caroline Uhler},
  year   = {2026},
  eprint = {2603.21844},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.21844v1}
}

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/2603.21844.svg)](https://codeofpaper.com/paper/2603.21844)

Discussion