Hardware/Software Co-Design of RISC-V Extensions for Accelerating Sparse DNNs on FPGAs
Not on the map. Why?
Abstract (arXiv)
The customizability of RISC-V makes it an attractive choice for accelerating deep neural networks (DNNs). It can be achieved through instruction set extensions and corresponding custom functional units. Yet, efficiently exploiting these opportunities requires a hardware/software co-design approach in which the DNN model, software, and hardware are designed together. In this paper, we propose novel RISC-V extensions for accelerating DNN models containing semi-structured and unstructured sparsity. While the idea of accelerating structured and unstructured pruning is not new, our novel design offers various advantages over other designs. To exploit semi-structured sparsity, we take advantage of the fine-grained (bit-level) configurability of FPGAs and suggest reserving a few bits in a block of DNN weights to encode the information about sparsity in the succeeding blocks. The proposed custom functional unit utilizes this information to skip computations. To exploit unstructured sparsity, we propose a variable cycle sequential multiply-and-accumulate unit that performs only as many multiplications as the non-zero weights. Our implementation of unstructured and semi-structured pruning accelerators can provide speedups of up to a factor of 3 and 4, respectively. We then propose a combined design that can accelerate both types of sparsities, providing speedups of up to a factor of 5. Our designs consume a small amount of additional FPGA resources such that the resulting co-designs enable the acceleration of DNNs even on small FPGAs. We benchmark our designs on standard TinyML applications such as keyword spotting, image classification, and person detection.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 11 of its 28 references that are in the map. First posted on arXiv 28 Apr 2025.
Builds on
11 of 28 references.
References · 11
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 752
- 2020What is the State of Neural Network Pruning?cited by 583
- 2021Accelerating Sparse Deep Neural Networkscited by 223
- 2023A Survey on Deep Neural Network Pruning-Taxonomy, Comparison, Analysis, and Recommendationscited by 202
- 2020EasyQuant: Post-training Quantization via Scale Optimizationcited by 57
- 2019Visual Wake Words Datasetcited by 46
- 2020SparseRT: Accelerating Unstructured Sparsity on GPUs for Deep Learning Inferencecited by 30
- 2020Utilizing Explainable AI for Quantization and Pruning of Deep Neural Networkscited by 17
- 2023TinyML: Tools, Applications, Challenges, and Future Research Directionscited by 14
- 2023IndexMAC: A Custom RISC-V Vector Instruction to Accelerate Structured-Sparse Matrix Multiplicationscited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.