Fast Entropy Decoding for Sparse MVM on GPUs
Emil Sch\"atzle, Tommaso Pegolotti, Markus P\"uschel
Key points
From the paper's conclusion- We present a novel, practical approach to speed up sparse matrix-vector multiplication (SpMVM) on GPUs.
Abstract
We present a novel, practical approach to speed up sparse matrix-vector multiplication (SpMVM) on GPUs. The novel key idea is to apply lossless entropy coding to further compress the sparse matrix when stored in one of the commonly supported formats. Our method is based on dtANS, our new lossless compression method that improves the entropy coding technique of asymmetric numeral systems (ANS) specifically for fast parallel GPU decoding when used in tandem with SpMVM. We apply dtANS on the widely used CSR format and present extensive benchmarks on the SuiteSparse collection of matrices against the state-of-the-art cuSPARSE library. On matrices with at least 2^(15) entries and at least 10 entries per row on average, our compression reduces the matrix size over the smallest cuSPARSE format (CSR, COO and SELL) in almost all cases and up to 11.77 times. Further, we achieve an SpMVM speedup for the majority of matrices with at least 2^(25) nonzero entries. The best speedup is 3.48x. We also show that we can improve over the AI-based multi-format AlphaSparse in an experiment that is limited due to its extreme computation overhead. We provide our code as an open source C++/CUDA header library, which includes both compression and multiplication kernels.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Demystifying SpMV Performance: Bottleneck Characterization and Open ChallengesACM Transactions on Architecture and Code Optimization · 2026
- CB-Sparse:A Cache-Friendly Data Aggregating Algorithm for Block-Based Sparse Matrix Multiplication on GPUsACM Transactions on Architecture and Code Optimization · 2026
- Hybrid Compression for Memory-Efficient Matrix-Vector MultiplicationarXiv · 2026
- Scaling Fourier-Based Sparse Matrix Analysis on GPUsarXiv · 2026
- Rethinking Sparse Formats for RISC-V: A Hierarchical Approach to High-Performance SpMVarXiv · 2026
- SUSpMV: A High Frequency Sparse Matrix Vector Multiplier on HBM Enabled FPGA written in SUSarXiv · 2026