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

弥合2位量化神经网络(QNN)的精度差距

Bridging the Accuracy Gap for 2-bit Quantized Neural Networks (QNN)

IBM Research AI(IBM研究院人工智能部门);Google(谷歌)

Jungwook Choi, Pierce I-Jen Chuang, Zhuo Wang, Swagath Venkataramani, Vijayalakshmi Srinivasan, Kailash Gopalakrishnan

摘要:

深度学习算法以显著的计算成本为代价来实现高分类精度。为了减少这种成本,最近几种量化方案已经引起了人们的注意,其中一些关注权重量化,而另一些关注量化激活。本文提出了新的技术,目标权重和激活量化分别导致在一个整体量化的神经网络(QNN)。激活量化技术,参数化限幅激活(PACT),使用在训练期间优化的激活限幅参数$α$来找到正确的量化尺度。权重量化方案,几何感知权重分箱(SAWB),基于权重分布的统计特性找到最小化量化误差的最佳缩放因子,而不需要穷举搜索。PACT和SAWB的结合产生了一个2位QNN,在一系列流行的模型和数据集上实现了最先进的分类精度(与全精度网络相当)。

英文摘要:

Deep learning algorithms achieve high classification accuracy at the expense of significant computation cost. In order to reduce this cost, several quantization schemes have gained attention recently with some focusing on weight quantization, and others focusing on quantizing activations. This paper proposes novel techniques that target weight and activation quantizations separately resulting in an overall quantized neural network (QNN). The activation quantization technique, PArameterized Clipping acTivation (PACT), uses an activation clipping parameter $α$ that is optimized during training to find the right quantization scale. The weight quantization scheme, statistics-aware weight binning (SAWB), finds the optimal scaling factor that minimizes the quantization error based on the statistical characteristics of the distribution of weights without the need for an exhaustive search. The combination of PACT and SAWB results in a 2-bit QNN that achieves state-of-the-art classification accuracy (comparable to full precision networks) across a range of popular models and datasets.

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

↑