English

SwinGNN: Rethinking Permutation Invariance in Diffusion Models for Graph Generation

Machine Learning 2024-06-21 v4 Artificial Intelligence

Abstract

Diffusion models based on permutation-equivariant networks can learn permutation-invariant distributions for graph data. However, in comparison to their non-invariant counterparts, we have found that these invariant models encounter greater learning challenges since 1) their effective target distributions exhibit more modes; 2) their optimal one-step denoising scores are the score functions of Gaussian mixtures with more components. Motivated by this analysis, we propose a non-invariant diffusion model, called SwinGNN\textit{SwinGNN}, which employs an efficient edge-to-edge 2-WL message passing network and utilizes shifted window based self-attention inspired by SwinTransformers. Further, through systematic ablations, we identify several critical training and sampling techniques that significantly improve the sample quality of graph generation. At last, we introduce a simple post-processing trick, i.e.\textit{i.e.}, randomly permuting the generated graphs, which provably converts any graph generative model to a permutation-invariant one. Extensive experiments on synthetic and real-world protein and molecule datasets show that our SwinGNN achieves state-of-the-art performances. Our code is released at https://github.com/qiyan98/SwinGNN.

Keywords

Cite

@article{arxiv.2307.01646,
  title  = {SwinGNN: Rethinking Permutation Invariance in Diffusion Models for Graph Generation},
  author = {Qi Yan and Zhengyang Liang and Yang Song and Renjie Liao and Lele Wang},
  journal= {arXiv preprint arXiv:2307.01646},
  year   = {2024}
}

Comments

TMLR 2024

R2 v1 2026-06-28T11:21:45.524Z