Understanding GNN Computational Graph: A Coordinated Computation, IO, and Memory Perspective
Hengrui Zhang, Zhongming Yu, Guohao Dai, Guyue Huang, Yufei Ding, Yuan, Xie, Yu Wang

TL;DR
This paper introduces a set of novel optimization techniques for GNN computational graphs that significantly reduce latency and memory usage by reorganizing operators, unifying thread mapping, and recomputing intermediate data.
Contribution
The paper proposes a coordinated approach to optimize GNN graphs by eliminating redundant computation, enabling operator fusion, and reducing memory through recomputation, which is a novel perspective.
Findings
Up to 2.75x end-to-end speedup achieved.
6.89x reduction in memory IO.
7.73x decrease in memory consumption.
Abstract
Graph Neural Networks (GNNs) have been widely used in various domains, and GNNs with sophisticated computational graph lead to higher latency and larger memory consumption. Optimizing the GNN computational graph suffers from: (1) Redundant neural operator computation. The same data are propagated through the graph structure to perform the same neural operation multiple times in GNNs, leading to redundant computation which accounts for 92.4% of total operators. (2) Inconsistent thread mapping. Efficient thread mapping schemes for vertex-centric and edge-centric operators are different. This inconsistency prohibits operator fusion to reduce memory IO. (3) Excessive intermediate data. For GNN training which is usually performed concurrently with inference, intermediate data must be stored for the backward pass, consuming 91.9% of the total memory requirement. To tackle these challenges, we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Neural Networks · Advanced Neural Network Applications · Graph Theory and Algorithms
