SSpMV: A Sparsity-aware SpMV Framework Empowered by Multimodal Machine Learning
Sparse Matrix-Vector Multiplication (SpMV) is an essential sparse operation in scientific computing and artificial intelligence. Efficiently adapting SpMV algorithms to diverse matrices and architectures requires a framework capable of accurately recognizing sparse patterns and selecting the optimal implementation. In this work, we introduce Sparsity-aware SpMV (SSpMV), a framework that integrates expert-designed features with multimodal representations to adaptively predict the best-performing algorithm and parameters. For this purpose, we design a multimodal neural network called MM-Adapter, to capture diverse modalities to represent the computational features of SpMV. Experimental results demonstrate that MMAdapter achieves the highest accuracy of $81.05 \%$, outperforming existing SpMV prediction models. Furthermore, SSpMV consistently delivers substantial performance improvements over state-of-the-art sparse libraries across various multi-core platforms.
Authors
- Chubo Liu (ORCID: https://orcid.org/0000-0002-2372-6715)
- Joey Tianyi Zhou (ORCID: https://orcid.org/0000-0002-4675-7055)
- Kenli Li (ORCID: https://orcid.org/0000-0002-2635-7716)
- Shengle Lin (ORCID: https://orcid.org/0000-0003-3329-0924)
- Wangdong Yang
- Yan Ding (ORCID: https://orcid.org/0000-0001-6956-9260)
Institutions
- Agency for Science, Technology and Research (SG)
- Hunan University (CN)
Publication Details
- Published
- 2025-06-22
- DOI
- https://doi.org/10.1109/dac63849.2025.11132896
- Primary Topic
- Virology and Viral Diseases
- Type
- article
- Field-Weighted Citation Impact
- 0.00