arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1810.13329cs.NEcs.AIcs.LG
收藏

基于广义Gamma分布的卷积神经网络Quantization

Convolutional Neural Network Quantization using Generalized Gamma Distribution

Samsung Electronics(三星电子)

Doyun Kim, Han Young Yim, Sanghyuck Ha, Changgwun Lee, Inyup Kang

摘要:

随着使用卷积神经网络(CNN)模型的边缘应用的增长,有必要引入专用硬件加速器,其中网络参数和特征图数据以有限的精度表示。在本文中,我们提出了一种新的量化算法的硬件加速器的能源效率的部署。对于权重和偏置,确定小数部分的最佳比特长度,使得量化误差在它们的分布上最小化。对于特征映射数据,利用广义伽马分布(GGD)对样本分布进行近似,并通过GGD的渐近封闭形式求解得到最优量化步长。所提出的量化算法具有比先前针对CNN提出的其他量化方案更高的信号量化噪声比(SQNR),并且甚至可以通过调整量化参数来进一步改进,从而在功耗和内存带宽方面有效地实现CNN的硬件加速器。

英文摘要:

As edge applications using convolutional neural networks (CNN) models grow, it is becoming necessary to introduce dedicated hardware accelerators in which network parameters and feature-map data are represented with limited precision. In this paper we propose a novel quantization algorithm for energy-efficient deployment of the hardware accelerators. For weights and biases, the optimal bit length of the fractional part is determined so that the quantization error is minimized over their distribution. For feature-map data, meanwhile, their sample distribution is well approximated with the generalized gamma distribution (GGD), and accordingly the optimal quantization step size can be obtained through the asymptotical closed form solution of GGD. The proposed quantization algorithm has a higher signal-to-quantization-noise ratio (SQNR) than other quantization schemes previously proposed for CNNs, and even can be more improved by tuning the quantization parameters, resulting in efficient implementation of the hardware accelerators for CNNs in terms of power consumption and memory bandwidth.

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

↑