NeurIPS 2019

Layer-Dependent Importance Sampling for Training Deep and Large Graph Convolutional Networks

Difan Zou, Ziniu Hu, Yewen Wang, Song Jiang, Yizhou Sun, Quanquan Gu

Main figure for Layer-Dependent Importance Sampling for Training Deep and Large Graph Convolutional Networks

Abstract

Graph convolutional networks (GCNs) have recently received wide attentions, due to their successful applications in different graph tasks and different domains. Training GCNs for a large graph, however, is still a challenge. Original full-batch GCN training requires calculating the representation of all the nodes in the graph per GCN layer, which brings in high computation and memory costs. To alleviate this issue, several sampling-based methods have been proposed to train GCNs on a subset of nodes. Among them, the node-wise neighbor-sampling method recursively samples a fixed number of neighbor nodes, and thus its computation cost suffers from exponential growing neighbor size; while the layer-wise importance-sampling method discards the neighbor-dependent constraints, and thus the nodes sampled across layer suffer from sparse connection problem. To deal with the above two problems, we propose a new effective sampling algorithm called yer- ependent mportanc ampling (LADIES). Based on the sampled nodes in the upper layer, LADIES selects their neighborhood nodes, constructs a bipartite subgraph and computes the importance probability accordingly. Then, it samples a fixed number of nodes by the calculated probability, and recursively conducts such procedure per layer to construct the whole computation graph. We prove theoretically and experimentally, that our proposed sampling algorithm outperforms the previous sampling methods in terms of both time and memory costs. Furthermore, LADIES is shown to have better generalization accuracy than original full-batch GCN, due to its stochastic nature.

Benchmark Results

Tested on 3 datasets Non-standard metric on 3 datasets

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

Classic

CiteSeer

Global leaderboard →
Non-default metric. This paper reports F1-micro; the dataset default is Accuracy. Values below use F1-micro only.

Sorted by F1-micro. Highlighted rows are from other papers.

#ModelF1-micro ↑Paper
1
GEN
0.7270 ±0.0130
2
GaGSL
0.7210 ±0.0110
3
IDGL
0.7190 ±0.0030
6
GCN
0.6710 ±0.0030
9
LADIES (64)
0.6500 ±0.0140
This paper
10
FastGCN (1024)
0.6350 ±0.0180
This paper
11
Full-Batch
0.6230 ±0.0310
This paper
12
GraphSage (5)
0.5940 ±0.0090
This paper

PubMed

Global leaderboard →
Non-default metric. This paper reports F1-micro; the dataset default is Accuracy. Values below use F1-micro only.

Sorted by F1-micro. Highlighted rows are from other papers.

#ModelF1-micro ↑Paper
1
LADIES (64)
0.7680 ±0.0080
This paper
2
FastGCN (8192)
0.7440 ±0.0080
This paper
3
Full-Batch
0.7190 ±0.0190
This paper
4
GraphSage (5)
0.7010 ±0.0140
This paper

Reddit

Global leaderboard →
Non-default metric. This paper reports F1-micro; the dataset default is F1. Values below use F1-micro only.

Sorted by F1-micro. Highlighted rows are from other papers.

#ModelF1-micro ↑Paper
1
LaGraph
0.9520
2
GraphAKD
0.9515 ±0.0002
3
GMI-mean
0.9500 ±0.0002
6
GCN
0.9412 ±0.0004
8
LADIES (512)
0.9280 ±0.0160
This paper
9
GraphSage (5)
0.9210 ±0.0110
This paper
10
Full-Batch
0.9160 ±0.0160
This paper
12
FastGCN (8192)
0.8950 ±0.0120
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers)