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

权值共享卷积神经网络的低复杂度多重累加单元

Low Complexity Multiply-Accumulate Units for Convolutional Neural Networks with Weight-Sharing

James Garland, David Gregg

摘要:

卷积神经网络(CNN)是用于图像、语音和视频处理的最成功的机器学习技术之一。CNN需要大量的处理能力和内存带宽。已经提出了用于CNN的硬件加速器,CNN通常包含大量的乘法累加(MAC)单元,其乘法器在集成电路(IC)门计数和功耗方面很大。已经提出了“权重共享”加速器,其中训练的CNN中的全部权重值被压缩并放入bin中,并且bin索引用于访问权重共享值。我们通过在权重共享的CNN中实现并行累积共享MAC(PASM)来降低CNN的功率和面积。PASM重新构建了MAC,以计算每个权重的频率并将其放置在一个bin中。在随后的乘法阶段中计算累加值,从而显著减少了CNN的门计数和功耗。在本文中,我们实现了PASM的重量共享的CNN卷积硬件加速器,并分析其有效性。实验表明,对于时钟速度为1GHz的45纳米ASIC工艺上实现的,我们的方法的结果在更少的门,更小的逻辑,并降低了功耗,只有轻微的延迟增加。我们还表明,与PASM CNN加速器相同的权重共享可以在资源受限的FPGA中实现,其中FPGA具有有限数量的数字信号处理器(DSP)单元来加速MAC操作。

英文摘要:

Convolutional neural networks (CNNs) are one of the most successful machine learning techniques for image, voice and video processing. CNNs require large amounts of processing capacity and memory bandwidth. Hardware accelerators have been proposed for CNNs which typically contain large numbers of multiply-accumulate (MAC) units, the multipliers of which are large in an integrated circuit (IC) gate count and power consumption. "Weight sharing" accelerators have been proposed where the full range of weight values in a trained CNN are compressed and put into bins and the bin index used to access the weight-shared value. We reduce power and area of the CNN by implementing parallel accumulate shared MAC (PASM) in a weight shared CNN. PASM re-architects the MAC to instead count the frequency of each weight and place it in a bin. The accumulated value is computed in a subsequent multiply phase, significantly reducing gate count and power consumption of the CNN. In this paper, we implement PASM in a weight-shared CNN convolution hardware accelerator and analyze its effectiveness. Experiments show that for a clock speed 1GHz implemented on a 45nm ASIC process our approach results in fewer gates, smaller logic, and reduced power with only a slight increase in latency. We also show that the same weight-shared-with-PASM CNN accelerator can be implemented in resource-constrained FPGAs, where the FPGA has limited numbers of digital signal processor (DSP) units to accelerate the MAC operations.

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

↑