Survey on Graph Neural Network Acceleration: An Algorithmic Perspective

Xin Liu, Mingyu Yan, Lei Deng, Guoqi Li, Xiaochun Ye, Dongrui Fan, Shirui Pan, Yuan Xie

Abstract

Graph Neural Networks (GNNs) have emerged as the gold standard for learning on graph-structured data, yet their deployment is often hindered by significant computational and memory overheads. This paper provides the first systematic survey of GNN acceleration from a purely algorithmic perspective. It introduces a comprehensive taxonomy categorizing techniques into graph-level and model-level optimizations, offering a roadmap for scaling GNNs to massive datasets and resource-constrained edge devices.

Introduction

While GNNs excel at tasks like social network analysis and molecular modeling, they face a "triple threat" of efficiency bottlenecks: the massive scale of real-world graphs, the increasing complexity of deep models designed to avoid over-smoothing, and the strict memory/latency limits of edge devices. Unlike previous surveys that focus on hardware-specific accelerators or software frameworks, this work addresses the algorithmic gap: how can we modify the underlying mathematics and data processing to make GNNs inherently faster?

Taxonomy of Acceleration Methods

The authors propose a double-level taxonomy to organize existing research into Graph-level and Model-level optimizations.

Taxonomy of Algorithmic Acceleration Methods for GNN, highlighting the benefits for memory, computation, and communication.

Graph-level Optimizations (Modifying the Data)

  • Graph Sampling: To solve the "neighborhood explosion" problem, these methods select subsets of nodes or edges. This includes node-wise (GraphSAGE), layer-wise (FastGCN), and subgraph-based (GraphSAINT) sampling.
  • Graph Sparsification: These techniques remove "task-irrelevant" edges to reduce noise and computation, using either simple heuristics (DropEdge) or learnable modules (NeuralSparse).
  • Graph Partition: To enable distributed training, the graph is divided into smaller clusters (e.g., using METIS), focusing on minimizing inter-device communication.

Model-level Optimizations (Modifying the Architecture)

  • GNN Simplification: Researchers have found that some components, like non-linear activation functions, are redundant for certain tasks. Models like SGC and LightGCN "collapse" layers into single linear transformations, drastically reducing training time.
  • GNN Compression: This targets inference efficiency through techniques like Quantization (reducing weight precision to INT8) and Knowledge Distillation.

Key Insights and Results

A major finding is that the graph structure itself often does the heavy lifting. Removing complex neural network layers (Simplification) often results in massive speedups with negligible loss in accuracy. Furthermore, acceleration is not just about faster math; it is often about reducing the memory footprint of large feature matrices.

Relative training time comparison across different GNN acceleration methods and datasets, showing significant speedups for simplified models like UltraGCN.

Quantitative results synthesized from various studies demonstrate the impact of these algorithms:

  • Simplification: UltraGCN achieved a 14x speedup over LightGCN in training time for recommendation tasks on the Amazon-Book dataset.
  • Quantization: Methods like Degree-quant can achieve up to a 4.7x speedup on CPU platforms by using low-precision integer arithmetic for inference.
  • Sampling: Subgraph-based sampling (like Cluster-GCN) significantly reduces memory usage, allowing deep GNNs to be trained on a single GPU that would otherwise run out of memory.

Future Directions

The survey identifies three major frontiers for future research: handling Dynamic Graphs that change constantly, developing Hardware-Friendly Algorithms that exploit data locality, and pursuing Algorithm-Hardware Co-design to optimize the GNN and its execution environment simultaneously.

Summary updated

BibTeX
@inproceedings{liu2022survey,
  author = {Xin Liu and Mingyu Yan and Lei Deng and Guoqi Li and Xiaochun Ye and Dongrui Fan and Shirui Pan and Yuan Xie},
  title = {{Survey on Graph Neural Network Acceleration: An Algorithmic Perspective}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/772},
}
Figure