Heuristic Adaptability to Input Dynamics for SpMM on GPUs
Not on the map. Why?
Abstract (arXiv)
Sparse Matrix-Matrix Multiplication (SpMM) has served as fundamental components in various domains. Many previous studies exploit GPUs for SpMM acceleration because GPUs provide high bandwidth and parallelism. We point out that a static design does not always improve the performance of SpMM on different input data (e.g., >85% performance loss with a single algorithm). In this paper, we consider the challenge of input dynamics from a novel auto-tuning perspective, while following issues remain to be solved: (1) Orthogonal design principles considering sparsity. Orthogonal design principles for such a sparse problem should be extracted to form different algorithms, and further used for performance tuning. (2) Nontrivial implementations in the algorithm space. Combining orthogonal design principles to create new algorithms needs to tackle with new challenges like thread race handling. (3) Heuristic adaptability to input dynamics. The heuristic adaptability is required to dynamically optimize code for input dynamics. To tackle these challenges, we first propose a novel three-loop model to extract orthogonal design principles for SpMM on GPUs. The model not only covers previous SpMM designs, but also comes up with new designs absent from previous studies. We propose techniques like conditional reduction to implement algorithms missing in previous studies. We further propose DA-SpMM, a Data-Aware heuristic GPU kernel for SpMM. DA-SpMM adaptively optimizes code considering input dynamics. Extensive experimental results show that, DA-SpMM achieves 1.26x~1.37x speedup compared with the best NVIDIA cuSPARSE algorithm on average, and brings up to 5.59x end-to-end speedup to applications like Graph Neural Networks.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 17 Feb 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 2; 2025: 0; 2026: 1.
6 papers.
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learningcited by 47
- 2024SPLAT: A framework for optimised GPU code-generation for SParse reguLar ATtentioncited by 5
- 2023Tango: rethinking quantization for graph neural network training on GPUscited by 4
- 2023Online Adaptive Mahalanobis Distance Estimationcited by 0
- 2024GeoT: Tensor Centric Library for Graph Neural Network via Efficient Segment Reduction on GPUcited by 0
- 2026Accelerating GPU Inference of Large Language Models with Moderately Unstructured Sparse Weight Matricescited by 0
- 2026Accelerating GPU Inference of Large Language Models with Moderately Unstructured Sparse Weight Matrices13 Jun 2026
- 2024SPLAT: A framework for optimised GPU code-generation for SParse reguLar ATtention23 Jul 2024
- 2024GeoT: Tensor Centric Library for Graph Neural Network via Efficient Segment Reduction on GPU3 Apr 2024
- 2023Online Adaptive Mahalanobis Distance Estimation2 Sep 2023
- 2023Tango: rethinking quantization for graph neural network training on GPUs2 Aug 2023
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learning11 Jul 2022