Supervised Whole DAG Causal Discovery

Hebi Li, Qi Xiao, Jin TianarXiv 2020

Abstract

Causal structure discovery is a fundamental challenge in machine learning, traditionally addressed through iterative search or optimization. This paper introduces DAG-EQ, a supervised learning framework that predicts an entire Directed Acyclic Graph (DAG) in a single forward pass. By leveraging permutation equivariant architectures, DAG-EQ effectively captures the global structure of causal systems from observational data. Experimental results demonstrate that DAG-EQ generalizes across graph sizes and noise distributions, outperforming traditional constraint-based and score-based methods while maintaining competitive performance with state-of-the-art continuous optimization techniques.

Introduction

Identifying causal relationships from observational data—determining "what causes what"—is essential for robust AI. Existing approaches generally fall into three categories: constraint-based methods (e.g., PC), score-based searches (e.g., GES), and continuous optimization (e.g., NOTEARS). While effective, these methods are computationally intensive and must be executed from scratch for every new dataset. Previous supervised learning attempts were largely restricted to pairwise causal discovery, failing to address the complexities of global graph structures. DAG-EQ addresses this gap by treating whole-DAG prediction as a supervised learning task.

Methodology

The DAG-EQ (DAG Structure Discovery by Equivariant Models) pipeline consists of three main stages:

  • Featurization: The model uses the Pearson correlation matrix of the input data as a summary statistic. This provides a scale-invariant representation of the data distribution, making the model more robust to varying data scales.
  • Permutation Equivariant Architecture: The core innovation is the use of equivariant layers. In causal discovery, variable ordering is arbitrary; swapping input variables should result in a corresponding swap in the output adjacency matrix. Standard neural networks lack this inductive bias, whereas DAG-EQ enforces it, providing a powerful form of regularization that aids generalization to unseen graph structures.
  • Supervised Training and Inference: The model is trained on thousands of synthetic datasets with known ground-truth DAGs. During inference, a single forward pass generates edge probabilities. A greedy post-processing step then constructs the final DAG by adding edges in order of probability while maintaining acyclicity.

Experimental Results

The authors evaluated DAG-EQ against a suite of baselines on synthetic and real-world datasets.

Synthetic Benchmarks

On 10-node graphs, DAG-EQ achieved a Structural Hamming Distance (SHD) of 1.1, significantly outperforming traditional methods like PC (14.3) and GES (15.6). As graph size increased to 100 nodes, DAG-EQ maintained robust precision and recall, whereas many traditional methods saw performance degradation.

Performance comparison of DAG-EQ against baselines on synthetic graphs of varying sizes (d=10 to 100).

Scalability and Generalization

A key strength of DAG-EQ is its ability to scale. Models trained on smaller graphs showed remarkable zero-shot transfer capabilities to much larger systems. As shown in the scalability analysis, DAG-EQ was tested on graphs with up to 400 nodes, significantly outperforming the GES baseline in precision and recall at these scales.

Scalability results for DAG-EQ on large graphs (d=100 to 400) compared to GES.

Robustness and Real-World Data

Testing on non-Gaussian noise (Exponential, Gumbel, Poisson) revealed that DAG-EQ, despite being trained on Gaussian noise, remains robust to distributional shifts. On the Sachs protein signaling network (11 nodes, 17 edges), a classic real-world benchmark, DAG-EQ identified 5 correct edges with an SHD of 16, performing comparably to established methods like CAM and DAG-GNN.

Discussion and Conclusion

DAG-EQ demonstrates that supervised learning with equivariant architectures is a viable and efficient path for causal discovery. Its "train once, use anywhere" nature offers significant speed advantages over iterative optimization methods. However, current limitations include a primary focus on linear models and reliance on correlation matrices, which may overlook complex non-linear dependencies. Future work aims to integrate acyclicity constraints directly into the architecture and explore more flexible featurization techniques to handle non-linear causal relationships.

Summary updated

BibTeX
@misc{li2020supervised,
  author = {Hebi Li and Qi Xiao and Jin Tian},
  title = {{Supervised Whole DAG Causal Discovery}},
  year = {2020},
  eprint = {2006.04697},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.04697},
}
Figure