[Paper Review] Learning Sparse Nonparametric DAGs
This paper proposes a general, differentiable optimization framework for learning sparse nonparametric directed acyclic graphs (DAGs) from data by extending the algebraic acyclicity constraint to nonparametric structural equation models (SEMs) using partial derivatives. The method enables end-to-end training with standard optimization solvers, achieving state-of-the-art performance on nonlinear and nonparametric models without specialized algorithms or model-specific implementations.
We develop a framework for learning sparse nonparametric directed acyclic graphs (DAGs) from data. Our approach is based on a recent algebraic characterization of DAGs that led to a fully continuous program for score-based learning of DAG models parametrized by a linear structural equation model (SEM). We extend this algebraic characterization to nonparametric SEM by leveraging nonparametric sparsity based on partial derivatives, resulting in a continuous optimization problem that can be applied to a variety of nonparametric and semiparametric models including GLMs, additive noise models, and index models as special cases. Unlike existing approaches that require specific modeling choices, loss functions, or algorithms, we present a completely general framework that can be applied to general nonlinear models (e.g. without additive noise), general differentiable loss functions, and generic black-box optimization routines. The code is available at https://github.com/xunzheng/notears.
Motivation & Objective
- To develop a general, model-agnostic framework for score-based learning of DAGs that avoids specialized algorithms for each model type.
- To extend the continuous optimization formulation of acyclicity—previously limited to linear SEMs—to general nonparametric and semiparametric models.
- To enable the use of standard optimization routines (e.g., L-BFGS-B) on nonparametric DAG learning by formulating it as a smooth, differentiable program.
- To demonstrate the framework's effectiveness across diverse models, including additive models, index models, neural networks, and orthogonal basis expansions.
- To show that off-the-shelf solvers can achieve competitive performance without requiring model-specific or algorithm-specific tuning.
Proposed method
- Extends the acyclicity constraint from linear SEMs to nonparametric SEMs by characterizing it via the trace of the matrix exponential of the Jacobian of the structural functions.
- Uses partial derivatives of the structural functions to define a continuous, differentiable penalty that enforces acyclicity in nonparametric models.
- Parametrizes the structural functions using flexible families such as multi-layer perceptrons (MLPs) and Sobolev-type orthogonal basis expansions.
- Reformulates the DAG learning problem as a constrained optimization problem with a differentiable acyclicity penalty, solvable via standard nonlinear solvers.
- Integrates neighborhood selection and edge pruning as preprocessing/postprocessing steps to improve sparsity and performance.
- Implements the framework in PyTorch, enabling end-to-end backpropagation and compatibility with deep learning toolkits.
Experimental results
Research questions
- RQ1Can the acyclicity constraint in DAG learning be generalized beyond linear models to arbitrary nonparametric structural equation models?
- RQ2Can a single, unified optimization framework be used to learn DAGs across parametric, semiparametric, and nonparametric models without model-specific algorithms?
- RQ3Does a differentiable, continuous formulation of acyclicity enable competitive performance with off-the-shelf solvers on nonlinear and nonparametric data?
- RQ4How does the framework perform on real-world biological data compared to existing state-of-the-art methods?
- RQ5What is the impact of model capacity (e.g., number of hidden units) on performance and generalization in nonparametric DAG learning?
Key findings
- The proposed framework achieves an SHD of 16 on the real Sachs dataset with 13 edges, outperforming NOTEARS (SHD 22) and GNN (SHD 19).
- On the additive GP and GP settings with d=20 and n=200, the method with edge pruning and neighborhood selection (NOTEARS-MLP++) achieves SHD 1.2, matching or improving upon CAM.
- For the additive GP model with d=20 and n=1000, increasing hidden units from 0 to 20 improves SHD, but further increases to 100 degrade performance due to overfitting with limited samples.
- The method successfully recovers 7 of 11 consensus edges in the Sachs dataset, including 3 not found by other methods: mek→erk, PIP3→PLCg, and PKC→mek.
- The framework enables efficient, global updates of all edges simultaneously using gradient-based optimization, unlike local search methods that update one edge at a time.
- The approach is robust to model choice: it works with MLPs, Sobolev basis expansions, and various loss functions, and can be combined with preprocessing (PNS) and postprocessing (edge pruning).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.