Misam: Using ML in Dataflow Selection of Sparse-Sparse Matrix Multiplication
Sanjali Yadav, Bahar Asgari

TL;DR
This paper introduces a machine learning approach to dynamically select optimal dataflow schemes for sparse matrix multiplication, significantly improving performance over traditional heuristics in diverse sparsity scenarios.
Contribution
It proposes ML-based methods, including decision trees and deep reinforcement learning, for adaptive dataflow selection in SpGEMM hardware accelerators, outperforming heuristic approaches.
Findings
ML methods achieve up to 28x performance gains.
Decision trees and reinforcement learning effectively adapt to different sparsity patterns.
ML-based selection surpasses traditional heuristic methods.
Abstract
Sparse matrix-matrix multiplication (SpGEMM) is a critical operation in numerous fields, including scientific computing, graph analytics, and deep learning. These applications exploit the sparsity of matrices to reduce storage and computational demands. However, the irregular structure of sparse matrices poses significant challenges for performance optimization. Traditional hardware accelerators are tailored for specific sparsity patterns with fixed dataflow schemes - inner, outer, and row-wise but often perform suboptimally when the actual sparsity deviates from these predetermined patterns. As the use of SpGEMM expands across various domains, each with distinct sparsity characteristics, the demand for hardware accelerators that can efficiently handle a range of sparsity patterns is increasing. This paper presents a machine learning based approach for adaptively selecting the most…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed and Parallel Computing Systems · Parallel Computing and Optimization Techniques
