Learning directed acyclic graphs based on sparsest permutations

Garvesh Raskutti, Caroline UhlerarXiv 2013

Abstract

Inferring causal relationships from observational data is a cornerstone of scientific inquiry, typically represented through Directed Acyclic Graphs (DAGs). Traditional algorithms for DAG discovery rely on the "faithfulness" assumption, which posits a perfect correspondence between conditional independencies in data and the structure of the underlying graph. However, faithfulness is often violated in practice. This paper introduces the Sparsest Permutation (SP) algorithm, which operates under the Sparsest Markov Representation (SMR) assumption—a condition strictly weaker than faithfulness. While the SP algorithm offers superior statistical guarantees and robustness to testing errors, it highlights a fundamental trade-off between statistical reliability and computational complexity.

Introduction

A central challenge in causal inference is the recovery of a DAG from purely observational data. Established methods, such as the PC algorithm, Greedy Equivalence Search (GES), and Sparse Greedy Search (SGS), generally assume that the underlying distribution is faithful to the causal graph. Under faithfulness, every conditional independence (CI) found in the data implies a missing edge in the graph.

In real-world scenarios, faithfulness is frequently violated due to finite sample sizes, statistical testing errors, or specific parameter cancellations (e.g., in linear models where paths cancel each other out). When these assumptions fail, standard algorithms often produce incorrect structures, typically by erroneously removing true causal edges. This research addresses these vulnerabilities by proposing a method that requires only that the true causal graph be the sparsest possible representation of the data's independence structure.

The Sparsest Permutation (SP) Algorithm

The SP algorithm shifts the focus from local edge testing to global permutation optimization. Rather than building a graph edge-by-edge, the algorithm searches the space of variable orderings to find the most parsimonious model.

Methodology

The algorithm proceeds through four primary stages:

  1. Permutation Search: The algorithm iterates through all possible permutations (orderings) of the variables in the dataset.
  2. Minimal I-MAP Construction: For each permutation, the algorithm uses CI tests to construct a minimal I-MAP. A minimal I-MAP is a DAG where the variables follow the specific ordering, and no edge can be removed without violating the Markov property (which states that variables are independent of their non-descendants given their parents).
  3. Sparsity Scoring: Each resulting DAG is scored based on its total number of edges.
  4. Selection: The algorithm outputs the DAG (or set of DAGs) that contains the absolute minimum number of edges across all permutations.

The SMR Assumption

To justify this approach, the authors introduce the Sparsest Markov Representation (SMR) assumption. SMR states that the true causal DAG is the unique sparsest representation of the independence structure. The authors mathematically demonstrate that SMR is a strictly weaker condition than "restricted-faithfulness" and is both necessary and sufficient for the SP algorithm to consistently identify the correct Markov equivalence class.

Theoretical and Mathematical Connections

One of the paper's most elegant contributions is the link between causal discovery and numerical linear algebra. In a noiseless Gaussian setting, the authors show that the SP algorithm is mathematically equivalent to finding the sparsest Cholesky decomposition of the inverse covariance matrix (the precision matrix). This connection bridges the gap between causal inference and $\ell_0$-penalized maximum likelihood estimation, providing a new lens through which to view the search for causal structure.

Empirical Performance

The SP algorithm was evaluated using synthetic datasets generated from random Gaussian DAG models with node counts ranging from $p=3$ to $p=8$. These simulations compared SP against standard baselines, including PC, SGS, GES, and Max-Min Hill Climbing (MMHC).

Key Findings

  • Accuracy: In small-scale networks (5 to 8 nodes), the SP algorithm consistently outperformed its competitors in recovering the true graph skeleton, particularly as sample sizes increased (1,000 to 10,000 samples).
  • Error Profiles: The study revealed that PC and SGS algorithms are prone to "missing-edge" errors—falsely concluding independence and deleting true causal links. Conversely, GES tended to include too many false-positive edges. The SP algorithm proved significantly more robust to the local CI testing errors that lead to these failures.
  • Sparsity Sensitivity: The performance advantage of SP was most pronounced in graphs that were not fully connected, confirming its utility in discovering sparse causal structures.

The Statistical-Computational Trade-off

While the SP algorithm provides a stronger statistical foundation for causal discovery, it introduces a significant computational burden. Searching through all $p!$ permutations is an NP-hard problem, making the exact SP algorithm intractable for graphs with more than approximately 10 nodes. This highlights a critical frontier in the field: the trade-off between the strength of the mathematical assumptions one is willing to make and the computational resources required to process the data.

Conclusion and Future Directions

The Sparsest Permutation algorithm demonstrates that it is possible to move beyond the brittle faithfulness assumption in causal discovery. By prioritizing global sparsity over local independence tests, the SP algorithm achieves higher accuracy and robustness in small-scale settings.

Future research is directed toward developing heuristic or greedy versions of the SP algorithm. By optimizing over the space of permutations without an exhaustive search, it may be possible to scale these weaker-assumption methods to hundreds of variables. Such advancements would allow for more reliable causal discovery in complex biological and social systems where the strict requirements of faithfulness are unlikely to hold.

Summary updated

BibTeX
@misc{raskutti2013learning,
  author = {Garvesh Raskutti and Caroline Uhler},
  title = {{Learning directed acyclic graphs based on sparsest permutations}},
  year = {2013},
  eprint = {1307.0366},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1307.0366},
}
Figure