SC2024Top-tier venue
A Sparsity-Aware Distributed-Memory Algorithm for Sparse-Sparse Matrix Multiplication
Yuxi Hong, Aydin Buluç
Abstract
Multiplying two sparse matrices (SpGEMM) is a common computational primitive used in many areas including graph algorithms, bioinformatics, algebraic multigrid solvers, and randomized sketching. Distributed-memory parallel algorithms for SpGEMM have mainly focused on sparsity-oblivious approaches that use 2D and 3D partitioning. Sparsity-aware 1D algorithms can theoretically reduce communication by not fetching nonzeros of the sparse matrices that do not participate in the multiplication.
Here, we present a distributed-memory 1D SpGEMM algorithm and implementation. It uses MPI RDMA operations to mitigate the cost of packing/unpacking submatrices for communication, and it uses a block fetching strategy to avoid excessive finegrained messaging. Our results show that our 1D implementation outperforms state-of-the-art 2D and 3D implementations within CombBLAS for many configurations, inputs, and use cases, while remaining conceptually simpler.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4ec8958e-4e73-4a78-be1f-4a4a74733d8dCited by top-tier papers3
- KAMI: Communication-Avoiding General Matrix Multiplication within a Single GPUHemeng Wang, Yang Du, Sidu Li, Xiaowen Tian et al.SC 2025 · 4 citations
- Improving SpGEMM Performance Through Matrix-Reordering and Cluster-wise ComputationAbdullah Al Raqibul Islam, Helen Xu, Dong Dai, Aydin BuluçSC 2025 · 2 citations
- NetSparse: In-Network Acceleration of Distributed Sparse KernelsGerasimos Gerogiannis, Dimitrios Merkouriadis, Charles Block, Annus Zulfiqar et al.MICRO 2025 · 1 citation
Builds on1
Related papers
- Distributed-Memory Parallel Algorithms for Sparse Matrix and Sparse Tall-and-Skinny Matrix MultiplicationIsuru Ranawaka, Md Taufique Hussain, Charles Block, Gerasimos Gerogiannis et al.SC 2024 · 5 citations
- TileSpGEMM: a tiled algorithm for parallel sparse general matrix-matrix multiplication on GPUsYuyao Niu, Zhengyang Lu, Haonan Ji, Shuhui Song et al.PPoPP 2022 · 66 citations
- Two-Face: Combining Collective and One-Sided Communication for Efficient Distributed SpMMCharles Block, Gerasimos Gerogiannis, Charith Mendis, Ariful Azad et al.ASPLOS 2024 · 13 citations
- Efficient Execution of SpGEMM on Long Vector ArchitecturesValentin Le Fèvre, Marc CasasHPDC 2023 · 9 citations
- CA3DMM: A New Algorithm Based on a Unified View of Parallel Matrix MultiplicationHua Huang, Edmond ChowSC 2022 · 4 citations
