All models

EDP-GNN

A multi-channel graph neural network that estimates per-edge scores for score-based graph generation.

Graphs and geometry · 720 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 (32 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
91K
Operations
720
Framework
PyTorch
Recurrent
No
Published
AISTATS 2020
Cited by
419 (as of 28 October 2026)
Authors
Chenhao Niu, Yang Song, Jiaming Song and others
License
GPL-3.0
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
m16281
Graph hash
a48ea515ab1fcfd39360b15b8152628f9a78b6541d80e6ec192880aacb52a9af
Skeleton hash
738e1d3d88cf7250d8fd6bdeed18764f220411ecb8564732808944a15919d145
Architecture hash
87f68b250b1eb26ebdc8339c95980745429cab164a615d2f58d5d2cc22c0ab1e
Diagram SHA-256
c35e115f29608acfba60c16131c65530f1c92b98bd5380ef779831c313324e33
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

EDP-GNN (Edgewise Dense Prediction Graph Neural Network) is the score network of a generative model for graphs: given a noise-perturbed adjacency matrix, it estimates the scores of the graph distribution while staying permutation equivariant. The paper starts from node ordering: most earlier graph generators are not invariant to the ordering chosen, which can bias the distribution they learn. A permutation equivariant model of the gradients implicitly defines a permutation invariant distribution over graphs.

Each EDP-GNN layer transforms the input adjacency matrix into another one, so the message passing itself can change from layer to layer. The paper compares this to dense prediction on images, with edges in the place of pixels. The building block is a multi-channel GNN layer that runs message passing on many graphs at once and concatenates the node features from all channels. With single-channel, non-learnable intermediate adjacency matrices the network is equivalent to vanilla GIN.

Training uses score matching and sampling uses annealed Langevin dynamics. On the Community-small and Ego-small datasets the paper reports results comparable to GraphRNN and GNF on most MMD metrics.

Key idea. The paper builds a permutation equivariant, multi-channel graph neural network that models the score function of a graph distribution, giving a permutation invariant generative model of graphs.

  • EDP-GNN
  • Edgewise Dense Prediction Graph Neural Network
  • GraphScoreMatching
  • graph generation
  • score-based generative modeling
  • score matching
  • permutation invariant graph generation
  • annealed Langevin dynamics

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

Cite the paper

@misc{niu2020permutationinvariantgraphgeneration,
      title={Permutation Invariant Graph Generation via Score-Based Generative Modeling}, 
      author={Chenhao Niu and Yang Song and Jiaming Song and Shengjia Zhao and Aditya Grover and Stefano Ermon},
      year={2020},
      eprint={2003.00638},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2003.00638}, 
}