Papers › Efficient Graph Generation with Graph Recurrent Attention Networks

Efficient Graph Generation with Graph Recurrent Attention Networks

2 Oct 2019NeurIPS 2019 12arXiv:1910.00760archive 2025-07-28

Renjie Liao, Yujia Li, Yang Song, Shenlong Wang, Charlie Nash, William L. Hamilton, David Duvenaud, Raquel Urtasun, Richard S. Zemel

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1910.00760")

Code

Syntology Ran 1 of 15 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract.

By repository: official repository: 15 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

lrjconan/GRAN officialmentioned in papermentioned on GitHubpytorchMIT report
uoguelph-mlrg/ggm-metrics mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 1 ran; 1 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
14unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from lrjconan/GRAN. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

l2 lrjconan/GRAN/utils/dist_helper.py official repository ran · honoured contract fingerprinted MIT (permissive) · 039fc6561a9516bc · report
clean_graphs lrjconan/GRAN/utils/eval_helper.py official repository unverified MIT (permissive) · f5d7e99da0c1815c · report
compute_edge_ratio lrjconan/GRAN/runner/gran_runner.py official repository unverified MIT (permissive) · 345d9330634d2e06 · report
degree_worker lrjconan/GRAN/utils/eval_helper.py official repository unverified MIT (permissive) · 2830d89cd6960c9d · report
edict2dict lrjconan/GRAN/utils/arg_helper.py official repository unverified MIT (permissive) · 85c06dcfd0525e9f · report
evaluate lrjconan/GRAN/runner/gran_runner.py official repository unverified MIT (permissive) · 79386155a1b3f4d1 · report
find_nearest_idx lrjconan/GRAN/utils/eval_helper.py official repository unverified MIT (permissive) · a39feeeaa3cceac3 · report
get_config lrjconan/GRAN/utils/arg_helper.py official repository unverified MIT (permissive) · 7da817c2fb6ff428 · report
get_graph lrjconan/GRAN/runner/gran_runner.py official repository unverified MIT (permissive) · 9851241198ed98d8 · report
get_logger lrjconan/GRAN/utils/logger.py official repository unverified MIT (permissive) · 8569ed5e16bfff42 · report
load_graph_list lrjconan/GRAN/utils/data_helper.py official repository unverified MIT (permissive) · 84ac833da895bc1b · report
mixture_bernoulli_loss lrjconan/GRAN/model/gran_mixture_bernoulli.py official repository unverified MIT (permissive) · 52ee19ca206bf805 · report
pick_connected_component_new lrjconan/GRAN/utils/data_helper.py official repository unverified MIT (permissive) · b231e12a086b9714 · report
preprocess_graph_list lrjconan/GRAN/utils/data_helper.py official repository unverified MIT (permissive) · c6926ba7d87c5583 · report
setup_logging lrjconan/GRAN/utils/logger.py official repository unverified MIT (permissive) · c231d83496edbc85 · report

Tasks

Graph Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections