All models

EDGE-graph-diffusion

A discrete diffusion model that generates large graphs by adding edges to an empty graph, guided by node degrees.

Graphs and geometry · 451 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (386 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
1.1M
Operations
451
Framework
PyTorch
Recurrent
Yes
Published
ICML 2023
Cited by
7 (as of 26 October 2026)
Authors
Xiaohui Chen, Jiaxing He, Xu Han, Li-Ping Liu
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16277
Graph hash
713abe5c738204a696edabccb583d32ceb9e26ad8aaab97cc99db60a0e054e8c
Skeleton hash
e9399b92772141103aeadf88343db6bb97611b77bf2242d8096d8b3e0cce70db
Architecture hash
c9cd5bcf9977813bcffd592cbd5e6d0073490170279386850d2c7f802412828c
Diagram SHA-256
9d2fa6235825ea0ff68efaa2cd6f35351906b8467e7fefa7358c8cb4d6030396
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

EDGE is a diffusion-based generative model for graphs, built to handle large graphs with thousands of nodes. Earlier diffusion-based graph models are effective on small graphs, but they must compute a latent vector or a probability for each node pair at each diffusion step, which the paper identifies as the major issue for large graphs.

EDGE uses a discrete diffusion process that randomly removes edges until the graph is empty, and the model is developed by reversing that process, using the sparsity of the graphs along the way to improve computational efficiency. At each denoising step the model first infers which nodes are active and then predicts edges only between those active nodes, and both predictions share one message-passing neural network (MPNN). Node degrees are modeled explicitly, which the paper says improves the graph statistics of generated graphs.

The paper evaluates on the Community and Ego datasets, whose graphs have hundreds of nodes, and on four real-world networks with thousands of nodes each: Polblogs, Cora, Road-Minnesota and PPI. On Community and Ego it reports that EDGE outperformed all baselines on 8 out of 10 metrics, and on large graphs it reports a clear advantage in running time. The released code is developed on top of the multinomial diffusion codebase.

Key idea. EDGE scales diffusion-based graph generation to graphs with thousands of nodes by removing edges down to an empty graph, predicting edges only among active nodes, and modeling node degrees explicitly.

  • edge
  • edge graph diffusion
  • efficient and degree-guided graph generation
  • graph generation
  • discrete diffusion
  • large graph generation
  • degree-guided generation
  • graph diffusion model
  • generative graph model

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{chen2023efficientdegreeguidedgraphgeneration,
      title={Efficient and Degree-Guided Graph Generation via Discrete Diffusion Modeling}, 
      author={Xiaohui Chen and Jiaxing He and Xu Han and Li-Ping Liu},
      year={2023},
      eprint={2305.04111},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2305.04111}, 
}