Skip to main content
QUICK REVIEW

[Paper Review] Conditional Diffusion Based on Discrete Graph Structures for Molecular Graph Generation

Han Huang, Leilei Sun|arXiv (Cornell University)|Jan 1, 2023
Computational Drug Discovery MethodsComputer Science3 citations
TL;DR

This paper proposes Conditional Diffusion based on Discrete Graph Structures (CDGS), a novel diffusion model for molecular graph generation that conditions reverse sampling on discrete edge existence structures to improve fidelity and speed. By combining a hybrid graph noise prediction model with ODE solvers exploiting the semi-linear structure of probability flow, CDGS achieves high-quality, fast sampling and effective similarity-constrained optimization, outperforming prior methods in distribution learning and downstream tasks.

ABSTRACT

Learning the underlying distribution of molecular graphs and generating high-fidelity samples is a fundamental research problem in drug discovery and material science. However, accurately modeling distribution and rapidly generating novel molecular graphs remain crucial and challenging goals. To accomplish these goals, we propose a novel Conditional Diffusion model based on discrete Graph Structures (CDGS) for molecular graph generation. Specifically, we construct a forward graph diffusion process on both graph structures and inherent features through stochastic differential equations (SDE) and derive discrete graph structures as the condition for reverse generative processes. We present a specialized hybrid graph noise prediction model that extracts the global context and the local node-edge dependency from intermediate graph states. We further utilize ordinary differential equation (ODE) solvers for efficient graph sampling, based on the semi-linear structure of the probability flow ODE. Experiments on diverse datasets validate the effectiveness of our framework. Particularly, the proposed method still generates high-quality molecular graphs in a limited number of steps. Our code is provided in https://github.com/GRAPH-0/CDGS.

Motivation & Objective

  • To address the limitations of existing diffusion-based molecular graph generation models in fidelity and sampling speed.
  • To improve distribution learning by explicitly modeling discrete graph structures rather than relying solely on real-valued matrices.
  • To enable fast, high-quality graph sampling through ODE solvers tailored to the semi-linear structure of probability flow ODEs.
  • To support efficient similarity-constrained molecule optimization using latent space ODEs and gradient guidance.
  • To demonstrate strong performance on both molecular and generic graph generation benchmarks.

Proposed method

  • Introduces a forward diffusion process on node and edge features using stochastic differential equations (SDEs), with edge existence modeled via one-bit discrete variables quantized to real numbers.
  • Uses discrete graph structures—decoded from the reverse process—as conditioning for each sampling step, enhancing structural fidelity.
  • Employs a hybrid graph noise prediction model combining message passing on discrete graphs and attention-based message passing on fully-connected graphs to capture local and global dependencies.
  • Applies fast ODE solvers to the probability flow ODE, leveraging its semi-linear structure for efficient sampling with fewer than 200 network evaluations.
  • Constructs a similarity-constrained optimization pipeline using time-dependent ODE solvers and gradient guidance from a graph property predictor.
  • Utilizes radial basis function kernel MMD with multiple smoothing parameters and GIN-based metrics to evaluate distributional similarity on graph descriptors.

Experimental results

Research questions

  • RQ1Can conditioning reverse diffusion on discrete graph structures improve molecular graph generation fidelity compared to real-number-only formulations?
  • RQ2Does a hybrid graph noise prediction model that combines local and global message passing enhance denoising performance and structural accuracy?
  • RQ3Can ODE solvers exploiting the semi-linear structure of probability flow ODEs significantly reduce sampling steps while maintaining high-quality outputs?
  • RQ4Can the framework enable effective similarity-constrained molecule optimization with faster inference than reinforcement learning-based methods?
  • RQ5How well does CDGS generalize to generic graph generation beyond molecular graphs?

Key findings

  • CDGS achieves state-of-the-art performance in molecular graph generation, outperforming score-based models and autoregressive baselines on ZINC250k in distributional metrics such as degree distribution, clustering coefficient, and Laplacian spectrum.
  • On the Ego dataset, CDGS maintains high fidelity in graph structure metrics, while the diffusion-based GDSS model fails on degree and clustering coefficient distributions.
  • CDGS generates high-quality molecular graphs in under 200 network evaluations using the Euler-Maruyama method, significantly reducing sampling steps compared to prior diffusion models.
  • For similarity-constrained optimization, CDGS achieves a higher success rate and mean property improvement than MoFlow and GraphEBM, approaching the performance of RL-based methods like GraphAF-RL.
  • The framework demonstrates strong generalization, achieving competitive results on four generic graph datasets (Community-small, Ego-small, Enzymes, Ego) across multiple distributional metrics.
  • The use of semi-linear ODE solvers enables fast, stable sampling and supports an effective pipeline for gradient-guided molecule optimization in latent space.

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.