Optimizing Sparse Matrix Multiplications for Graph Neural Networks
Not on the map. Why?
Abstract (arXiv)
Graph neural networks (GNNs) are emerging as a powerful technique for modeling graph structures. Due to the sparsity of real-world graph data, GNN performance is limited by extensive sparse matrix multiplication (SpMM) operations involved in computation. While the right sparse matrix storage format varies across input data, existing deep learning frameworks employ a single, static storage format, leaving much room for improvement. This paper investigates how the choice of sparse matrix storage formats affect the GNN performance. We observe that choosing a suitable sparse matrix storage format can significantly improve the GNN training performance, but the right format depends on the input workloads and can change as the GNN iterates over the input graph. We then develop a predictive model to dynamically choose a sparse matrix storage format to be used by a GNN layer based on the input matrices. Our model is first trained offline using training matrix samples, and the trained model can be applied to any input matrix and GNN kernels with SpMM computation. We implement our approach on top of PyTorch and apply it to 5 representative GNN models running on a multi-core CPU using real-life and synthetic datasets. Experimental results show that our approach gives an average speedup of 1.17x (up to 3x) for GNN running time.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 16 of its 46 references that are in the map. First posted on arXiv 30 Oct 2021.
Builds on
16 of 46 references.
References · 16
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
- 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,571
- 2017Deep Gaussian Embedding of Graphs: Unsupervised Inductive Learning via Rankingcited by 332
- 2019Deep Graph Library: A Graph-Centric, Highly-Performant Package for Graph Neural Networkscited by 241
- 2017A Survey on Network Embeddingcited by 142
- 2019GNN-FiLM: Graph Neural Networks with Feature-wise Linear Modulationcited by 75
4 more
- 2019Cross-lingual Knowledge Graph Alignment via Graph Matching Neural Networkcited by 68
- 2018Machine Learning in Compiler Optimisationcited by 13
- 2020Optimizing Streaming Parallelism on Heterogeneous Many-Core Architectures: A Machine Learning Based Approachcited by 2
- 2019Characterizing Scalability of Sparse Matrix-Vector Multiplications on Phytium FT-2000+ Many-corescited by 1
Built on by
Citing papers per year: 2022: 2; 2023: 1; 2024: 2; 2025: 1.
6 papers.
- 2022Parallel and Distributed Graph Neural Networks: An In-Depth Concurrency Analysiscited by 29
- 2022Dynamic GPU Energy Optimization for Machine Learning Training Workloadscited by 12
- 2024Two Heads Are Better Than One: Boosting Graph Sparse Training via Semantic and Topological Awarenesscited by 10
- 2025PEARL: Preconditioner Enhancement through Actor-critic Reinforcement Learningcited by 2
- 2023SENSEi: Input-Sensitive Compilation for Accelerating GNNscited by 1
- 2024iSpLib: A Library for Accelerating Graph Neural Networks using Auto-tuned Sparse Operationscited by 1
- 2025PEARL: Preconditioner Enhancement through Actor-critic Reinforcement Learning18 Jan 2025
- 2024iSpLib: A Library for Accelerating Graph Neural Networks using Auto-tuned Sparse Operations21 Mar 2024
- 2024Two Heads Are Better Than One: Boosting Graph Sparse Training via Semantic and Topological Awareness2 Feb 2024
- 2023SENSEi: Input-Sensitive Compilation for Accelerating GNNs27 Jun 2023
- 2022Parallel and Distributed Graph Neural Networks: An In-Depth Concurrency Analysis19 May 2022
- 2022Dynamic GPU Energy Optimization for Machine Learning Training Workloads5 Jan 2022