CoNLoCNN:利用相关性和非均匀Quantization实现节能低精度深度卷积神经网络
CoNLoCNN: Exploiting Correlation and Non-Uniform Quantization for Energy-Efficient Low-precision Deep Convolutional Neural Networks
摘要:
在当今智能网络物理系统的时代,深度神经网络(DNN)由于其在复杂的现实世界应用中的最先进性能而变得无处不在。这些网络的高计算复杂性转化为增加的能耗,是在资源受限系统中部署大型DNN的最大障碍。通过训练后量化实现的定点(FP)实现通常用于减少这些网络的能耗。然而,FP中的均匀量化间隔将数据结构的比特宽度限制为大值,这是由于需要以足够的分辨率表示大多数数字并避免高量化误差。在本文中,我们利用了关键的见解,即(在大多数情况下)DNN权重和激活大多集中在零附近,只有少数具有较大的幅度。我们提出了CoNLoCNN,这是一种通过利用以下内容实现节能低精度深度卷积神经网络推理的框架:(1)权重的非均匀量化,从而简化复杂的乘法运算;以及(2)激活值之间的相关性,从而能够以低成本部分补偿量化误差,而无需任何运行时开销。为了从非均匀量化中显著受益,我们还提出了一种新的数据表示格式,编码低精度二进制有符号数字,以压缩权重的位宽,同时确保直接使用编码权重进行处理,使用新的乘法和累加(MAC)单元设计。
英文摘要:
In today's era of smart cyber-physical systems, Deep Neural Networks (DNNs) have become ubiquitous due to their state-of-the-art performance in complex real-world applications. The high computational complexity of these networks, which translates to increased energy consumption, is the foremost obstacle towards deploying large DNNs in resource-constrained systems. Fixed-Point (FP) implementations achieved through post-training quantization are commonly used to curtail the energy consumption of these networks. However, the uniform quantization intervals in FP restrict the bit-width of data structures to large values due to the need to represent most of the numbers with sufficient resolution and avoid high quantization errors. In this paper, we leverage the key insight that (in most of the scenarios) DNN weights and activations are mostly concentrated near zero and only a few of them have large magnitudes. We propose CoNLoCNN, a framework to enable energy-efficient low-precision deep convolutional neural network inference by exploiting: (1) non-uniform quantization of weights enabling simplification of complex multiplication operations; and (2) correlation between activation values enabling partial compensation of quantization errors at low cost without any run-time overheads. To significantly benefit from non-uniform quantization, we also propose a novel data representation format, Encoded Low-Precision Binary Signed Digit, to compress the bit-width of weights while ensuring direct use of the encoded weight for processing using a novel multiply-and-accumulate (MAC) unit design.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。