Skip to main content
QUICK REVIEW

[Paper Review] Masked Gradient-Based Causal Structure Learning

Ignavier Ng, Shengyu Zhu|arXiv (Cornell University)|Oct 18, 2019
Bayesian Modeling and Causal InferenceComputer Science6 citations
TL;DR

This paper proposes Masked Gradient-Based Causal Structure Learning (MCSL), a novel differentiable framework that reformulates structural equation models using a binary adjacency matrix (mask) to enable gradient-based optimization. By leveraging Gumbel-Softmax for discrete edge estimation and a smooth acyclicity constraint, MCSL achieves state-of-the-art performance across diverse data types—including nonlinear, vector-valued, and post-nonlinear models—while enabling easy edge thresholding via near-0/1 predictions.

ABSTRACT

This paper studies the problem of learning causal structures from observational data. We reformulate the Structural Equation Model (SEM) with additive noises in a form parameterized by binary graph adjacency matrix and show that, if the original SEM is identifiable, then the binary adjacency matrix can be identified up to super-graphs of the true causal graph under mild conditions. We then utilize the reformulated SEM to develop a causal structure learning method that can be efficiently trained using gradient-based optimization, by leveraging a smooth characterization on acyclicity and the Gumbel-Softmax approach to approximate the binary adjacency matrix. It is found that the obtained entries are typically near zero or one and can be easily thresholded to identify the edges. We conduct experiments on synthetic and real datasets to validate the effectiveness of the proposed method, and show that it readily includes different smooth model functions and achieves a much improved performance on most datasets considered.

Motivation & Objective

  • To address the limitations of existing gradient-based causal structure learning methods that rely on weighted adjacency matrices and are sensitive to model misspecification.
  • To develop a flexible, differentiable framework that can incorporate arbitrary model functions (e.g., neural networks, polynomials) without requiring structural assumptions.
  • To enable robust edge identification through binary mask estimation that naturally clusters near 0 or 1, allowing simple thresholding at 0.5.
  • To ensure acyclicity during optimization via a smooth, differentiable characterization of DAG constraints.
  • To validate the method’s effectiveness across synthetic and real-world datasets, including challenging post-nonlinear and vector-valued models.

Proposed method

  • Reformulates the additive noise model (ANM) using a binary adjacency matrix (mask) to represent causal relationships, where each entry determines whether a parent variable influences a child.
  • Introduces a smooth, differentiable acyclicity constraint based on the spectral radius of the adjacency matrix, enabling gradient-based optimization.
  • Employs the Gumbel-Softmax relaxation to differentiably approximate the discrete binary mask, allowing backpropagation through the edge selection process.
  • Uses a score function based on reconstruction error between observed and predicted variables, optimized via stochastic gradient descent.
  • Applies thresholding at 0.5 to the final mask estimates to extract discrete causal graphs, with high confidence in edge predictions due to near-0/1 clustering.
  • Supports flexible model functions (e.g., MLPs, polynomials) by directly embedding them into the masked SEM framework, decoupling structure learning from functional form assumptions.

Experimental results

Research questions

  • RQ1Can a binary mask parameterization of the SEM enable identifiability of the true causal graph under mild conditions?
  • RQ2Can gradient-based optimization be effectively applied to discrete causal structure learning via differentiable relaxation of binary edges?
  • RQ3Does the proposed method generalize well to nonlinear, vector-valued, and post-nonlinear data models where existing methods fail?
  • RQ4Can the mask entries be reliably thresholded at 0.5 to recover accurate causal graphs without manual tuning?
  • RQ5How does the method compare to SOTA baselines (e.g., NOTEARS, DAG-GNN, GraN-DAG, CAM) across diverse data distributions?

Key findings

  • MCSL-MLP achieved the best average Structural Hamming Distance (SHD) of 12 on the real Sachs dataset, matching CAM and outperforming GraN-DAG (SHD=13).
  • On post-nonlinear models with 10–50 nodes, MCSL-MLP achieved the lowest SHD and highest TPR, significantly outperforming GraN-DAG and CAM.
  • On a nonlinear quadratic model, MCSL-MLP achieved an SHD of 1.4, outperforming all baselines, including NOTEARS and DAG-GNN.
  • In the telecommunication root cause detection task, MCSL correctly identified the root cause in 80% of test cases, far exceeding the 30% success rate of other methods.
  • The method demonstrated robustness to model misspecification, maintaining strong performance even when data violated the restricted ANM assumption required by GraN-DAG and CAM.
  • The predicted mask entries clustered strongly near 0 or 1, enabling reliable edge identification via a fixed 0.5 threshold without hyperparameter tuning.

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.