Accelerating Scalable Graph Neural Network Inference with Node-Adaptive Propagation

Xin Gao, Wentao Zhang, Junliang Yu, Yingxiao Shao, Q. Nguyen, Bin Cui, Hongzhi Yin

Main figure for Accelerating Scalable Graph Neural Network Inference with Node-Adaptive Propagation

Abstract

Graph neural networks (GNNs) have exhibited exceptional efficacy in a diverse array of applications. However, the sheer size of large-scale graphs presents a significant challenge to real-time inference with GNNs. Although existing Scalable GNNs leverage linear propagation to preprocess the features and accelerate the training and inference procedure, these methods still suffer from scalability issues when making inferences on unseen nodes, as the feature preprocessing requires the graph to be known and fixed. To further accelerate Scalable GNNs inference in this inductive setting, we propose an online propagation framework and two novel node-adaptive propagation methods that can customize the optimal propagation depth for each node based on its topological information and thereby avoid redundant feature propagation. The trade-off between accuracy and latency can be flexibly managed through simple hyper-parameters to accommodate various latency constraints. Moreover, to compensate for the inference accuracy loss caused by the potential early termination of propagation, we further propose Inception Distillation to exploit the multi-scale receptive field information within graphs. The rigorous and comprehensive experimental study on public datasets with varying scales and characteristics demonstrates that the proposed inference acceleration framework outperforms existing state-of-the-art graph inference acceleration methods in terms of accuracy and efficiency. Particularly, the superiority of our approach is notable on datasets with larger scales, yielding a $75 $ inference speedup on the largest Ogbn-products dataset.

Benchmark Results

Tested on 1 dataset 2 baseline values reported too low

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

OGB

#ModelAccuracy ↑Paper
1
Jacobi
0.8968
2
GPR
0.8953
3
LEMP4HG
0.8939
4
SAGE
0.8933
94
SGC
actual #94 vs paper #290 196 places worse
0.8220 ±0.0090
best reported
actual #94 vs paper #290 196 places worse
paper 0.7424
paper 0.7424 Δ at pub 0.0796
222
GLNN
actual #222 vs paper #364 142 places worse
0.7765 ±0.0048
best reported
actual #222 vs paper #364 142 places worse
paper 0.6312
paper 0.6312 Δ at pub 0.1453
302
NAI_g
0.7389
This paper
306
NAI_d
0.7370
This paper
311
Quantization
0.7301
This paper
314
NOSMOG
0.7248
This paper
328
TinyGNN
0.7133
This paper
351
MLP
0.6605 ±0.0020
SOTA performance (not significantly different from the best) Baseline / comparison (this paper) Global context (other papers) Best at pub — reported result worse than the best known when published (best reported in green)