Efficient Graph Generation with Graph Recurrent Attention Networks

Renjie Liao, Yujia Li, Yang Song, Shenlong Wang, Charlie Nash +4 more
10/2/2019
cs.LGstat.ML

Official code: lrjconan/GRAN (484 stars, MIT, last commit 2023-08-03).

Abstract

We propose a new family of efficient and expressive deep generative models of graphs, called Graph Recurrent Attention Networks (GRANs). Our model generates graphs one block of nodes and associated edges at a time. The block size and sampling stride allow us to trade off sample quality for efficiency. Compared to previous RNN-based graph generative models, our framework better captures the auto-regressive conditioning between the already-generated and to-be-generated parts of the graph using Graph Neural Networks (GNNs) with attention. This not only reduces the dependency on node ordering but also bypasses the long-term bottleneck caused by the sequential nature of RNNs. Moreover, we parameterize the output distribution per block using a mixture of Bernoulli, which captures the correlations among generated edges within the block. Finally, we propose to handle node orderings in generation by marginalizing over a family of canonical orderings. On standard benchmarks, we achieve state-of-the-art time efficiency and sample quality compared to previous models. Additionally, we show our model is capable of generating large graphs of up to 5K nodes with good quality. To the best of our knowledge, GRAN is the first deep graph generative model that can scale to this size. Our code is released at: https://github.com/lrjconan/GRAN.

View on arXivView PDF

Code Implementations(1)

lrjconan/GRANOfficial100%
MIT

Efficient Graph Generation with Graph Recurrent Attention Networks, Deep Generative Model of Graphs, Graph Neural Networks, NeurIPS 2019

48497C++, ShellSep 26, 20193 years agoMIT
deep-generative-modelgenerative-modelgraph-generationgraph-neural-networksneurips-2019

Cite this paper

@article{liao2019efficient,
  title  = {Efficient Graph Generation with Graph Recurrent Attention Networks},
  author = {Renjie Liao and Yujia Li and Yang Song and Shenlong Wang and Charlie Nash and William L. Hamilton and David Duvenaud and Raquel Urtasun and Richard S. Zemel},
  year   = {2019},
  eprint = {1910.00760},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.00760}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.00760.svg)](https://codeofpaper.com/paper/1910.00760)

Discussion