Post-training Quantization for Neural Networks with Provable Guarantees

量化(信号处理) 计算机科学 人工神经网络 卷积神经网络 二进制数 算法 计算 深层神经网络 均方误差 人工智能 数学 算术 统计
作者
Jinjie Zhang,Yong‐Gui Zhou,Rayan Saab
出处
期刊:SIAM journal on mathematics of data science [Society for Industrial and Applied Mathematics]
卷期号:5 (2): 373-399 被引量:4
标识
DOI:10.1137/22m1511709
摘要

While neural networks have been remarkably successful in a wide array of applications, implementing them in resource-constrained hardware remains an area of intense research. By replacing the weights of a neural network with quantized (e.g., 4-bit, or binary) counterparts, massive savings in computation cost, memory, and power consumption are attained. To that end, we generalize a post-training neural network quantization method, GPFQ, that is based on a greedy path-following mechanism. Among other things, we propose modifications to promote sparsity of the weights, and rigorously analyze the associated error. Additionally, our error analysis expands the results of previous work on GPFQ to handle general quantization alphabets, showing that for quantizing a single-layer network, the relative square error essentially decays linearly in the number of weights, i.e., level of overparametrization. Our result holds across a range of input distributions and for both fully connected and convolutional architectures thereby also extending previous results. To empirically evaluate the method, we quantize several common architectures with few bits per weight, and test them on ImageNet, showing only minor loss of accuracy compared to unquantized models. We also demonstrate that standard modifications, such as bias correction and mixed precision quantization, further improve accuracy.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
领导范儿应助Ninest采纳,获得10
1秒前
1秒前
火柴盒完成签到,获得积分10
2秒前
caca发布了新的文献求助20
3秒前
丁一发布了新的文献求助30
3秒前
3秒前
思源应助sxd20103316采纳,获得10
3秒前
顾矜应助积极行天采纳,获得10
4秒前
5秒前
可青发布了新的文献求助10
6秒前
ll完成签到,获得积分10
7秒前
zzy发布了新的文献求助10
7秒前
8秒前
cf关注了科研通微信公众号
8秒前
风笑发布了新的文献求助10
9秒前
momo19发布了新的文献求助10
10秒前
赘婿应助yesterdayffy采纳,获得10
13秒前
14秒前
shuo发布了新的文献求助10
14秒前
pluto应助疯狂的逍遥采纳,获得10
15秒前
16秒前
djbj2022发布了新的文献求助80
16秒前
18秒前
向阳生长完成签到,获得积分10
18秒前
21秒前
momo19完成签到,获得积分10
22秒前
虚心的冰枫完成签到,获得积分20
22秒前
22秒前
zhan发布了新的文献求助10
24秒前
26秒前
完美世界应助ling采纳,获得10
26秒前
梦天完成签到,获得积分10
26秒前
27秒前
27秒前
Akim应助欢呼傲云采纳,获得10
27秒前
28秒前
圆圆发布了新的文献求助10
30秒前
30秒前
ty完成签到 ,获得积分10
33秒前
33秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
An Introduction to Foreign Language Learning and Teaching 750
China Pluperfect I: Epistemology of Past and Outside in Chinese Art 520
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
What is the Future of Psychotherapy in Digital Age? Technology, AI Bots, and Psychotherapy after Covid 444
Synthesis of P-Chiral Phosphine Ligands and Their Applications in Asymmetric Catalysis 400
Management and the Arts 310
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7631332
求助须知:如何正确求助?哪些是违规求助? 9205711
关于积分的说明 19742798
捐赠科研通 7200696
什么是DOI,文献DOI怎么找? 3274590
关于科研通互助平台的介绍 2436554
邀请新用户注册赠送积分活动 2271188