Incremental Network Quantization: Towards Lossless CNNs with Low-Precision Weights

作者
Aojun Zhou,Anbang Yao,Yiwen Guo,Lin Xu,Yurong Chen
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:486
标识
DOI:10.48550/arxiv.1702.03044
摘要

This paper presents incremental network quantization (INQ), a novel method, targeting to efficiently convert any pre-trained full-precision convolutional neural network (CNN) model into a low-precision version whose weights are constrained to be either powers of two or zero. Unlike existing methods which are struggled in noticeable accuracy loss, our INQ has the potential to resolve this issue, as benefiting from two innovations. On one hand, we introduce three interdependent operations, namely weight partition, group-wise quantization and re-training. A well-proven measure is employed to divide the weights in each layer of a pre-trained CNN model into two disjoint groups. The weights in the first group are responsible to form a low-precision base, thus they are quantized by a variable-length encoding method. The weights in the other group are responsible to compensate for the accuracy loss from the quantization, thus they are the ones to be re-trained. On the other hand, these three operations are repeated on the latest re-trained group in an iterative manner until all the weights are converted into low-precision ones, acting as an incremental network quantization and accuracy enhancement procedure. Extensive experiments on the ImageNet classification task using almost all known deep CNN architectures including AlexNet, VGG-16, GoogleNet and ResNets well testify the efficacy of the proposed method. Specifically, at 5-bit quantization, our models have improved accuracy than the 32-bit floating-point references. Taking ResNet-18 as an example, we further show that our quantized models with 4-bit, 3-bit and 2-bit ternary weights have improved or very similar accuracy against its 32-bit floating-point baseline. Besides, impressive results with the combination of network pruning and INQ are also reported. The code is available at https://github.com/Zhouaojun/Incremental-Network-Quantization.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
XX的应助被YYY采纳,获得10
刚刚
方园发布了新的文献求助10
刚刚
1秒前
行家AAA完成签到,获得积分10
1秒前
3秒前
3秒前
起点完成签到,获得积分10
3秒前
万嘉俊发布了新的文献求助10
4秒前
王蕴伟完成签到,获得积分10
4秒前
4秒前
5秒前
毅逸完成签到,获得积分10
5秒前
6秒前
wang发布了新的文献求助10
6秒前
纯纯粹粹完成签到,获得积分10
8秒前
Skywings发布了新的文献求助10
9秒前
10秒前
小羊发布了新的文献求助10
10秒前
10秒前
Cattledog发布了新的文献求助10
10秒前
oasis发布了新的文献求助10
11秒前
xx完成签到,获得积分10
11秒前
华仔的应助被木子采纳,获得10
11秒前
怕黑晓亦完成签到,获得积分10
11秒前
12秒前
钱笑发布了新的文献求助10
15秒前
78888发布了新的文献求助10
15秒前
15秒前
17秒前
Yahooo发布了新的文献求助20
18秒前
小二郎的应助被科研通管家采纳,获得10
19秒前
bkagyin的应助被科研通管家采纳,获得10
19秒前
CipherSage的应助被科研通管家采纳,获得10
19秒前
天地一体完成签到,获得积分0
19秒前
19秒前
研友_VZG7GZ的应助被科研通管家采纳,获得10
19秒前
慕青的应助被科研通管家采纳,获得10
19秒前
JamesPei的应助被科研通管家采纳,获得10
19秒前
Orange的应助被科研通管家采纳,获得10
19秒前
李健的应助被科研通管家采纳,获得10
20秒前
高分求助中
(应助此贴封号)通过应助OA文献获取积分 10000
Rosenblum, Global Change Biology 800
The Dawn of Philology 520
Organizational Behavior 510
Production Logging: Theoretical and Interpretive Elements 400
A primer on partial least squares structural equation modeling (PLS-SEM) (4th ed.) 310
中国器官捐献和移植发展报告(2024) 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 计算机科学 工程类 纳米技术 有机化学 化学工程 内科学 物理 生物化学 复合材料 催化作用 细胞生物学 人工智能 心理学 无机化学 基因 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 7822039
求助须知:如何正确求助?哪些是违规求助? 9348887
关于积分的说明 20550137
捐赠科研通 7414745
什么是DOI,文献DOI怎么找? 3333174
关于科研通互助平台的介绍 2479110
邀请新用户注册赠送积分活动 2353586