arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.16872cs.AR
收藏

一种支持高效多精度DNN推理的可扩展RISC-V向量处理器

A Scalable RISC-V Vector Processor Enabling Efficient Multi-Precision DNN Inference

Chuanning Wang, Chao Fang, Xiao Wu, Zhongfeng Wang, Jun Lin

AI总结:

针对RISC-V处理器部署多精度DNN的难题,提出了名为SPEED的可扩展RVV处理器,通过定制指令、参数化脉动阵列和混合数据流实现高效推理,在28nm工艺下性能与面积效率均优于同类开源处理器。

摘要:

RISC-V处理器由于精度支持受限、吞吐量不足以及数据流设计欠佳,在部署多精度深度神经网络(DNN)时面临巨大挑战。为解决这些问题,本文提出了一种名为SPEED的可扩展RISC-V向量(RVV)处理器,通过定制指令、硬件架构和数据流映射层面的创新实现高效的多精度DNN推理。首先,基于RVV扩展提出了专用的定制RISC-V指令,使SPEED能够对4位到16位的处理精度进行细粒度控制。其次,在可扩展模块中集成了参数化多精度脉动阵列单元,以提升并行处理能力和数据复用机会。最后,提出了一种适配不同卷积核和数据精度的混合多精度数据流策略,有效提高了数据利用率和计算效率。我们采用台积电(TSMC)28nm工艺对SPEED进行了综合。实验结果表明,在4位精度条件下,SPEED的峰值吞吐量达到287.41 GOPS,能效达到1335.79 GOPS/W。此外,与开创性的开源向量处理器Ara相比,SPEED在16位和8位精度条件下的面积效率分别提升了2.04倍和1.63倍,彰显了其在高效多精度DNN推理方面的巨大潜力。

英文摘要:

RISC-V processors encounter substantial challenges in deploying multi-precision deep neural networks (DNNs) due to their restricted precision support, constrained throughput, and suboptimal dataflow design. To tackle these challenges, a scalable RISC-V vector (RVV) processor, namely SPEED, is proposed to enable efficient multi-precision DNN inference by innovations from customized instructions, hardware architecture, and dataflow mapping. Firstly, dedicated customized RISC-V instructions are proposed based on RVV extensions, providing SPEED with fine-grained control over processing precision ranging from 4 to 16 bits. Secondly, a parameterized multi-precision systolic array unit is incorporated within the scalable module to enhance parallel processing capability and data reuse opportunities. Finally, a mixed multi-precision dataflow strategy, compatible with different convolution kernels and data precision, is proposed to effectively improve data utilization and computational efficiency. We perform synthesis of SPEED in TSMC 28nm technology. The experimental results demonstrate that SPEED achieves a peak throughput of 287.41 GOPS and an energy efficiency of 1335.79 GOPS/W at 4-bit precision condition, respectively. Moreover, when compared to the pioneer open-source vector processor Ara, SPEED provides an area efficiency improvement of 2.04$\times$ and 1.63$\times$ under 16-bit and 8-bit precision conditions, respectively, which shows SPEED's significant potential for efficient multi-precision DNN inference.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑