Improving Extreme Low-Bit Quantization With Soft Threshold

量化(信号处理) 算法 数学 舍入 三元运算 计算机科学 离散数学 算术 操作系统 程序设计语言
作者
Weixiang Xu,Fanrong Li,Yingying Jiang,A Yong,Xiangyu He,Peisong Wang,Jian Cheng
出处
期刊:IEEE Transactions on Circuits and Systems for Video Technology [Institute of Electrical and Electronics Engineers]
卷期号:33 (4): 1549-1563 被引量:27
标识
DOI:10.1109/tcsvt.2022.3216389
摘要

Deep neural networks executing with low precision at inference time can gain acceleration and compression advantages over their high-precision counterparts, but need to overcome the challenge of accuracy degeneration as the bit-width decreases. This work focuses on under 4-bit quantization that has a significant accuracy degeneration. We start with ternarization, a balance between efficiency and accuracy that quantizes both weights and activations into ternary values. We find that the hard threshold $\Delta $ introduced in previous ternary networks for determining quantization intervals and the suboptimal solution of $\Delta $ limit the performance of the ternary model. To alleviate it, we present Soft Threshold Ternary Networks (STTN), which enables the model to automatically determine ternarized values instead of depending on a hard threshold. Based on it, we further generalize the idea of soft threshold from ternarization to arbitrary bit-width, named Soft Threshold Quantized Networks (STQN). We observe that previous quantization relies on the rounding-to-nearest function, constraining the quantization solution space and leading to a significant accuracy degradation, especially in low-bit ( $\leq3$ -bits) quantization. Instead of relying on the traditional rounding-to-nearest function, STQN is able to determine quantization intervals by itself adaptively. Accuracy experiments on image classification, object detection and instance segmentation, as well as efficiency experiments on field-programmable gate array (FPGA) demonstrate that the proposed framework can achieve a prominent tradeoff between accuracy and efficiency. Code is available at: https://github.com/WeixiangXu/STTN .
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Rr发布了新的文献求助10
刚刚
开心枣枣完成签到 ,获得积分10
1秒前
营长完成签到 ,获得积分10
1秒前
orixero应助王帅崽采纳,获得10
2秒前
无辜的安蕾完成签到 ,获得积分10
2秒前
3秒前
白熊爱吃冰淇淋完成签到 ,获得积分10
4秒前
爱大美完成签到,获得积分10
4秒前
4秒前
吴悦完成签到,获得积分10
5秒前
2211650110发布了新的文献求助10
6秒前
6秒前
7秒前
爱大美发布了新的文献求助10
7秒前
lzx完成签到,获得积分10
7秒前
7秒前
7秒前
dddd发布了新的文献求助10
8秒前
lyz123完成签到,获得积分10
9秒前
11秒前
12秒前
12秒前
13秒前
13秒前
Ov5发布了新的文献求助10
13秒前
雪碧完成签到 ,获得积分10
14秒前
深情安青应助scimaker采纳,获得10
14秒前
zshjwk18完成签到,获得积分10
16秒前
小蘑菇应助健壮的凡阳采纳,获得10
16秒前
打打应助icy采纳,获得10
16秒前
万能图书馆应助2211650110采纳,获得10
16秒前
17秒前
18秒前
英吉利25发布了新的文献求助10
18秒前
19秒前
853225598完成签到,获得积分10
21秒前
6a完成签到 ,获得积分10
21秒前
22秒前
王帅崽发布了新的文献求助10
23秒前
23秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
HYDROLYSE ACIDE DE QUELQUES DIOXASPIROCYCLANES 1314
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Navigating Normative Orders. Interdisciplinary Perspectives 800
1 Peter and Christ's Descent to the Dead in Its Early Christian Reception 700
Organizational Behavior 510
Management and the Arts 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7749370
求助须知:如何正确求助?哪些是违规求助? 9297188
关于积分的说明 20239045
捐赠科研通 7330737
什么是DOI,文献DOI怎么找? 3309129
关于科研通互助平台的介绍 2460794
邀请新用户注册赠送积分活动 2321412