ZeD: A Generalized Accelerator for Variably Sparse Matrix Computations in ML
Modern Machine Learning (ML) models employ sparsity to mitigate storage and computation costs; but it gives rise to irregular and unstructured sparse matrix operations that dominate the execution time and require specialized accelerators to meet the performance and energy targets. Contemporary sparse matrix accelerators, optimized for extreme sparsity, frequently fall short in addressing the variable and moderate degrees of sparsity prevalent in most ML models. Variable sparsity leads to inefficiency in the storage and processing of matrices. In response to this challenge, we propose an adaptive and generalized architecture design, ZeD, capable of accommodating the variably sparse matrix computations in ML models. Our innovative design integrates a bit-tree compression format and zero-detection hardware, resulting in highly efficient packing, storage, retrieval, and processing of sparse matrices. Furthermore, we propose a matrix row reorganization strategy based on sparsity similarity to substantially enhance memory reuse. Synthesis results of ZeD demonstrate a 3.2 × improvement in performance per area over state-of-the-art solutions across a spectrum of ML workloads characterized by wide-ranging sparsities.
Authors
- Zhenyu Bai (ORCID: https://orcid.org/0000-0003-1143-0762)
- Tulika Mitra (ORCID: https://orcid.org/0000-0003-4136-4188)
- Rohan Juneja (ORCID: https://orcid.org/0000-0002-6015-1084)
- Dhananjaya Wijerathne (ORCID: https://orcid.org/0000-0003-3181-2514)
- Pranav Dangi (ORCID: https://orcid.org/0009-0004-1339-6048)
Institutions
- National University of Singapore (SG)
Publication Details
- Published
- 2024-10-11
- DOI
- https://doi.org/10.1145/3656019.3689905
- Citations
- 3
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 1.47