Learning Identifiable Gaussian Bayesian Networks in Polynomial Time and Sample Complexity

Asish Ghoshal, Jean Honorio

This NIPS 2017 paper tackles one of the "holy grails" of causal inference: efficiently learning the structure of a Bayesian network from observational data. While the general problem is NP-hard, the authors demonstrate that for a specific, well-motivated class of models, we can achieve exact recovery in polynomial time with near-optimal sample complexity.

The Challenge of Learning Bayesian Networks

Learning the Directed Acyclic Graph (DAG) structure of a Bayesian network is notoriously difficult due to two primary hurdles:

  1. Identifiability: Usually, multiple different DAG structures can represent the same set of conditional independencies (forming a Markov equivalence class). Without interventions or experiments, you often cannot tell which variable causes which.
  2. Computational Complexity: Searching the space of all possible DAGs is an NP-complete problem. Even approximating the solution is often NP-hard.

However, if we assume the data comes from a Gaussian model where every node has the same "noise" level (equal error variance), the DAG becomes identifiable—meaning there is only one unique graph that fits the data. Despite this theoretical breakthrough by previous researchers, no one had yet found an algorithm that could find this unique graph in polynomial time for high-dimensional data.

A Polynomial-Time Peeling Algorithm

The authors propose a multi-stage algorithm that avoids the exponential search space of traditional methods.

Algorithm 1: The proposed method for learning GBNs

The approach breaks down into several key steps:

  • Precision Matrix Estimation: The algorithm starts by estimating the inverse covariance (precision) matrix $\hat{\Omega}$ using CLIME, a standard method for high-dimensional sparse recovery.
  • Identifying Terminal Nodes: The core insight of the paper is a mathematical property: in an equal-variance Gaussian Bayesian Network (GBN), a node is a "terminal node" (it has no children) if and only if its regression coefficients match a specific scaled version of its entries in the precision matrix.
  • Iterative Peeling: The algorithm finds a terminal node, adds it to the end of a causal ordering, "removes" its influence from the precision matrix using a rank-1 update, and repeats the process for the remaining nodes.
  • Final Regression: Once a full causal ordering is established, the algorithm uses Ordinary Least Squares (OLS) regression to determine the specific parent-child edges.

Crucially, the authors rely on a new condition: Restricted Strong Adjacency Faithfulness (RSAF). Traditional methods like the PC algorithm require "Strong Faithfulness," a very strict assumption that partial correlations stay far from zero for all subsets of variables. RSAF only requires this to hold for a specific subset, making the algorithm much more robust to "nearly unfaithful" distributions.

Key Results and Performance

The paper validates its findings using synthetic Erdős-Rényi GBNs, comparing the proposed method against state-of-the-art algorithms including the PC algorithm, Greedy Equivalence Search (GES), and Max-Min Hill Climbing (MMHC).

Performance of the proposed algorithm on structure recovery and parameter estimation
  • Sample Complexity: The algorithm requires $O(k^4 \log p)$ samples (where $k$ is the maximum Markov blanket size and $p$ is the number of variables). This logarithmic dependence on $p$ makes it highly suitable for high-dimensional "big data" where features outnumber observations.
  • Exact Recovery: In experiments, the proposed method consistently achieved a higher probability of recovering the exact true DAG compared to baselines, rapidly approaching 100% recovery as the sample size increased.
  • Efficiency: Because the algorithm relies on linear programming (CLIME) and OLS, it scales polynomially, allowing it to handle hundreds of variables in reasonable time frames where exponential methods would fail.

Limitations and Future Work

While a significant step forward, the method has limitations. The most obvious is the requirement for equal noise variances. While the authors show some robustness when variances are similar, the theoretical guarantees break down if variances differ significantly. Additionally, the $k^4$ dependence on the Markov blanket size means the algorithm may struggle with very dense graphs where nodes have many neighbors.

Future directions suggested by the authors include extending this "peeling" logic to non-identifiable cases to recover Markov equivalence classes, or adapting the framework for discrete or binary Bayesian networks.

Summary updated

BibTeX
@inproceedings{ghoshal2017learning,
  author = {Asish Ghoshal and Jean Honorio},
  title = {{Learning Identifiable Gaussian Bayesian Networks in Polynomial Time and Sample Complexity}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
  url = {https://openreview.net/forum?id=rJ-uzD-dWH},
}
Figure