[Paper Review] Graph Generation with Variational Recurrent Neural Network
This paper proposes GraphVRNN, a variational recurrent neural network that models graph structures and node attributes jointly by leveraging a sequence-based autoregressive VAE framework. By incorporating a learnable prior and variational inference, GraphVRNN achieves state-of-the-art performance in modeling complex graph distributions and generating realistic structures and attributes, especially on large-scale and heterogeneous datasets.
Generating graph structures is a challenging problem due to the diverse representations and complex dependencies among nodes. In this paper, we introduce Graph Variational Recurrent Neural Network (GraphVRNN), a probabilistic autoregressive model for graph generation. Through modeling the latent variables of graph data, GraphVRNN can capture the joint distributions of graph structures and the underlying node attributes. We conduct experiments on the proposed GraphVRNN in both graph structure learning and attribute generation tasks. The evaluation results show that the variational component allows our network to model complicated distributions, as well as generate plausible structures and node attributes.
Motivation & Objective
- To address the limitations of existing graph generation models in capturing complex, high-dimensional distributions of both graph structures and node attributes.
- To extend the GraphRNN framework with a variational autoencoder (VAE) to model latent factors and improve generative capacity while maintaining scalability.
- To enable joint learning of graph structure and node attribute distributions through a conditional VAE formulation under a BFS-based sequence generation scheme.
- To evaluate the model’s ability to generate plausible, diverse graphs and accurately approximate complex attribute distributions, especially in large-scale and heterogeneous settings.
Proposed method
- Maps graphs into sequences using a breadth-first search (BFS) permutation to enable autoregressive generation and improve scalability.
- Employs a conditional variational autoencoder (CVAE) with latent variables $ z_i $ to model the joint distribution $ p(S^ au, X^ au) $, where $ S^ au $ is the edge sequence and $ X^ au $ is the attribute sequence.
- Uses a recognition network $ q_ heta(z_i | S_{ullet}^{ au}, X_{ullet}^{ au}) $ to infer latent codes and a prior network $ p_ heta(z_i | S_{<i}^{ au}, X_{<i}^{ au}) $ to model the prior distribution over latent variables.
- Optimizes a variational lower bound (ELBO) that includes reconstruction loss and a KL divergence term between posterior and prior, with a hyperparameter $ eta $ controlling the trade-off.
- Decouples the decoder into two heads: one for predicting edge connections $ S_i^ au $, and another for generating node attributes $ X_i^ au $, conditioned on latent codes and previous hidden states.
- Shares weights across node-level RNNs to maintain parameter efficiency and enable end-to-end training.
Experimental results
Research questions
- RQ1Can a variational recurrent model jointly capture the complex dependencies in graph structures and node attributes more effectively than deterministic models like GraphRNN?
- RQ2How does the inclusion of a learnable prior network improve the modeling of intricate graph distributions, especially in large-scale or heterogeneous graphs?
- RQ3To what extent does the variational component enhance the model’s ability to generate diverse and realistic graph structures and attribute distributions?
- RQ4How sensitive is GraphVRNN’s performance to the hyperparameter $ \beta $, particularly in attribute generation versus structure learning tasks?
Key findings
- GraphVRNN achieves significantly lower degree MMD (Maximum Mean Discrepancy) on the Com-mix dataset, indicating superior modeling of complex intra-connection probabilities compared to GraphRNN and GraphVRNN-nlp.
- On the Com-attr dataset, GraphVRNN reduces Earth Mover’s Distance (EMD) to 0.113 for the full graph attribute distribution when $ \beta = 0.5 $, outperforming GraphRNN (0.460) and GraphVRNN-nlp (0.290), showing better approximation of attribute distributions.
- GraphVRNN demonstrates insensitivity to $ \beta $ in structure learning tasks, suggesting stable performance across different regularization strengths for structural generation.
- Relaxing $ \beta $ to 0.5 improves attribute generation performance, particularly for Com2, where EMD drops to 0.095, indicating that a more flexible prior enhances distributional modeling.
- GraphVRNN generates more realistic attribute distributions than GraphRNN, which tends to collapse to modes due to deterministic inference, as shown in density plots of generated attributes.
- The model maintains strong performance on larger graphs (up to 60 nodes), demonstrating scalability and robustness in complex, large-scale settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.