DAGs with NO TEARS: Continuous Optimization for Structure Learning

Xun Zheng, Bryon Aragam, Pradeep Ravikumar, Eric P. Xing
3/4/2018
1,617 citations
stat.MLcs.AIcs.LG

Official code: xunzheng/notears (695 stars, Python, Apache-2.0, last commit 2026-05-26).

Abstract

Estimating the structure of directed acyclic graphs (DAGs, also known as Bayesian networks) is a challenging problem since the search space of DAGs is combinatorial and scales superexponentially with the number of nodes. Existing approaches rely on various local heuristics for enforcing the acyclicity constraint.

Show full abstract

In this paper, we introduce a fundamentally different strategy: We formulate the structure learning problem as a purely \emph{continuous} optimization problem over real matrices that avoids this combinatorial constraint entirely. This is achieved by a novel characterization of acyclicity that is not only smooth but also exact. The resulting problem can be efficiently solved by standard numerical algorithms, which also makes implementation effortless. The proposed method outperforms existing ones, without imposing any structural assumptions on the graph such as bounded treewidth or in-degree. Code implementing the proposed algorithm is open-source and publicly available at https://github.com/xunzheng/notears.

View on arXivView PDF

Code Implementations(1)

xunzheng/notearsOfficial100%
Apache-2.0

DAGs with NO TEARS: Continuous Optimization for Structure Learning

695137Python, DockerfileOct 16, 20186 months agoApache-2.0

Similar Papers

Cite this paper

@article{zheng2018dags,
  title  = {DAGs with NO TEARS: Continuous Optimization for Structure Learning},
  author = {Xun Zheng and Bryon Aragam and Pradeep Ravikumar and Eric P. Xing},
  year   = {2018},
  eprint = {1803.01422},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.01422}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1803.01422.svg)](https://codeofpaper.com/paper/1803.01422)

Discussion