Towards Efficient and Accurate Winograd Convolution via Full Quantization
Tianqi Chen, Weixiang Xu, Weihan Chen, Peisong Wang, Jian Cheng
摘要
The Winograd algorithm is an efficient convolution implementation, which performs calculations in the transformed domain. To further improve the computation efficiency, recent works propose to combine it with model quantization. Although Post-Training Quantization has the advantage of low computational cost and has been successfully applied in many other scenarios, a severe accuracy drop exists when utilizing it in Winograd convolution. Besides, despite the Winograd algorithm consisting of four stages, most existing methods only quantize the element-wise multiplication stage, leaving a considerable portion of calculations in full precision. In this paper, observing the inconsistency among different transformation procedures, we present PTQ-Aware Winograd (PAW) to optimize them collaboratively under a unified objective function. Moreover, we explore the full quantization of faster Winograd (tile size ≥ 4 ) for the first time. We further propose a hardware-friendly method called Factorized Scale Quantization (FSQ), which can effectively balance the significant range differences in the Winograd domain. Experiments demonstrate the effectiveness of our method, e.g., with 8-bit quantization and a tile size of 6, our method outperforms the previous Winograd PTQ method by 8.27% and 5.38% in terms of the top-1 accuracy on ResNet-18 and ResNet-34, respectively.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization 引用了 BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction
- QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization 引用了 Data-Free Quantization Through Weight Equalization and Bias Correction
- QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
- BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction 引用了 Learned Step Size quantization
- BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction 引用了 Data-Free Quantization Through Weight Equalization and Bias Correction
- BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
- Up or Down? Adaptive Rounding for Post-Training Quantization 引用了 Learned Step Size quantization
- Up or Down? Adaptive Rounding for Post-Training Quantization 引用了 Data-Free Quantization Through Weight Equalization and Bias Correction
- Data-Free Group-Wise Fully Quantized Winograd Convolution via Learnable Scales 引用了 BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction
- Data-Free Group-Wise Fully Quantized Winograd Convolution via Learnable Scales 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
引用它的顶会 Paper2
它引用的 Paper12
- Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy 等ICLR 2020 · 1,037 次引用
- Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos 等ICML 2020 · 816 次引用
- Data-Free Quantization Through Weight Equalization and Bias CorrectionMarkus Nagel, Mart van Baalen, Tijmen Blankevoort, Max WellingICCV 2019 · 622 次引用
- BRECQ: Pushing the Limit of Post-Training Quantization by Block ReconstructionYuhang Li, Ruihao Gong, Xu Tan, Yang Yang 等ICLR 2021 · 619 次引用
- QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training QuantizationXiuying Wei, Ruihao Gong, Yuhang Li, Xianglong Liu 等ICLR 2022 · 248 次引用
相关 Paper
- WinoTrain: Winograd-Aware Training for Accurate Full 8-bit Convolution AccelerationPierpaolo Morì, Shambhavi Balamuthu Sampath, Lukas Frickenstein, Manoj Rohit Vemparala 等DAC 2023 · 5 次引用
- Channel Balancing for Accurate Quantization of Winograd ConvolutionsVladimir Chikin, Vladimir KryzhanovskiyCVPR 2022 · 10 次引用
- Going Further With Winograd Convolutions: Tap-Wise Quantization for Efficient Inference on 4x4 TilesRenzo Andri, Beatrice Bussolino, Antonio Cipolletta, Lukas Cavigelli 等MICRO 2022 · 14 次引用
- Post-Training Sparsity-Aware QuantizationGil Shomron, Freddy Gabbay, Samer Kurzum, Uri C. WeiserNeurIPS 2021 · 47 次引用
- PD-Quant: Post-Training Quantization Based on Prediction Difference MetricJiawei Liu, Lin Niu, Zhihang Yuan, Dawei Yang 等CVPR 2023
