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

RISC-NN:使用RISC、NOT CISC作为神经网络硬件基础设施

RISC-NN: Use RISC, NOT CISC as Neural Network Hardware Infrastructure

Taoran Xiang, Lunkai Zhang, Shuqian An, Xiaochun Ye, Mingzhe Zhang, Yanhuan Liu, Mingyu Yan, Da Wang, Hao Zhang, Wenming Li, Ninghui Sun, Dongrui Fan

摘要:

神经网络(NN)已被证明是分析大数据的强大工具。然而,传统的CPU无法实现NN应用所需的性能和/或能效。因此,已经使用或设计了许多NN加速器来满足这些目标。这些加速器都分为三类:GPGPU,ASIC NN加速器和CISC NN加速器。虽然CISC NN加速器可以实现比GPGPU小得多的内存占用,从而提高能源效率,但由于其CISC架构继承的可编程性差,它们仍然无法提供与ASIC NN加速器相同的数据重用优化水平。我们认为,对于NN加速器,RISC是比CISC更好的设计选择,通用处理器也是如此。我们提出了RISC-NN,一种新的众核RISC为基础的神经网络加速器,实现了高表现力和高并行性,具有较强的可编程性和低的控制硬件成本。我们表明,RISC-NN可以实现最先进的CISC NN加速器的所有必要指令;同时,RISC-NN设法实现高级优化,例如多级数据重用和支持以前只存在于ASIC NN加速器中的稀疏NN应用。实验结果表明,RISC-NN在各种NN应用中的平均性能效率是最先进的Nvidia TITAN Xp GPGPU的11.88倍。RISC-NN在CNN、MLP和LSTM应用中的平均性能效率分别是基于CISC的TPU的1.29倍、8.37倍和21.71倍。最后,RISC-NN可以实现额外的26.05%的性能提高和33.13%的能源减少后,应用修剪稀疏NN应用程序。

英文摘要:

Neural Networks (NN) have been proven to be powerful tools to analyze Big Data. However, traditional CPUs cannot achieve the desired performance and/or energy efficiency for NN applications. Therefore, numerous NN accelerators have been used or designed to meet these goals. These accelerators all fall into three categories: GPGPUs, ASIC NN Accelerators and CISC NN Accelerators. Though CISC NN Accelerators can achieve considerable smaller memory footprint than GPGPU thus improve energy efficiency; they still fail to provide same level of data reuse optimization achieved by ASIC NN Accelerators because of the inherited poor pragrammability of their CISC architecture. We argue that, for NN Accelerators, RISC is a better design choice than CISC, as is the case with general purpose processors. We propose RISC-NN, a novel many-core RISC-based NN accelerator that achieves high expressiveness and high parallelism and features strong programmability and low control-hardware costs. We show that, RISC-NN can implement all the necessary instructions of state-of-the-art CISC NN Accelerators; in the meantime, RISC-NN manages to achieve advanced optimization such as multiple-level data reuse and support for Sparse NN applications which previously only existed in ASIC NN Accelerators. Experiment results show that, RISC-NN achieves on average 11.88X performance efficiency compared with state-of-the-art Nvidia TITAN Xp GPGPU for various NN applications. RISC-NN also achieves on average 1.29X, 8.37X and 21.71X performance efficiency over CISC-based TPU in CNN, MLP and LSTM applications, respectively. Finally, RISC-NN can achieve additional 26.05% performance improvement and 33.13% energy reduction after applying pruning for Sparse NN applications.

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

↑