WWW 2020

GraphGen: A Scalable Approach to Domain-agnostic Labeled Graph Generation

Nikhil Goyal, Harsh Vardhan Jain, Sayan Ranu

Main figure for GraphGen: A Scalable Approach to Domain-agnostic Labeled Graph Generation

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 domain-specific 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. GraphGen 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:.

Proposed method: GraphGen

Benchmark Results

Tested on 1 dataset Non-standard metric on 1 dataset

Tables show presented results in global context (best 3 papers + GCN + MLP).

TU Dortmund

ENZYMES

Global leaderboard →

Default metric is Accuracy. The paper reports 0 values on Accuracy , 2 values on Orbit , 2 values on NSPDK , 2 values on Joint Node Label & Degree and 2 values on Uniqueness .

Sorted by Orbit. Highlighted rows are from other papers.

#ModelAccuracy ↓ defaultOrbit ↓NSPDK ↓Joint Node Label & Degree ↓Uniqueness ↓Paper
1
CatFlow
0.0080 ± 0.0070
—
———
Accuracy 0.0080 ± 0.0070
NSPDK —
Joint Node Label & Degree —
Uniqueness —
2
GraphGen
—
0.0160
0.0510
0.2490
0.9900
Accuracy —
NSPDK 0.0510
Joint Node Label & Degree 0.2490
Uniqueness 0.9900
This paper
3
GraphRNN
—
0.0380
0.0670
0.3120
0.9900
Accuracy —
NSPDK 0.0670
Joint Node Label & Degree 0.3120
Uniqueness 0.9900
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers)