Skip to main content
QUICK REVIEW

[Paper Review] DAGs with No Fears: A Closer Look at Continuous Optimization for Learning Bayesian Networks

Dennis Wei, Tian Gao|arXiv (Cornell University)|Oct 18, 2020
Bayesian Modeling and Causal InferenceComputer Science26 citations
TL;DR

This paper re-evaluates the NOTEARS continuous optimization framework for Bayesian network structure learning, revealing that its original formulation cannot satisfy Karush-Kuhn-Tucker (KKT) optimality conditions except trivially. By reformulating the adjacency matrix using absolute values and deriving valid KKT conditions, the authors design a local search algorithm, KKTS, which improves structural Hamming distance by at least a factor of 2 across all tested algorithms, achieving state-of-the-art accuracy when combined with existing methods.

ABSTRACT

This paper re-examines a continuous optimization framework dubbed NOTEARS for learning Bayesian networks. We first generalize existing algebraic characterizations of acyclicity to a class of matrix polynomials. Next, focusing on a one-parameter-per-edge setting, it is shown that the Karush-Kuhn-Tucker (KKT) optimality conditions for the NOTEARS formulation cannot be satisfied except in a trivial case, which explains a behavior of the associated algorithm. We then derive the KKT conditions for an equivalent reformulation, show that they are indeed necessary, and relate them to explicit constraints that certain edges be absent from the graph. If the score function is convex, these KKT conditions are also sufficient for local minimality despite the non-convexity of the constraint. Informed by the KKT conditions, a local search post-processing algorithm is proposed and shown to substantially and universally improve the structural Hamming distance of all tested algorithms, typically by a factor of 2 or more. Some combinations with local search are both more accurate and more efficient than the original NOTEARS.

Motivation & Objective

  • To understand why the original NOTEARS formulation fails to converge to exactly acyclic solutions despite empirical success.
  • To identify theoretical flaws in the KKT conditions of the NOTEARS formulation under its original parameterization.
  • To develop a reformulation of the NOTEARS framework that yields valid KKT conditions for optimality.
  • To design a local search algorithm, KKTS, informed by the derived KKT conditions to improve structural accuracy.
  • To demonstrate that combining KKTS with existing algorithms universally reduces structural Hamming distance (SHD) while maintaining or improving efficiency.

Proposed method

  • Generalize acyclicity constraints to a class of matrix polynomials with positive coefficients, showing their trace characterizes DAGs.
  • Identify that the original NOTEARS formulation (with squared parameters) cannot satisfy KKT conditions except in trivial cases.
  • Propose an equivalent reformulation using absolute values of parameters to define the adjacency matrix, enabling valid KKT conditions.
  • Derive KKT conditions for the reformulated problem and show they are necessary for local optimality, and sufficient if the score function is convex.
  • Design the KKTS algorithm that enforces KKT conditions by dynamically adding, removing, and reversing edge absence constraints to break cycles.
  • Combine KKTS with existing algorithms (e.g., NOTEARS, FGS, MMHC, PC) to improve SHD without sacrificing speed.

Experimental results

Research questions

  • RQ1Why does the original NOTEARS algorithm fail to converge to exactly acyclic solutions, despite high penalty parameters?
  • RQ2Can the Karush-Kuhn-Tucker (KKT) conditions be meaningfully applied to the NOTEARS formulation, and if not, why?
  • RQ3Does reformulating the adjacency matrix using absolute values instead of squares lead to a well-posed optimization problem with valid KKT conditions?
  • RQ4Can the KKT conditions be interpreted in terms of explicit edge absence constraints that ensure acyclicity?
  • RQ5To what extent can a KKT-informed local search algorithm improve the structural accuracy of existing DAG learning methods?

Key findings

  • The original NOTEARS formulation with squared parameters cannot satisfy KKT conditions except in trivial cases, explaining its failure to converge to exactly acyclic graphs.
  • The reformulated NOTEARS with absolute values yields valid KKT conditions, which are necessary for local optimality and sufficient if the score function is convex.
  • The KKT conditions can be interpreted as requiring that edge absences be both necessary and sufficient to prevent cycles, providing a structural interpretation.
  • The proposed KKTS algorithm, informed by KKT conditions, reduces structural Hamming distance (SHD) by at least a factor of 2 across all tested algorithms and datasets.
  • Combining KKTS with NOTEARS achieves new state-of-the-art accuracy, while combinations with FGS, MMHC, and PC also improve SHD and often reduce runtime.
  • The improvement from KKTS is consistent across dimensions (d=10 to d=100), noise types (Gaussian and exponential), and sample sizes (n=d and n=2d).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.