Exploiting Non-Negativity in DAG Structure Learning

Samuel Rey, Madeline navarro, Gonzalo MateosarXiv 2026

TL;DR

Learning Directed Acyclic Graphs (DAGs) from data is notoriously difficult due to the combinatorial nature of ensuring no cycles exist. By focusing on graphs with non-negative edge weights, this paper introduces a simpler, smooth acyclicity constraint that avoids the "vanishing gradient" problem plaguing current state-of-the-art methods. The resulting algorithm, NOMAD, boasts a highly benign optimization landscape and delivers superior accuracy on both synthetic and real-world biological networks.

What Problem Does This Paper Address?

Discovering causal relationships or network topologies from observational data is often modeled as learning a Directed Acyclic Graph (DAG). However, enforcing the global "acyclic" property is a combinatorial nightmare (NP-hard).

A massive breakthrough occurred a few years ago with methods like NOTEARS, which replaced the discrete constraint with a smooth, continuous mathematical function (using matrix exponentials or log-determinants). While clever, these methods rely on an entry-wise squared or Hadamard product ($W \circ W$) to handle both positive and negative edge weights. This introduces a major flaw: the gradient of the acyclicity constraint completely vanishes ($\nabla h(W) = 0$) at every valid DAG. This creates degenerate optimization conditions, leading to flat landscapes where solvers get stuck or behave unpredictably.

This paper addresses this optimization bottleneck by restricting the problem to non-negative edge weights (common in excitatory biological networks, web traffic, or probabilistic graphs) to fundamentally simplify the acyclicity constraint.

Methods

The authors exploit non-negativity to eliminate the need for the troublesome Hadamard product. Because all weights are non-negative ($W \ge 0$), there are no sign cancellations when computing matrix powers (which represent paths in a graph).

They introduce a novel log-determinant acyclicity function: $$h(W) = d \log(s) - \log \det(sI - W)$$

Crucially, because there is no $W \circ W$ term, the gradient $\nabla h(W) = (sI - W)^{-\top}$ does not vanish at valid DAGs.

To solve the resulting optimization problem, the authors propose NOMAD (Non-negative Optimization via Multipliers for Acyclic Digraphs), an algorithm based on the augmented Lagrangian Method of Multipliers.

The authors also provide a rigorous theoretical analysis of the population landscape (the ideal scenario with infinite data). They prove that under standard identifiability conditions:

  1. The true DAG is the unique global minimizer.
  2. There are no spurious interior stationary points.
  3. The true DAG is the only acyclic Karush-Kuhn-Tucker (KKT) point.

Datasets

The method was evaluated on two primary setups:

  • Synthetic Data: Random graphs generated via Erdős-Rényi (ER) and Scale-Free (SF) models, varying the number of nodes ($d \in [50, 500]$) and sample sizes ($n \in [50, 5000]$).
  • Real-World Benchmark: The Sachs protein-signaling dataset, a standard benchmark in causal discovery containing 853 single-cell measurements of 11 proteins, validated against a known biological reference network.

Key Insights and Ideas

  • The Power of Positivity: Non-negativity isn't just a constraint; it's an optimization enabler. By ruling out sign cancellations, you can measure cycles directly on the adjacency matrix rather than its element-wise square.
  • Fixing the KKT Degeneracy: In older methods, because the constraint's gradient vanished at valid DAGs, the optimization algorithm received no local geometric guidance near the feasible region. NOMAD maintains an informative gradient everywhere, leading to a much cleaner numerical path to the solution.
  • Guaranteed Landscape Benignity: The proof that no spurious interior stationary points exist means that first-order optimization methods (like projected gradient descent) are far less likely to get trapped in bad local minima.

Key Results

Synthetic Experiments

As shown in the synthetic evaluation, NOMAD (referred to as "Logdet") consistently outperforms baselines like NOTEARS, DAGMA, and CoLiDE. Notably, its estimation error continues to drop sharply as the number of samples increases, whereas other non-convex baselines hit a performance saturation plateau.

Fig. 1: Synthetic evaluation of the proposed DAG-learning method. (a) Normalized Frobenius error as the number of samples increases. (b) Normalized SHD as the graph size increases, for Erd˝os–R´enyi (ER) and scale-free (SF) DAGs. (c) Normalized Frobenius error as the variance of the exogenous noise increases.

Sachs Protein Benchmark

On the real-world Sachs dataset, NOMAD achieved perfect precision, registering a False Discovery Rate (FDR) of 0.000 and the lowest Structural Hamming Distance (SHD) of 10, outperforming DAGMA and CoLiDE-Fix.

Method SHD TPR FDR Err. Time (s)
NOMAD (Ours) 10 0.412 0.000 0.898 34.12
CoLiDE-Fix 13 0.412 0.588 1.984 5.62
DAGMA 15 0.118 0.600 1.439 1.35

Qualitatively, the graph visualizations show that NOMAD recovers a clean, sparse structure highly aligned with the ground truth without introducing false-positive edges.

Fig. 2: Qualitative comparison on the Sachs protein-signaling benchmark. The proposed NOMAD method recovers a graph that is structurally closer to the reference DAG than DAGMA and introduces no false discoveries, in agreement with the SHD, F1, and FDR scores reported in Table I.

Limitations and Future Work

  • Sign Restriction: The most obvious limitation is that the method cannot handle networks with inhibitory or negative relationships (e.g., repressive gene regulatory networks or balanced signed graphs).
  • Computational Complexity: Each inner iteration requires a matrix inversion/determinant calculation, scaling at $O(d^3)$. While typical for continuous DAG methods, it limits direct scalability to massive graphs with tens of thousands of nodes without further approximations.
  • Finite-Sample Theory: While the population landscape is proven to be benign, establishing explicit convergence rates for finite-sample regimes remains an open theoretical challenge.

Summary updated

BibTeX
@misc{rey2026exploiting,
  author = {Samuel Rey and Madeline navarro and Gonzalo Mateos},
  title = {{Exploiting Non-Negativity in DAG Structure Learning}},
  year = {2026},
  eprint = {2605.19947},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.19947},
}
Figure