Recursive Causal Discovery (Abstract Reprint)

Ehsan Mokhtarian, Sepehr Elahi, Sina Akbari, Negar Kiyavash

Abstract

Causal discovery from observational data—learning the causal graph from a finite set of samples—is a critical precursor to identifying and estimating causal effects across various scientific domains. However, the process is often hindered by two primary challenges: statistical errors arising from limited data and the daunting computational complexity of the learning task. This paper presents a unified framework for Recursive Causal Discovery (RCD), building upon a series of prior works that introduced the concept of "removable variables." By identifying and recursively removing these variables, the RCD framework reduces problem size, minimizes the size of conditioning sets in conditional independence (CI) tests, and significantly decreases the total number of tests required. The resulting algorithms achieve state-of-the-art efficiency, with worst-case performance nearly matching theoretical lower bounds. Alongside the theoretical framework, this work introduces the RCD Python package, providing a robust tool for practitioners to apply these methods to real-world datasets.

Introduction

In fields ranging from epidemiology to economics, understanding "what causes what" is the fundamental goal of empirical research. Causal discovery aims to automate this process by inferring the underlying structure of a system from purely observational data. Despite its potential, the field has long been held back by the "curse of dimensionality." As the number of variables in a system grows, the number of possible causal structures increases exponentially, making exhaustive search impossible.

Furthermore, traditional constraint-based algorithms rely on Conditional Independence (CI) tests to prune potential links between variables. These tests are statistically fragile; as the "conditioning set" (the group of variables we control for) grows larger, the reliability of the test diminishes, especially when sample sizes are finite. This leads to a high rate of false positives and negatives, resulting in inaccurate causal maps.

The Innovation: Removable Variables

The core of this framework is the concept of removable variables. In a causal graph, certain variables can be identified as "removable" based on specific structural properties. These variables are unique in that they can be extracted from the dataset without losing the information necessary to reconstruct the remaining causal structure.

By focusing on these variables, the authors introduce a "divide and conquer" strategy for causal discovery:

  1. Identification: Locate a removable variable within the current set of variables.
  2. Reduction: Remove that variable, effectively shrinking the dimensions of the problem.
  3. Recursion: Repeat the process on the remaining subset until the entire graph is mapped.

This recursive approach acts as a "secret sauce" for statistical reliability. Because the problem is broken down into smaller pieces, the algorithm can maintain much smaller conditioning sets during CI testing. This minimizes the risk of statistical errors that typically plague high-dimensional causal discovery.

Theoretical and Computational Efficiency

The RCD framework is not merely a heuristic; it is grounded in rigorous complexity analysis. The authors demonstrate that the number of CI tests required by their recursive methods nearly matches the theoretical lower bound for the task.

Compared to traditional methods like the PC (Spirtes-Glymour-Scheines) algorithm, RCD offers:

  • Lower Computational Overhead: The reduction in the number of required tests allows the algorithm to scale to larger datasets that were previously computationally prohibitive.
  • Enhanced Robustness: By keeping conditioning sets minimal, the framework produces more stable results in the face of limited data, where traditional methods often fail due to the accumulation of CI test errors.

Bridging Theory and Practice: The RCD Package

To ensure these theoretical advancements are accessible to the broader scientific community, the authors have released RCD, a Python package that implements these recursive algorithms. The package is designed for both researchers and practitioners, offering a documented and efficient implementation that can be integrated into existing data science workflows.

Package Details: * Source Code: github.com/ban-epfl/rcd * Documentation: rcdpackage.com

Conclusion and Future Directions

The unified framework for Recursive Causal Discovery represents a significant step forward in making causal inference more scalable and reliable. By leveraging the structural properties of removable variables, the RCD method bypasses the traditional trade-offs between computational speed and statistical accuracy.

While the current framework assumes causal sufficiency (no unobserved common causes) and faithfulness, it provides a robust foundation for future research. Potential extensions include adapting these recursive principles to handle latent variables or cyclic causal structures, further expanding the utility of RCD in complex, real-world environments.

Summary updated

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