Skip to main content
QUICK REVIEW

[Paper Review] DiGress: Discrete Denoising diffusion for graph generation

Clément Vignac, Igor Krawczuk|arXiv (Cornell University)|Sep 29, 2022
Advanced Graph Neural NetworksComputer Science70 citations
TL;DR

DiGress introduces a discrete denoising diffusion model for graphs with categorical node and edge attributes, using a graph transformer to invert a Markovian discrete diffusion while preserving sparsity. It achieves state-of-the-art results on molecular and non-molecular graphs and scales to large datasets.

ABSTRACT

This work introduces DiGress, a discrete denoising diffusion model for generating graphs with categorical node and edge attributes. Our model utilizes a discrete diffusion process that progressively edits graphs with noise, through the process of adding or removing edges and changing the categories. A graph transformer network is trained to revert this process, simplifying the problem of distribution learning over graphs into a sequence of node and edge classification tasks. We further improve sample quality by introducing a Markovian noise model that preserves the marginal distribution of node and edge types during diffusion, and by incorporating auxiliary graph-theoretic features. A procedure for conditioning the generation on graph-level features is also proposed. DiGress achieves state-of-the-art performance on molecular and non-molecular datasets, with up to 3x validity improvement on a planar graph dataset. It is also the first model to scale to the large GuacaMol dataset containing 1.3M drug-like molecules without the use of molecule-specific representations.

Motivation & Objective

  • Motivate graph generation with discrete diffusion to preserve sparsity and structure.
  • Develop a diffusion process operating on discrete node/edge categories.
  • Train a graph transformer to denoise and reconstruct clean graphs from noisy ones.
  • Enhance performance with a marginal-preserving noise model and auxiliary features.
  • Enable conditional graph generation via discrete guidance and auxiliary features.

Proposed method

  • Define discrete diffusion with Markov transition matrices Q^t_X and Q^t_E for node and edge categories.
  • Diffuse G^t by sampling node/edge types from q(G^t|G^{t-1}) = (X^{t-1} Q^t_X, E^{t-1} Q^t_E) and symmetrize for undirected graphs.
  • Train a permutation-equivariant graph transformer phi_theta to predict clean node/edge distributions by minimizing cross-entropy loss l = sum_i CE(x_i, p_i^X) + lambda sum_{i,j} CE(e_{ij}, p_{ij}^E}.
  • Model the reverse diffusion p_theta(G^{t-1}|G^t) as a product over nodes and edges, marginalizing over discrete predictions to obtain p_theta(x_i^{t-1}|G^t) and p_theta(e_{ij}^{t-1}|G^t).
  • Improve training with a marginal-noise prior q_X, q_E that matches data marginals, and augment inputs with structural/spectral features.
  • Introduce discrete guidance for conditioning via a property regressor g_eta to steer sampling toward graphs with target properties.

Experimental results

Research questions

  • RQ1Can discrete diffusion on graph attributes effectively model complex graph distributions while preserving sparsity?
  • RQ2Does a marginal-probability-preserving noise model improve diffusion training and sample quality for graphs?
  • RQ3What architectural and feature augmentations (e.g., structural/spectral features) boost graph denoising performance?
  • RQ4Can DiGress support conditional graph generation using discrete guidance and graph-level properties?
  • RQ5How does DiGress scale to large molecular datasets compared with autoregressive and other one-shot models?

Key findings

  • DiGress achieves state-of-the-art performance on molecular and non-molecular graph generation benchmarks.
  • On planar graphs, DiGress attains up to 3x higher validity than baselines.
  • DiGress is the first one-shot graph model to scale to GuacaMol (1.3M molecules) without molecule-specific representations.
  • Using marginal transition noise improves diffusion training and sample quality over uniform noise.
  • In QM9 conditioning experiments, discrete guidance reduces mean absolute error on target properties.
  • DiGress matches autoregressive models on large MOSES and competitive metrics on GuacaMol, demonstrating scalability.

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.