Fixed-Point Back-Propagation Training
Xishan Zhang, Shaoli Liu, Rui Zhang, Chang Liu, Di Huang, Shiyi Zhou, Jiaming Guo, Qi Guo, Zidong Du, Tian Zhi, Yunji Chen
摘要
Recent emerged quantization technique (i.e., using low bit-width fixed-point data instead of high bit-width floatingpoint data) has been applied to inference of deep neural networks for fast and efficient execution. However, directly applying quantization in training can cause significant accuracy loss, thus remaining an open challenge. In this paper, we propose a novel training approach, which applies a layer-wise precision-adaptive quantization in deep neural networks. The new training approach leverages our key insight that the degradation of training accuracy is attributed to the dramatic change of data distribution. Therefore, by keeping the data distribution stable through a layer-wise precision-adaptive quantization, we are able to directly train deep neural networks using low bit-width fixed-point data and achieve guaranteed accuracy, without changing hyper parameters. Experimental results on a wide variety of network architectures (e.g., convolution and recurrent networks) and applications (e.g., image classification, object detection, segmentation and machine translation) show that the proposed approach can train these neural networks with negligible accuracy losses (-1.40%∼1.3%, 0.02% on average), and speed up training by 252% on a state-of-the-art Intel CPU.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper14
- Distilling Object Detectors with Feature RichnessZhixing Du, Rui Zhang, Ming Chang, Xishan Zhang 等NeurIPS 2021 · 107 次引用
- Distribution Adaptive INT8 Quantization for Training CNNsKang Zhao, Sida Huang, Pan Pan, Yinghan Li 等AAAI 2021 · 86 次引用
- F8Net: Fixed-Point 8-bit Only Multiplication for Network QuantizationQing Jin, Jian Ren, Richard Zhuang, Sumant Hanumante 等ICLR 2022 · 57 次引用
- Mandheling: mixed-precision on-device DNN training with DSP offloadingDaliang Xu, Mengwei Xu, Qipeng Wang, Shangguang Wang 等MobiCom 2022 · 43 次引用
- Cambricon-Q: A Hybrid Architecture for Efficient TrainingYongwei Zhao, Chang Liu, Zidong Du, Qi Guo 等ISCA 2021 · 28 次引用
相关 Paper
- HLHLp: Quantized Neural Networks Training for Reaching Flat Minima in Loss SurfaceSungho Shin, Jinhwan Park, Yoonho Boo, Wonyong SungAAAI 2020 · 6 次引用
- Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy 等ICLR 2020 · 1,037 次引用
- Data-Free Quantization Through Weight Equalization and Bias CorrectionMarkus Nagel, Mart van Baalen, Tijmen Blankevoort, Max WellingICCV 2019 · 622 次引用
- Be Like Water: Adaptive Floating Point for Machine LearningThomas Y. Yeh, Max Sterner, Zerlina Lai, Brandon Chuang 等ICML 2022 · 11 次引用
- DSConv: Efficient Convolution OperatorMarcelo Gennari Do Nascimento, Victor Prisacariu, Roger FawcettICCV 2019 · 107 次引用
