Training Quantized Neural Networks With a Full-Precision Auxiliary Module
Bohan Zhuang, Lingqiao Liu, Mingkui Tan, Chunhua Shen, Ian D. Reid
摘要
In this paper, we seek to tackle a challenge in training low-precision networks: the notorious difficulty in propagating gradient through a low-precision network due to the non-differentiable quantization function. We propose a solution by training the low-precision network with a fullprecision auxiliary module. Specifically, during training, we construct a mix-precision network by augmenting the original low-precision network with the full precision auxiliary module. Then the augmented mix-precision network and the low-precision network are jointly optimized. This strategy creates additional full-precision routes to update the parameters of the low-precision model, thus making the gradient back-propagates more easily. At the inference time, we discard the auxiliary module without introducing any computational complexity to the low-precision network. We evaluate the proposed method on image classification and object detection over various quantization approaches and show consistent performance increase. In particular, we achieve near lossless performance to the full-precision model by using a 4-bit detector, which is of great practical value.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper17
- Nonuniform-to-Uniform Quantization: Towards Accurate Quantization via Generalized Straight-Through EstimationZechun Liu, Kwang-Ting Cheng, Dong Huang, Eric P. Xing 等CVPR 2022 · 108 次引用
- IntraQ: Learning Synthetic Images with Intra-Class Heterogeneity for Zero-Shot Network QuantizationYunshan Zhong, Mingbao Lin, Gongrui Nan, Jianzhuang Liu 等CVPR 2022 · 79 次引用
- Dynamic Network Quantization for Efficient Video InferenceXimeng Sun, Rameswar Panda, Chun-Fu (Richard) Chen, Aude Oliva 等ICCV 2021 · 56 次引用
- LiDAR-PTQ: Post-Training Quantization for Point Cloud 3D Object DetectionSifan Zhou, Liang Li, Xinyu Zhang, Bo Zhang 等ICLR 2024 · 40 次引用
- Residual Distillation: Towards Portable Deep Neural Networks without ShortcutsGuilin Li, Junlei Zhang, Yunhe Wang, Chuanjian Liu 等NeurIPS 2020 · 37 次引用
相关 Paper
- AMPA: Adaptive Mixed Precision Allocation for Low-Bit Integer TrainingLi Ding, Wen Fei, Yuyang Huang, Shuangrui Ding 等ICML 2024 · 5 次引用
- Fixed-Point Back-Propagation TrainingXishan Zhang, Shaoli Liu, Rui Zhang, Chang Liu 等CVPR 2020
- Post-training Quantization with Multiple Points: Mixed Precision without Mixed PrecisionXingchao Liu, Mao Ye, Dengyong Zhou, Qiang LiuAAAI 2021 · 54 次引用
- Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy 等ICLR 2020 · 1,037 次引用
- MetaMix: Meta-State Precision Searcher for Mixed-Precision Activation QuantizationHan-Byul Kim, Joo Hyung Lee, Sungjoo Yoo, Hong-Seok KimAAAI 2024 · 10 次引用
