Structure Learning for Directed Trees

Martin Emil Jakobsen, Rajen Dinesh Shah, Peter Bühlmann, Jonas Peters

Causal discovery—the art of determining whether $X$ causes $Y$ or vice versa from purely observational data—is one of the "holy grails" of modern statistics and machine learning. However, for most complex, nonlinear systems, this task is computationally brutal (NP-hard) and often lacks theoretical guarantees.

A new paper, "Structure Learning for Directed Trees," by Jakobsen et al., offers a elegant way out. By focusing on a specific but common class of graphs—directed trees—the authors introduce a method called Causal Additive Trees (CAT) that is fast, scalable, and mathematically rigorous.

TL;DR

The authors propose CAT, a score-based algorithm that uses the classic Chu–Liu–Edmonds’ algorithm to efficiently learn causal directed trees in $O(p^2)$ time. Unlike heuristic searches for general graphs, CAT provides provable consistency for nonlinear models and introduces novel methods for testing causal hypotheses even after the model has been selected.

What Problem Does This Paper Address?

In causal discovery, we want to find the Directed Acyclic Graph (DAG) that represents the underlying mechanisms of a system. The challenge is two-fold:

  1. Search Space: The number of possible DAGs grows super-exponentially with the number of variables. For just 40 variables, there are more possible graphs than atoms in the observable universe.
  2. Identifiability: Without strict assumptions, many different causal structures can produce the same data distribution.

Most researchers use heuristic greedy searches (like CAM or GES) to navigate this space. While these work okay in practice, they can get stuck in local optima and rarely come with guarantees that they will find the "true" graph as you get more data, especially in nonlinear settings. This paper simplifies the problem by restricting the search to directed trees (where each node has at most one parent), allowing for exact optimization instead of guessing.

Methods

The core of the paper is the CAT (Causal Additive Trees) algorithm. It operates in two main steps:

  1. Regression & Scoring: For every pair of variables $(X_i, X_j)$, the algorithm performs a nonlinear regression (using tools like thin-plate splines) to estimate how well $X_j$ predicts $X_i$. It then assigns an "edge weight" based on a Gaussian score (variance of residuals) or an Entropy score.
  2. Optimization: Instead of a greedy search, CAT uses the Chu–Liu–Edmonds’ algorithm. This is a directed version of the Maximum Weight Spanning Tree algorithm. It is guaranteed to find the globally optimal directed tree in polynomial time ($O(p^2)$).

Beyond discovery, the authors introduce two statistical tests—CheckC and ConvB—to perform hypothesis testing on specific edges. Crucially, these tests control the "family-wise error rate" even when the hypothesis is chosen after looking at the estimated graph (post-selection).

Datasets

The authors evaluated CAT using:

  • Synthetic Simulations: They generated random directed trees of two types: Type 1 (many leaf nodes, like a star) and Type 2 (many branch nodes, like a deep chain). They tested systems with up to $p=128$ nodes and $n=20,000$ samples.
  • Sachs Protein Signaling Data: A classic "real-world" benchmark in causality consisting of 11 proteins and 853 observations. While the "true" consensus graph for this data is a DAG (not a tree), it serves as a test for how well tree-based approximations perform on complex biological data.

Key Insights and Ideas

  • The Identifiability Gap: The authors formalize the "identifiability gap"—the difference in score between the true causal graph and the next best alternative. They prove that in additive noise models, this gap is bounded by local properties, such as how much information is lost when you try to reverse a single causal arrow.
  • Vanishing Identifiability: They prove that CAT is consistent even in an asymptotic regime where the identifiability gap shrinks as the sample size increases, provided the regression error vanishes fast enough.
  • Trees as a Sanity Check: Even if you believe your system is a complex DAG, the authors suggest using CAT as a "sanity check" or an initialization step for more complex greedy searches.

Key Results

  • Performance: In simulations, CAT.G (the Gaussian version) consistently outperformed the state-of-the-art CAM (Causal Additive Models) in terms of Structural Hamming Distance (SHD), especially as the number of nodes increased.
  • Speed: CAT is significantly faster than greedy search methods. For a 64-node system, CAT was roughly 30% faster than CAM.
  • Real-world Utility: On the Sachs dataset, CAT.G achieved a higher precision for edge classification than several popular DAG-learning methods (like GES and NoTears), despite being restricted to a simpler tree structure. This suggests that for many real datasets, a correctly oriented tree is more useful than a noisy, over-complicated DAG.

Limitations and Future Work

The most obvious limitation is the tree assumption. In many systems, a variable might have multiple causes (a "v-structure"), which a directed tree cannot represent. If the true underlying graph is a dense DAG, CAT will only provide a skeletal approximation.

The authors suggest several paths forward:

  1. Relaxing Smoothness: Extending the proofs to models where the causal functions are less smooth.
  2. Wild Bootstrap: Using bootstrap methods to create even more powerful confidence regions for the edge weights.
  3. Beyond Trees: Investigating if the "localization" of the identifiability gap can be used to provide similar exact guarantees for more general classes of graphs.

Summary updated

BibTeX
@article{jakobsen2022structure,
  author = {Martin Emil Jakobsen and Rajen Dinesh Shah and Peter Bühlmann and Jonas Peters},
  title = {{Structure Learning for Directed Trees}},
  journal = {J. Mach. Learn. Res.},
  year = {2022},
}
Figure