Skip to main content
QUICK REVIEW

[Paper Review] Score-based Generative Modeling of Graphs via the System of Stochastic Differential Equations

Jaehyeong Jo, Seul Lee|arXiv (Cornell University)|Feb 5, 2022
Complex Network Analysis TechniquesPhysics and Astronomy25 citations
TL;DR

Introduces a continuous-time score-based graph generative model called GDSS, modeling node features and adjacency jointly via a system of SDEs and trained with partial-score objectives to capture node-edge dependencies.

ABSTRACT

Generating graph-structured data requires learning the underlying distribution of graphs. Yet, this is a challenging problem, and the previous graph generative methods either fail to capture the permutation-invariance property of graphs or cannot sufficiently model the complex dependency between nodes and edges, which is crucial for generating real-world graphs such as molecules. To overcome such limitations, we propose a novel score-based generative model for graphs with a continuous-time framework. Specifically, we propose a new graph diffusion process that models the joint distribution of the nodes and edges through a system of stochastic differential equations (SDEs). Then, we derive novel score matching objectives tailored for the proposed diffusion process to estimate the gradient of the joint log-density with respect to each component, and introduce a new solver for the system of SDEs to efficiently sample from the reverse diffusion process. We validate our graph generation method on diverse datasets, on which it either achieves significantly superior or competitive performance to the baselines. Further analysis shows that our method is able to generate molecules that lie close to the training distribution yet do not violate the chemical valency rule, demonstrating the effectiveness of the system of SDEs in modeling the node-edge relationships. Our code is available at https://github.com/harryjo97/GDSS.

Motivation & Objective

  • Motivate learning the distribution of graph-structured data while respecting permutation-invariance.
  • Propose a diffusion framework that jointly diffuses node features and adjacency matrices through a system of SDEs (GDSS).
  • Develop novel partial-score matching objectives to train the joint score models for X (node features) and A (adjacency).
  • Introduce an efficient reverse-time SDE solver (S4) to sample graphs from the learned diffusion process.
  • Demonstrate superior or competitive generation quality on synthetic, real-world graphs and molecule datasets.

Proposed method

  • Define G = (X, A) with X in R^{N×F} and A in R^{N×N}.
  • Form a forward Itô SDE for G with drift f_t and diffusion g_t to noise the graph components.
  • Derive a coupled reverse-time system of SDEs for X_t and A_t using partial score functions ∇_{X_t} log p_t and ∇_{A_t} log p_t.
  • Propose time-dependent score networks s_{θ,t} and s_{φ,t} to estimate partial scores (X and A) and train via denoising score-matching objectives adapted for partial scores (equations (5)-(7)).
  • Architectures: permutation-equivariant score models using graph neural networks (GNNs) and graph multi-head attention to capture node-edge dependencies (equations (8)-(9)).
  • Solve the reverse system with a novel Symmetric Splitting for System of SDEs (S4) integrator, combining score computation, a correction step, and a prediction step (based on operator splitting and Fokker-Planck formalism).

Experimental results

Research questions

  • RQ1Can a diffusion process modeled as a system of SDEs jointly diffuse and recover both node features and adjacency while preserving permutation-invariance?
  • RQ2Do partial-score objectives enable effective learning of the joint data distribution over graphs compared to marginal-score approaches?
  • RQ3Is there a scalable and accurate sampler for the reverse diffusion that outperforms baseline GD methods and existing one-shot models on synthetic and molecular graphs?
  • RQ4Does jointly modeling X and A capture node-edge dependencies better than sequential or independent diffusion variants?
  • RQ5How does the proposed GDSS framework perform on generic graph generation tasks and molecule generation relative to autoregressive and other one-shot models?

Key findings

  • GDSS and its continuous-time diffusion framework outperform existing one-shot graph generative models and are competitive with autoregressive models on generic graph datasets.
  • The joint diffusion of node features and adjacency through GDSS better captures node-edge dependencies than GDSS-seq or EDP-GNN variants, as evidenced by toy and empirical analyses.
  • GDSS achieves improved or competitive MMD-based metrics across Ego-small, Community-small, Enzymes, and Grid datasets compared to baselines.
  • In molecule generation tasks, GDSS outperforms state-of-the-art baselines including autoregressive methods, demonstrating effective modeling of complex node-edge dependencies.
  • The S4 solver provides efficient and accurate sampling for the system of SDEs, balancing score computation, correction, and prediction steps.

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.