arrow
返回

ShiftQuant: Toward Accurate and Efficient Sub-8-bit Integer Training

delete2025-01-01
delete0
PRE
AI
W
Wenjin Guo
L
Liu Donglai
W
Weiying Xie
Y
Yunsong Li
X
Xuefei Ning
Z
Zihan Meng
S
Shulin Zeng
J
Jie Lei
Z
Zhenman Fang
王喻 封面图
王喻 (Yu Wang)
DOI:10.1109/tcsvt.2025.3570707delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Neural network training is a memory- and compute-intensive task. Quantization, which enables low-bitwidth formats in training, can significantly mitigate the workload. To reduce quantization error, recent methods have developed new data formats and additional pre-processing operations on quantizers. However, it remains quite challenging to achieve high accuracy and efficiency simultaneously. In this paper, we explore sub-8-bit integer training from its essence of gradient descent optimization. Our integer training framework includes two components: ShiftQuant to realize accurate gradient estimation, and L1 normalization to smoothen the loss landscape. ShiftQuant attains performance that approaches the theoretical upper bound of group quantization. Furthermore, it liberates group quantization from inefficient memory rearrangement. The L1 normalization facilitates the implementation of fully quantized normalization layers with impressive convergence accuracy. Our method frees sub-8-bit integer training from pre-processing and supports general devices. This framework achieves negligible accuracy loss across various neural networks and tasks (0.92% on 4-bit ResNets, 0.61% on 6-bit Transformers). The prototypical implementation of ShiftQuant achieves more than 1.85×/15.3% performance improvement on CPU/GPU compared to its FP16 counterparts, and 33.9% resource consumption reduction on FPGA than the FP16 counterparts. The proposed fully-quantized L1 normalization layers achieve more than 35.54% improvement in throughout on CPU compared to traditional L2 normalization layers. Moreover, theoretical analysis verifies the advancement of our method.
Synchronous 8-bit Non-Volatile Full-Adder based on Spin Transfer Torque Magnetic Tunnel Junction
err2015-07-01
err47
PREAI
errDeng, Erya; Zhang, Yue; Kang, Wang; Dieny, Bernard; Klein, Jacques-Olivier; Prenat, Guillaume; Zhao, Weisheng
err分享
err收藏
Accurate and efficient surface profile measurement of the airport runway精确高效的机场跑道表面轮廓测量
err2022-05-20
err1
PREAI
errQi, Lin; Xie, Zhenzhou; Liu, Chunmei; Huai, Yongcheng; Mei, Fengqing; Qiao, Long; Liang, Zibo
err分享
err收藏

期刊

IEEE Transactions on Circuits and Systems for Video Technology 封面图
IEEE Transactions on Circuits and Systems for Video Technology
IF:
11.1
论文数:
2.3K
被引数:
3.6W

机构

S
Simon Fraser University
学者数:
687
论文数: 330
被引数: 7.2K
U
University of Technology Sydney
学者数:
1.2K
论文数: 605
被引数: 1.9W
北
北京信息科学与技术国家研究中心
学者数:
270
论文数: 109
被引数: 15
西安电子科技大学 封面图
西安电子科技大学
学者数:
4.8K
论文数: 1.5K
被引数: 1.5W
学者 查看更多机构
引用论文

引用论文

Findings of the 2014 Workshop on Statistical Machine Translation
err2014-01-01
err0
errOAAI
errOndrej Bojar; Christian Buck; Christian Federmann; Barry Haddow; Philipp Koehn; Johannes Leveling; Christof Monz; Pavel Pecina; Matt Post; Herve Saint-Amand; Radu Soricut; Lucia Specia; Aleš Tamchyna
err分享
err收藏
Order Statistics
err2004-07-15
err0
PREAI
errH. A. David; H. N. Nagaraja
err分享
err收藏
HRank: Filter Pruning Using High-Rank Feature Map
err2020-06-01
err0
errOAAI
errMingbao Lin; Rongrong Ji; Yan Wang; Yichen Zhang; Baochang Zhang; Yonghong Tian; Ling Shao
err分享
err收藏
Group Normalization
err2018-10-06
err0
PREAI
errYuxin Wu; Kaiming He
err分享
err收藏
学者 查看更多内容