Litcius/Paper detail

uGrapher: High-Performance Graph Operator Computation via Unified Abstraction for Graph Neural Networks

Yangjie Zhou, Jingwen Leng, Yaoxu Song, Shuwen Lu, Mian Wang, Chao Li, Minyi Guo, Wenting Shen, Yong Li, Wei Lin, Xiangwen Liu, Hanqing Wu

202323 citationsDOI

Abstract

As graph neural networks (GNNs) have achieved great success in many graph learning problems, it is of paramount importance to support their efficient execution. Different graphs and different operators present different patterns during execution. However, there is still a gap in the existing GNN acceleration research to explore adaptive parallelism. We show that existing GNN frameworks rely on handwritten static kernels, which fail to achieve the best performance across different graph operators and input graph structures. In this work, we propose uGrapher, a unified interface that achieves general high performance for different graph operators and datasets. The existing GNN frameworks can easily integrate our design for its simple and unified API. We take a principled approach that decouples a graph operator’s computation and schedule to achieve that. We first build a GNN-specific operator abstraction that incorporates the semantics of graph tensors and graph loops. We explore various schedule strategies based on the abstraction that can balance the well-established trade-off relationship between parallelism, locality, and efficiency. Our evaluation shows that uGrapher can bring up to 29.1× (3.5× on average) performance improvement over the state-of-the-art baselines on two studied NVIDIA GPUs.

Topics & Concepts

Computer scienceLocalityGraphTheoretical computer scienceGraph rewritingAbstractionLocality of referenceComputationOperator (biology)Parallel computingProgramming languageCacheEpistemologyTranscription factorGeneLinguisticsChemistryBiochemistryPhilosophyRepressorGraph Theory and AlgorithmsAdvanced Graph Neural NetworksParallel Computing and Optimization Techniques