Home Knowledge Base GraphRNN

GraphRNN is an autoregressive deep generative model that constructs graphs sequentially — adding one node at a time and deciding which edges connect each new node to previously placed nodes — modeling the joint probability of the graph as a product of conditional edge probabilities, enabling generation of diverse graph structures beyond molecules including social networks, protein structures, and circuit graphs.

What Is GraphRNN?

Why GraphRNN Matters

GraphRNN Architecture

ComponentFunctionKey Design Choice
Graph-Level RNNEncodes graph state, seeds each new nodeGRU with 128-dim hidden state
Edge-Level RNNPredicts edges from new node to previous nodesBinary decisions, sequential
BFS OrderingLimits edge decisions to active frontierReduces $O(N)$ to $O(M)$ per node
TrainingTeacher forcing on random BFS orderingsMultiple orderings per graph
SamplingAutoregressive sampling, edge by edgeBernoulli per edge decision

GraphRNN is sequential graph drawing — constructing graphs one node and one edge at a time through an autoregressive process that maintains memory of the evolving structure, providing the general-purpose foundation for deep generative modeling of arbitrary graph topologies.

graphrnngraph neural networks

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.