arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1906.03180eess.SPeess.IV
收藏

CompRRAE:基于随机存取存储器的卷积神经网络加速器,通过激活估计减少计算量

CompRRAE: RRAM-based Convolutional Neural Network Accelerator with Reduced Computations through a Runtime Activation Estimation

Xizi Chen, Jingyang Zhu, Jingbo Jiang, Chi-Ying Tsui

摘要:

最近,电阻式RAM(RRAM)交叉开关已被用于卷积神经网络(CNN)加速器的设计中,以解决存储墙问题。然而,在推理阶段期间在交叉杆处执行的密集的乘-累加计算(MAC)仍然是进一步提高能量效率和吞吐量的瓶颈。在这项工作中,我们探索了几种方法来减少基于RRAM的CNN加速器的计算。首先,利用广泛采用的整流线性单元产生的输出稀疏性,并且通过对负输出激活的早期检测来绕过计算的很大一部分。第二,提出了一种自适应近似,当剩余计算的部分结果的总和被认为是在一定范围内的中间累积结果,从而具有微不足道的贡献的推断提前终止MAC。为了确定这些冗余的计算,一种新的运行时估计的最大值和最小值的每个输出激活的开发和使用在MAC操作。实验结果表明,在推理过程中,约70%的计算量可以减少,而精度损失小于0.2%。结果,与最先进的基于RRAM的加速器相比,能量效率和吞吐量分别提高了2.9倍和2.8倍以上。

英文摘要:

Recently Resistive-RAM (RRAM) crossbar has been used in the design of the accelerator of convolutional neural networks (CNNs) to solve the memory wall issue. However, the intensive multiply-accumulate computations (MACs) executed at the crossbars during the inference phase are still the bottleneck for the further improvement of energy efficiency and throughput. In this work, we explore several methods to reduce the computations for the RRAM-based CNN accelerators. First, the output sparsity resulting from the widely employed Rectified Linear Unit is exploited, and a significant portion of computations are bypassed through an early detection of the negative output activations. Second, an adaptive approximation is proposed to terminate the MAC early when the sum of the partial results of the remaining computations is considered to be within a certain range of the intermediate accumulated result and thus has an insignificant contribution to the inference. In order to determine these redundant computations, a novel runtime estimation on the maximum and minimum values of each output activation is developed and used during the MAC operation. Experimental results show that around 70% of the computations can be reduced during the inference with a negligible accuracy loss smaller than 0.2%. As a result, the energy efficiency and the throughput are improved by over 2.9 and 2.8 times, respectively, compared with the state-of-the-art RRAM-based accelerators.

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

↑