Skip to main content
QUICK REVIEW

[论文解读] DAGMA: Learning DAGs via M-matrices and a Log-Determinant Acyclicity Characterization

Kevin Bello, Bryon Aragam|arXiv (Cornell University)|Sep 16, 2022
Computational Drug Discovery MethodsComputer Science被引用 17
一句话总结

该论文提出DAGMA,一种基于M-矩阵上对数行列式函数的新型可微无环表征方法,用于学习有向无环图(DAGs),实现了更快、更稳定的优化。在大规模线性和非线性结构方程模型(SEMs)上,其性能达到当前最优水平,相比NOTEARS方法实现最高达4.8倍的速度提升,且结构汉明距离降低60%。

ABSTRACT

The combinatorial problem of learning directed acyclic graphs (DAGs) from data was recently framed as a purely continuous optimization problem by leveraging a differentiable acyclicity characterization of DAGs based on the trace of a matrix exponential function. Existing acyclicity characterizations are based on the idea that powers of an adjacency matrix contain information about walks and cycles. In this work, we propose a new acyclicity characterization based on the log-determinant (log-det) function, which leverages the nilpotency property of DAGs. To deal with the inherent asymmetries of a DAG, we relate the domain of our log-det characterization to the set of $ extit{M-matrices}$, which is a key difference to the classical log-det function defined over the cone of positive definite matrices. Similar to acyclicity functions previously proposed, our characterization is also exact and differentiable. However, when compared to existing characterizations, our log-det function: (1) Is better at detecting large cycles; (2) Has better-behaved gradients; and (3) Its runtime is in practice about an order of magnitude faster. From the optimization side, we drop the typically used augmented Lagrangian scheme and propose DAGMA ($ extit{DAGs via M-matrices for Acyclicity}$), a method that resembles the central path for barrier methods. Each point in the central path of DAGMA is a solution to an unconstrained problem regularized by our log-det function, then we show that at the limit of the central path the solution is guaranteed to be a DAG. Finally, we provide extensive experiments for $ extit{linear}$ and $ extit{nonlinear}$ SEMs and show that our approach can reach large speed-ups and smaller structural Hamming distances against state-of-the-art methods. Code implementing the proposed method is open-source and publicly available at https://github.com/kevinsbello/dagma.

研究动机与目标

  • 为解决从数据中学习DAGs的NP难组合挑战,通过将其重新表述为连续优化问题。
  • 基于DAG邻接矩阵的幂零性,提出一种新的精确且可微的无环性表征方法,利用对数行列式函数。
  • 通过改进现有无环性函数(如h_exp和h_poly)的梯度行为、环路检测能力及计算效率,实现性能提升。
  • 设计一种新颖的优化框架DAGMA,其沿类似障碍法的中心路径演化,确保在极限下收敛至DAG。
  • 在线性和非线性结构方程模型上对方法进行实证验证,证明其在速度和精度方面均表现更优。

提出的方法

  • 提出一种基于M-矩阵变换后矩阵的对数行列式的新无环性表征方法,将经典对数行列式函数推广至非对称DAGs。
  • 定义对数行列式函数在M-矩阵上的定义域,以保持无环性约束,确保精确性与可微性。
  • 引入DAGMA方法,其沿无约束正则化问题的中心路径演化,其中对数行列式函数作为障碍项。
  • 采用路径跟随策略,逐步减小中心路径参数μ,每一步求解一个带对数行列式正则化的无约束优化问题。
  • 使用自适应优化(ADAM)结合早停与阈值化策略,以优化边预测结果,减少误报。
  • 以中心路径方法替代标准的增广拉格朗日方案,提升收敛性与稳定性。

实验结果

研究问题

  • RQ1基于对数行列式的无环性表征是否能在环路检测与梯度稳定性方面优于现有基于迹的表征方法?
  • RQ2M-矩阵的使用如何使对数行列式函数在非对称DAGs上比标准正定锥更有效、更稳定?
  • RQ3基于中心路径的优化方案是否在DAG学习中实现比增广拉格朗日方法更优的收敛性与更快的训练速度?
  • RQ4所提出的对数行列式表征是否能在线性和非线性结构方程模型中均实现当前最优性能?
  • RQ5与NOTEARS和GOLEM等现有方法相比,新对数行列式方法在计算与统计性能之间存在何种权衡?

主要发现

  • 在1000个节点的线性ER4模型上,DAGMA相比NOTEARS实现最高达4.8倍的运行速度提升,且结构汉明距离降低60%。
  • 所提出的对数行列式无环性函数在检测大环方面优于h_exp和h_poly,显著提升结构准确性。
  • 对数行列式函数的梯度行为优于现有表征方法,带来更稳定的优化过程。
  • 由于高效的矩阵行列式计算,该方法在实际应用中比h_exp和h_poly快约一个数量级。
  • 在非线性SEMs上,DAGMA实现与NONLINEAR NOTEARS相当的结构汉明距离,但速度提升达3至10倍。
  • DAGMA中的中心路径方法可保证解在极限下收敛至DAG,确保无环性,无需后续处理。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。