[Paper Review] Order Matters: Probabilistic Modeling of Node Sequence for Graph Generation
This paper proposes a variational inference approach to model node orderings in autoregressive graph generative models, enabling exact marginal likelihood estimation by jointly modeling graphs and their generation sequences. By learning a variational distribution over node orderings, the method achieves a tighter variational lower bound on log-likelihood and generates higher-quality graphs compared to baselines using fixed or random orderings.
A graph generative model defines a distribution over graphs. One type of generative model is constructed by autoregressive neural networks, which sequentially add nodes and edges to generate a graph. However, the likelihood of a graph under the autoregressive model is intractable, as there are numerous sequences leading to the given graph; this makes maximum likelihood estimation challenging. Instead, in this work we derive the exact joint probability over the graph and the node ordering of the sequential process. From the joint, we approximately marginalize out the node orderings and compute a lower bound on the log-likelihood using variational inference. We train graph generative models by maximizing this bound, without using the ad-hoc node orderings of previous methods. Our experiments show that the log-likelihood bound is significantly tighter than the bound of previous schemes. Moreover, the models fitted with the proposed algorithm can generate high-quality graphs that match the structures of target graphs not seen during training. We have made our code publicly available at \hyperref[https://github.com/tufts-ml/graph-generation-vi]{https://github.com/tufts-ml/graph-generation-vi}.
Motivation & Objective
- To address the intractability of marginalizing over node orderings in autoregressive graph generative models.
- To provide a rigorous probabilistic framework for modeling node sequences in graph generation.
- To improve model training and evaluation by enabling exact log-likelihood estimation via variational inference.
- To eliminate reliance on ad-hoc or canonical node orderings used in prior methods.
- To enhance the quality of generated graphs by learning meaningful, data-driven node orderings.
Proposed method
- The paper derives the joint probability p(G, π) over graphs G and node orderings π, accounting for graph automorphisms.
- It formulates a variational inference approach to approximate the posterior p(π|G), learning a neural network to infer likely orderings for a given graph.
- A variational lower bound on log p(G) is maximized during training, replacing the need for fixed or random node orderings.
- The method uses importance sampling to estimate the true log-likelihood for evaluation.
- The approach is applied to both adjacency matrix-based and graph sequence-based autoregressive models.
- The model is trained end-to-end using the variational lower bound, with the variational distribution guiding the generation process.
Experimental results
Research questions
- RQ1How can the marginal likelihood of a graph be estimated in autoregressive graph generative models when node orderings are unobserved?
- RQ2What is the relationship between graph automorphisms and the computation of graph probabilities in autoregressive generation?
- RQ3Can variational inference over node orderings lead to tighter bounds on the log-likelihood than existing methods?
- RQ4Does learning data-driven node orderings improve the quality of generated graphs compared to fixed or random orderings?
- RQ5Can the proposed method enable more accurate model evaluation and comparison using log-likelihood?
Key findings
- The variational lower bound on log-likelihood is significantly tighter than existing bounds, especially on structured datasets like Community-small.
- On the Community-small dataset, the model captures the one-edge inter-community structure accurately, while BFS and uniform baselines fail to do so.
- Graphs generated with the VI-trained model show higher similarity to real data, with better preservation of degree distribution, clustering coefficients, and 4-node orbit patterns.
- The MMD scores on test sets show consistent improvements across four of six datasets, with the VI method outperforming baselines on Enzymes, Yeast, and Cora.
- The variational distribution learns meaningful patterns, such as band matrices in adjacency matrices, that align with structural features of the data.
- The method improves predictive performance and enables more reliable model evaluation via log-likelihood, though scalability remains a limitation.
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.