GraphGen: A Scalable Approach to Domain-agnostic Labeled Graph Generation
Nikhil Goyal, Harsh Vardhan Jain, Sayan Ranu
Abstract
Graph generative models have been extensively studied in the data mining literature. While traditional techniques are based on generating structures that adhere to a pre-decided distribution, recent techniques have shifted towards learning this distribution directly from the data. While learning-based approaches have imparted significant improvement in quality, some limitations remain to be addressed. First, learning graph distributions introduces additional computational overhead, which limits their scalability to large graph databases. Second, many techniques only learn the structure and do not address the need to also learn node and edge labels, which encode important semantic information and influence the structure itself. Third, existing techniques often incorporate domainspecific rules and lack generalizability. Fourth, the experimentation of existing techniques is not comprehensive enough due to either using weak evaluation metrics or focusing primarily on synthetic or small datasets. In this work, we develop a domain-agnostic technique called GraphGen to overcome all of these limitations. Graph-Gen converts graphs to sequences using minimum DFS codes. Minimum DFS codes are canonical labels and capture the graph structure precisely along with the label information. The complex joint distributions between structure and semantic labels are learned through a novel LSTM architecture. Extensive experiments on million-sized, real graph datasets show GraphGen to be 4 times faster on average than state-of-the-art techniques while being significantly better in quality across a comprehensive set of 11 different metrics. Our code is released at: https://github.com/idea-iitd/graphgen .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1fc53afc-9c4b-43eb-aa6e-5b1252231196Cited by top-tier papers34
- How Do Hyperedges Overlap in Real-World Hypergraphs? - Patterns, Measures, and GeneratorsGeon Lee, Minyoung Choe, Kijung ShinWWW 2021 · 76 citations
- On Evaluation Metrics for Graph Generative ModelsRylee Thompson, Boris Knyazev, Elahe Ghalebi, Jungtaek Kim et al.ICLR 2022 · 60 citations
- GraphPatcher: Mitigating Degree Bias for Graph Neural Networks via Test-time AugmentationMingxuan Ju, Tong Zhao, Wenhao Yu, Neil Shah et al.NeurIPS 2023 · 52 citations
- Evaluation Metrics for Graph Generative Models: Problems, Pitfalls, and Practical SolutionsLeslie O'Bray, Max Horn, Bastian Rieck, Karsten M. BorgwardtICLR 2022 · 51 citations
- Efficient and Scalable Graph Generation through Iterative Local ExpansionAndreas Bergmeister, Karolis Martinkus, Nathanaël Perraudin, Roger WattenhoferICLR 2024 · 38 citations
Related papers
- Unconditional Scene Graph GenerationSarthak Garg, Helisa Dhamo, Azade Farshad, Sabrina Musatian et al.ICCV 2021 · 30 citations
- Fairgen: Towards Fair Graph GenerationLecheng Zheng, Dawei Zhou, Hanghang Tong, Jiejun Xu et al.ICDE 2024 · 1 citation
- Graph Generative Pre-trained TransformerXiaohui Chen, Yinkai Wang, Jiaxing He, Yuanqi Du et al.ICML 2025
- Order Matters: Probabilistic Modeling of Node Sequence for Graph GenerationXiaohui Chen, Xu Han, Jiajing Hu, Francisco J. R. Ruiz et al.ICML 2021 · 40 citations
- Scale-Free Graph-Language ModelsJianglin Lu, Yixuan Liu, Yitian Zhang, Yun FuICLR 2025
