NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Discrete-state Continuous-time Diffusion for Graph Generation

Zhe Xu, Ruizhong Qiu, Yuzhong Chen, Huiyuan Chen, Xiran Fan, Menghai Pan, Zhichen Zeng, Mahashweta Das, Hanghang Tong

Abstract

Generating realistic graphs—from life-saving drug molecules to complex social networks—is a cornerstone of modern AI. Recently, diffusion models have taken center stage in this field. However, researchers have faced a trade-off: models either respect the discrete nature of graphs but remain locked into rigid sampling schedules, or they utilize flexible sampling by treating graphs as continuous values, often losing structural fidelity. This paper introduces DISCO, the first framework to bridge this gap by combining discrete states with continuous-time mathematics. By leveraging Continuous-time Markov Chains (CTMC), DISCO preserves the natural discrete structure of graphs while providing a flexible sampling process that allows for significant speed-ups without sacrificing quality.

1. Introduction

Graph generation is inherently difficult because graphs are both discrete (edges either exist or they do not) and permutation invariant (the graph's identity is independent of node ordering). Current diffusion models generally fall into two categories: continuous-state models and discrete-state, discrete-time models.

Continuous-state models treat edges as continuous values, allowing for flexible sampling but often losing "topological sparsity." These models require complex post-processing to convert continuous "fuzz" back into discrete edges. Conversely, discrete-state, discrete-time models (such as DiGress) respect the graph's categorical nature but are inflexible; a model trained for 1,000 steps is largely restricted to that sampling schedule. DISCO fills the "missing quadrant" in the taxonomy of graph diffusion: Discrete-state Continuous-time.

2. Methodology

The core innovation of DISCO is the application of Continuous-time Markov Chains (CTMC) to the graph generation problem.

2.1 The Forward Process

Instead of adding noise in discrete steps, DISCO defines a "rate matrix" that governs how node and edge types transition into a noisy state (such as a uniform or marginal distribution) over a continuous time interval $[0, T]$.

2.2 Factorization and Denoising

Because a graph with $n$ nodes has an astronomically large number of possible states, the authors factorize the process. Each node and edge diffuses independently, but the denoising step (the reverse process) utilizes a global view of the graph to predict the original structure. This ensures the model captures complex dependencies while remaining computationally tractable.

2.3 Training and Sampling

The training objective is based on the discrepancy between the ground-truth reverse rate matrix and a parameterized neural network version. This simplifies to a weighted cross-entropy loss, providing a theoretical bridge between training and sampling error. For generation, DISCO employs $\tau$-leaping, a technique that allows the model to "jump" through time by triggering multiple node/edge transitions simultaneously. This enables a flexible trade-off between generation speed and graph quality.

3. Experimental Setup

The authors evaluated DISCO using two distinct architectures: DISCO-GT (Graph Transformer) and DISCO-MPNN (Message Passing Neural Network). These were tested across several benchmarks:

  • Generic Graphs: SBM (Stochastic Block Model), Planar graphs, and Community networks to test mathematical and topological capture.
  • Molecular Graphs: QM9, MOSES, and GuacaMol to evaluate chemical plausibility, uniqueness, and validity.

4. Key Insights

  • The Power of "No-Edge": DISCO treats the absence of an edge as a specific categorical type. This allows the model to operate on a complete graph, mitigating the "long-range" problem in message passing because every node is technically connected to every other node via a "no-edge" relationship.
  • Flexible Fidelity: Because the time variable is continuous, the sampling step size ($\tau$) can be chosen after training. Users can generate a quick preview in 10 steps or a high-fidelity graph in 500 steps using the same trained weights.
  • Inductive Biases: The framework rigorously maintains permutation invariance and equivariance, ensuring the model is robust to the arbitrary ordering of nodes in memory.

5. Results

DISCO-GT achieved state-of-the-art performance, particularly on the QM9 molecule dataset, where it reached 99.3% validity, outperforming most general-purpose graph generators.

The DISCO-MPNN variant proved to be a highly efficient alternative, utilizing roughly half the parameters of the Transformer-based version and running approximately 3x faster per training iteration while maintaining competitive performance. Furthermore, ablation studies demonstrated that reducing sampling steps from 500 to 30 resulted in minimal quality degradation, proving the robustness of the continuous-time formulation.

6. Conclusion and Future Work

DISCO represents a significant advancement in graph diffusion by providing a theoretically grounded method for discrete-state, continuous-time generation. While highly effective, the model currently faces quadratic complexity ($O(n^2)$) because it treats graphs as complete. Future research will focus on extending this framework to handle continuous node features and developing sub-quadratic diffusion kernels to enable the generation of large-scale social and biological networks.

Summary updated

BibTeX
@inproceedings{xu2024discrete,
  author = {Zhe Xu and Ruizhong Qiu and Yuzhong Chen and Huiyuan Chen and Xiran Fan and Menghai Pan and Zhichen Zeng and Mahashweta Das and Hanghang Tong},
  title = {{Discrete-state Continuous-time Diffusion for Graph Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=YkSKZEhIYt},
}
Figure