Learning linear structural equation models in polynomial time and sample complexity

Asish Ghoshal, Jean Honorio

Introduction

Causal inference—the task of determining directed relationships between variables—is a fundamental challenge across disciplines such as genetics, economics, and finance. Linear Structural Equation Models (SEMs) are a standard tool for representing these relationships as Directed Acyclic Graphs (DAGs). However, learning these graphs from purely observational data is traditionally plagued by three major hurdles: exponential computational costs in high dimensions, reliance on restrictive "faithfulness" assumptions, and poor statistical efficiency requiring vast amounts of data.

This paper introduces a novel algorithm that achieves both polynomial time and sample complexity for learning linear SEMs. By replacing the standard faithfulness assumption with a much weaker "causal minimality" condition and allowing for arbitrary noise distributions, the authors provide a robust framework for high-dimensional causal discovery.

Methodology: A Bottom-Up Approach

The proposed method identifies the DAG structure by iteratively locating and removing "terminal" (sink) nodes. This bottom-up strategy avoids the need to search the super-exponential space of possible DAGs.

Precision Matrix Exploitation

The core innovation is the discovery that the structure of a linear SEM is encoded within its precision matrix (the inverse of the covariance matrix). Under the authors' identifiability condition, a terminal node can be identified by finding the minimum diagonal entry in a weighted precision matrix.

Algorithm 1 (SEM structure learning) and Algorithm 2 (Precision matrix update).

Estimation and Iterative Updates

In finite-sample settings, the algorithm employs CLIME (Constrained L1 Minimization) to estimate the precision matrix, ensuring performance even when the number of variables ($p$) exceeds the number of samples ($n$). Once a sink node is identified, its parents are mapped, and the algorithm performs a Schur complement-like update (Algorithm 2) to remove the node's influence before proceeding to the next.

Key Insights

  • The Sink Node Shortcut: Local identification of sink nodes via the precision matrix diagonal allows for a sequential reconstruction of the graph, bypassing global search complexities.
  • Causal Minimality: The algorithm relies on causal minimality rather than faithfulness. Faithfulness assumes that every conditional independence in the data reflects a missing edge in the graph, a condition often violated in practice. Causal minimality only requires that the distribution does not fit a simpler subgraph.
  • Sparsity and Efficiency: By exploiting the sparsity of the "moral graph" (the structure of the precision matrix), the authors reduce large-scale optimization problems into smaller, manageable sub-problems.

Results and Complexity

As a theoretical contribution, the paper provides rigorous mathematical proofs for the algorithm's performance under sub-Gaussian noise and noise with bounded moments, rather than empirical benchmarks on specific datasets.

  • Computational Complexity: In population settings, the algorithm runs in $O(p(d^2 + \log p))$ time, where $d$ is the maximum degree. For finite samples with a sparse precision matrix, the smoothed complexity is $\tilde{O}(p^3 + pd^7)$, a significant improvement over previous exponential-time methods.
  • Sample Complexity: For sub-Gaussian noise, the algorithm requires $O(\frac{d^8}{\epsilon^2} \log(\frac{p}{\sqrt{\delta}}))$ samples to recover the structure with high probability, confirming its effectiveness in high-dimensional regimes ($d \ll p$).
  • Identifiability: The authors establish a new sufficient condition for identifiability that generalizes the "equal noise variance" case, broadening the algorithm's applicability to diverse physical and social systems.

Limitations and Future Work

While the algorithm offers significant advances, it relies on a "gap" between the diagonal entries of the precision matrix for terminal versus non-terminal nodes. If this gap is negligible, sample complexity may degrade. Additionally, the current framework is strictly linear. Extending these polynomial-time guarantees to non-linear additive noise models remains an open research challenge. Future work may also explore further relaxing conditions for entirely unknown noise variances.

Summary updated

BibTeX
@inproceedings{ghoshal2018learning,
  author = {Asish Ghoshal and Jean Honorio},
  title = {{Learning linear structural equation models in polynomial time and sample complexity}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2018},
}
Figure