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

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

Low Complexity Multiply Accumulate Unit for Weight-Sharing Convolutional Neural Networks

James Garland, David Gregg

摘要:

卷积神经网络(CNN)是用于处理图像、语音和视频数据的最成功的深度机器学习技术之一。CNN需要大量的处理能力和内存,这可能超过低功耗移动和嵌入式系统的资源。已经为CNN提出了几种硬件加速器的设计,CNN通常包含大量的乘法累加(MAC)单元。减少CNN加速器中的数据大小和存储器流量的一种方法是“权重共享”,其中将训练的CNN中的全范围值放入bin中,并且存储bin索引而不是原始权重值。在本文中,我们提出了一种新的MAC电路,利用权重共享CNN中的分箱。我们不是直接计算MAC,而是计算每个权重的频率并将其放入一个bin中。然后,我们在随后的乘法阶段计算累加值。这允许MAC电路中的硬件乘法器被加法器和选择逻辑所取代。实验表明,对于相同的时钟速度,我们的方法的结果在更少的门,更小的逻辑,并降低功耗。

英文摘要:

Convolutional Neural Networks (CNNs) are one of the most successful deep machine learning technologies for processing image, voice and video data. CNNs require large amounts of processing capacity and memory, which can exceed the resources of low power mobile and embedded systems. Several designs for hardware accelerators have been proposed for CNNs which typically contain large numbers of Multiply Accumulate (MAC) units. One approach to reducing data sizes and memory traffic in CNN accelerators is "weight sharing", where the full range of values in a trained CNN are put in bins and the bin index is stored instead of the original weight value. In this paper we propose a novel MAC circuit that exploits binning in weight-sharing CNNs. Rather than computing the MAC directly we instead count the frequency of each weight and place it in a bin. We then compute the accumulated value in a subsequent multiply phase. This allows hardware multipliers in the MAC circuit to be replaced with adders and selection logic. Experiments show that for the same clock speed our approach results in fewer gates, smaller logic, and reduced power.

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

↑