SpMARD: A Sparse-Sparse Matrix Multiplication Accelerator with Reconfigurable Dataflow for DNN Workloads
Deep learning becomes increasingly popular, and its main workload is Sparse-Sparse Matrix Multiplication (SpMSpM). Most SpMSpM accelerators usually only support a single dataflow. Different dataflows have different performance in different computing environments. Therefore, the single-dataflow accelerator cannot maintain the highest performance in all environments. Compared with single-dataflow accelerators, multi-dataflow accelerators provide flexible options for different workloads and improve the overall performance. Flexagon, Sparm, and SPADA are state-of-the-art multi-dataflow accelerators. However, the computation process of Flexagon and Sparm is not fully pipelined, and SPADA cannot support inner product dataflow. Additionally, Flexagon, Sparm, and SPADA cannot switch dataflows quickly and accurately. Inspired by these observations, we present SpMARD, a SpMSpM accelerator with reconfigurable dataflow. The computation process of SpMARD is fully pipelined, and SpMARD can support six dataflow variants simultaneously. Through the design of a Two-stage Pipeline Adder Network (TPAN) and a Position-based Psum Array (PPA), SpMARD can execute element-level merging, which can hide the merging overhead. Through the quantitative analysis of dataflows, we implement a Dataflow Switcher (DSwitcher), which can switch dataflows more efficiently. For the SpMSpM workload, the performance (GOPS) of the SpMARD we proposed is 1.27 times that of Flexagon, 1.18 times that of Sparm, and 1.22 times that of SPADA.
Authors
- Lizhou Wu (ORCID: https://orcid.org/0000-0003-4439-7436)
- Yunping Zhao (ORCID: https://orcid.org/0000-0002-5600-3740)
- Zhuojun Chen (ORCID: https://orcid.org/0000-0003-0431-8852)
- Dongsheng Li (ORCID: https://orcid.org/0000-0001-9743-2034)
- Sheng Ma (ORCID: https://orcid.org/0000-0003-1710-4060)
- Tiejun Li (ORCID: https://orcid.org/0000-0003-1509-1761)
- Shengbai Luo (ORCID: https://orcid.org/0009-0007-5551-2897)
- Bo Wang (ORCID: https://orcid.org/0009-0004-9441-0509)
- Jianmin Zhang (ORCID: https://orcid.org/0000-0002-1008-4805)
Institutions
- Hunan University (CN)
- National University of Defense Technology (CN)
- Changsha University (CN)
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2025-08-04
- DOI
- https://doi.org/10.1145/3747847
- Primary Topic
- Advanced Memory and Neural Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00