Recursive Causal Discovery

Ehsan Mokhtarian, Sepehr Elahi, Sina Akbari, Negar Kiyavash · DOI

Introduction

Causal discovery—the process of inferring "who causes what" from observational data—is a cornerstone of scientific inquiry, yet it remains one of the most challenging problems in machine learning. Technically classified as NP-hard, the computational effort required to learn a causal graph explodes exponentially as more variables are added.

Beyond computational complexity, practitioners face a significant statistical hurdle: most discovery algorithms rely on Conditional Independence (CI) tests. In high-dimensional datasets, these tests often require "conditioning" on many variables simultaneously. As the size of the conditioning set grows, the amount of data required to maintain accuracy increases dramatically. Without massive datasets, these tests become unreliable, leading to "noisy" or incorrect causal graphs. This paper introduces a unified recursive framework designed to address both the computational "explosion" and the statistical "noise" through a divide-and-conquer strategy.

The Core Innovation: Removable Variables

The fundamental breakthrough of this research is the concept of a removable variable. In a causal graph, a variable is considered "removable" if its deletion does not distort the projected causal relationships among the remaining variables.

The authors prove that variables with no children (sinks) are always removable, and importantly, this property is invariant across a Markov Equivalence Class (MEC). By identifying these variables, the task of learning a complex graph can be broken down into a sequence of simpler sub-problems.

A Unified Recursive Framework

The paper proposes a general Recursive Framework that operates in four iterative steps:

  1. Find a removable variable within the current set of variables.
  2. Learn the immediate neighbors of that variable.
  3. Remove the variable from the dataset.
  4. Repeat the process with the remaining variables until the entire graph is reconstructed.

This approach is statistically advantageous because it keeps the "conditioning sets" in CI tests as small as possible, significantly boosting the reliability of the results even with limited data. The authors unify four specific algorithms under this framework, each tailored to different structural assumptions and data constraints.

Table 1: Comparison of recursive causal discovery algorithms, their assumptions, and computational complexities.

The Algorithm Suite

  • MARVEL: Optimized for cases with "causal sufficiency," where no hidden or latent variables are present.
  • L-MARVEL: An extension that handles latent variables and selection bias, making it more robust for real-world observational studies.
  • RSL (Recursive Structure Learning): Leverages structural side information (such as knowing a graph is "diamond-free") to achieve polynomial-time complexity.
  • ROL (Removable-Order Learning): An ordering-based approach that utilizes Reinforcement Learning or Hill-climbing to find the optimal sequence for variable removal. By searching for "removable orders" (r-orders) rather than strict causal orders, ROL explores a larger, more flexible search space, making it easier to find valid solutions in complex systems.

Efficiency and Complexity

A key insight of this work is the shift in complexity scaling. Traditional algorithms, such as the PC algorithm, typically scale based on the maximum degree of a node ($\Delta$). In contrast, these recursive methods scale primarily based on the maximum in-degree ($\Delta_{in}$), which represents the maximum number of direct causes for any single variable.

In many real-world networks, the in-degree is significantly smaller than the total degree, leading to massive computational speedups. As shown in the comparison table, algorithms like MARVEL perform $O(n^2 + n \Delta_{in}^2 2^{\Delta_{in}})$ CI tests, nearly matching the theoretical lower bounds for causal discovery. This efficiency allows the framework to scale to large graphs where exact traditional methods would fail.

Practical Implementation and Future Directions

To make these advancements accessible to the research community, the authors have released RCD, a Python package that implements these algorithms efficiently.

While the recursive framework represents a significant leap forward, challenges remain. Like all constraint-based methods, these algorithms are dependent on the quality of the underlying CI tests, which can be a weak point in non-parametric settings. Additionally, the initial computation of "Markov Boundaries" remains a bottleneck for extremely large systems, such as gene regulatory networks with tens of thousands of variables. Future work will focus on parallelization and methods that bypass the initial Markov boundary requirement to further enhance scalability for high-dimensional biological data.

Summary updated

BibTeX
@inproceedings{mokhtarian2026recursive,
  author = {Ehsan Mokhtarian and Sepehr Elahi and Sina Akbari and Negar Kiyavash},
  title = {{Recursive Causal Discovery}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i47.41399},
}
Figure