arrow
返回

Stabilized activation scale estimation for precise Post-Training Quantization

delete2024-02-01
delete0
PRE
AI
Z
Zhenyang Hao
X
Xinggang Wang *
J
Jiawei Liu
Z
Zhihang Yuan
D
Dawei Yang
刘
刘文予 (Wenyu Liu)
DOI:10.1016/j.neucom.2023.127120delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
In recent years, there have been more and more studies on Post-Training Quantization (PTQ). Many outstanding works have emerged, which has greatly promoted the availability of PTQ methods. However, in terms of low-bit quantization, there is still a wide gap between PTQ and the current state-of-the-art Quantization Aware Training (QAT) methods. In this work, we find that the current way of obtaining the activation scale is not completely reasonable in PTQ, which leads to the fact that the weight cannot be well adapted to the biased quantized activation during inference. Based on experiments and analysis, we propose a method called StablePTQ. It obtains a stable activation scale and mixes rich input into the block reconstruction to achieve an improving quantization accuracy. StablePTQ achieves remarkable improvements in several different bit quantization especially W2A4, and can be applied to other quantization algorithms as a plug-and-play approach. The source code of StablePTQ is avaiable at https://github.com/hustvl/StablePTQ.
Keyword:
Post-training quantization
Exponential moving average
Mixed activation

期刊

Neurocomputing 封面图
Neurocomputing
IF:
6.5
论文数:
2.5W
被引数:
6.5W

机构

暂无机构信息
引用论文

引用论文

Loss aware post-training quantization损失感知训练后量化
err2021-10-01
err54
errOAAI
errNahshan, Yury; Chmiel, Brian; Baskin, Chaim; Zheltonozhskii, Evgenii; Banner, Ron; Bronstein, Alex M.; Mendelson, Avi
err分享
err收藏
err分享
err收藏
Nosocomial Infections Due to Multidrug-ResistantPseudomonas aeruginosa: Epidemiology and Treatment Options
err2005-10-01
err0
errOAAI
errMarilee D. Obritsch; Douglas N. Fish; Robert MacLaren; Rose Jung
err分享
err收藏