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

PULP-NN:在并行超低功耗RISC-V处理器上加速量化神经网络

PULP-NN: Accelerating Quantized Neural Networks on Parallel Ultra-Low-Power RISC-V Processors

Angelo Garofalo, Manuele Rusci, Francesco Conti, Davide Rossi, Luca Benini

摘要:

我们提出了PULP-NN,一个优化的计算库的并行超低功耗紧耦合集群的RISC-V处理器。PULP-NN的关键创新是一组用于量化神经网络(QNN)推理的内核,目标是字节和子字节数据类型,低至INT-1,针对最近深度神经网络推理中积极量化的趋势进行了调整。拟议的库利用了PULP RISC-V处理器中可用的数字信号处理(DSP)扩展和集群的并行性,在INT-8上实现了高达15.5 MAC/周期,并将性能提高了63倍,相对于在单个RISC-V内核上实现基线RV 32 IMC ISA的顺序实现。使用PULP-NN,八核集群上的CIFAR-10网络的时钟周期分别比当前最先进的ARM CMSIS-NN库少30倍和19.6倍,分别在STM32 L4和STM32 H7 MCU上运行。当在GAP-8处理器上运行时,所提出的库在最大频率下运行时,分别比节能MCU(如STM32 L4)和高端MCU(如STM32 H7)的执行性能高出36.8倍和7.45倍。GAP-8在最大效率工作点的能效比STM32 L4高14.1倍,比STM32 H7高39.5倍。

英文摘要:

We present PULP-NN, an optimized computing library for a parallel ultra-low-power tightly coupled cluster of RISC-V processors. The key innovation in PULP-NN is a set of kernels for Quantized Neural Network (QNN) inference, targeting byte and sub-byte data types, down to INT-1, tuned for the recent trend toward aggressive quantization in deep neural network inference. The proposed library exploits both the digital signal processing (DSP) extensions available in the PULP RISC-V processors and the cluster's parallelism, achieving up to 15.5 MACs/cycle on INT-8 and improving performance by up to 63x with respect to a sequential implementation on a single RISC-V core implementing the baseline RV32IMC ISA. Using PULP-NN, a CIFAR-10 network on an octa-core cluster runs in 30x and 19.6x less clock cycles than the current state-of-the-art ARM CMSIS-NN library, running on STM32L4 and STM32H7 MCUs, respectively. The proposed library, when running on GAP-8 processor, outperforms by 36.8x and by 7.45x the execution on energy efficient MCUs such as STM32L4 and high-end MCUs such as STM32H7 respectively, when operating at the maximum frequency. The energy efficiency on GAP-8 is 14.1x higher than STM32L4 and 39.5x higher than STM32H7, at the maximum efficiency operating point.

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

↑