Skip to main content
QUICK REVIEW

[Paper Review] Relating Graph Neural Networks to Structural Causal Models

Matej Zečević, Devendra Singh Dhami|arXiv (Cornell University)|Sep 9, 2021
Bayesian Modeling and Causal InferenceComputer Science17 citations
TL;DR

This paper establishes a theoretical foundation linking Graph Neural Networks (GNNs) and Structural Causal Models (SCMs), introducing a novel neural-causal model class—iVGAE—that enables causal effect identification via auto-encoding on graph-structured data. It proves the model is both necessary and sufficient for causal effect identification, with empirical validation on benchmarks showing robust performance in interventional density estimation and causal inference tasks.

ABSTRACT

Causality can be described in terms of a structural causal model (SCM) that carries information on the variables of interest and their mechanistic relations. For most processes of interest the underlying SCM will only be partially observable, thus causal inference tries leveraging the exposed. Graph neural networks (GNN) as universal approximators on structured input pose a viable candidate for causal learning, suggesting a tighter integration with SCM. To this effect we present a theoretical analysis from first principles that establishes a more general view on neural-causal models, revealing several novel connections between GNN and SCM. We establish a new model class for GNN-based causal inference that is necessary and sufficient for causal effect identification. Our empirical illustration on simulations and standard benchmarks validate our theoretical proofs.

Motivation & Objective

  • To establish a formal theoretical connection between Graph Neural Networks (GNNs) and Structural Causal Models (SCMs) from first principles.
  • To define a refined class of neural causal models (NCMs) that enables causal effect identification on graph-structured data.
  • To formalize interventions within GNNs using auto-encoding mechanisms, enabling end-to-end causal inference.
  • To prove theoretical properties such as feasibility, expressivity, and identifiability of the proposed model class.
  • To empirically validate the model on simulations and standard benchmarks for causal effect identification and density estimation.

Proposed method

  • Proposes an intervention-aware variational graph auto-encoder (iVGAE) that integrates structural causal modeling with GNNs by modeling do-calculus interventions via latent space manipulation.
  • Introduces a generalized message-passing GNN layer defined by φ(di, ∑j∈NGi ψ(di, dj)), enabling permutation equivariance and neighborhood aggregation.
  • Uses variational inference with KL divergence minimization to approximate posterior distributions p(Z|X), enabling end-to-end training via evidence lower bound (ELBO) optimization.
  • Applies the do-operator within the GNN framework to simulate interventions, treating interventions as conditional distributions over latent variables.
  • Employs a two-stage training process: first, pre-train on observational data; second, fine-tune on interventional data using shared parameters.
  • Uses ELBO and log-likelihood as evaluation metrics to assess density estimation quality and model convergence.

Experimental results

Research questions

  • RQ1How can Graph Neural Networks be formally connected to Structural Causal Models in a way that supports causal inference?
  • RQ2What is the minimal architectural and inductive bias requirement for a GNN-based model to achieve causal effect identification?
  • RQ3How does the performance of the model vary with training duration and model capacity when learning multiple interventional distributions?
  • RQ4To what extent does hyperparameter tuning affect the model’s ability to accurately estimate interventional distributions?
  • RQ5How does the model scale when learning from an increasing number of interventional distributions with fixed capacity?

Key findings

  • The iVGAE model achieves accurate estimation of interventional distributions, with test log-likelihood reaching -1.49 on the Earthquake dataset after 12k training steps, indicating strong density approximation capability.
  • Performance improves significantly with longer training, with nodes like 'tub' and 'lung' transitioning from underestimation to accurate fitting upon convergence, confirming training duration impacts model quality.
  • When model capacity is held constant, increasing the number of interventional distributions from 2 to 4 leads to a measurable degradation in log-likelihood performance, with test log-likelihood dropping from -4.10 to -3.79 on the ASIA dataset.
  • Parameter tuning—such as learning rate, pooling type, and depth—results in substantial performance gains, with the best test ELBO improving from -1.91 to -1.37 on the Earthquake dataset after tuning.
  • The model exhibits high variance in ELBO across random seeds, with worst-case test ELBO values deviating significantly from best-case values, indicating sensitivity to initialization and optimization dynamics.
  • Validation performance closely aligns with test performance, confirming that the model generalizes well and that overfitting is not a dominant issue under standard training regimes.

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.