Towards Efficient and Accurate Winograd Convolution via Full Quantization
Tianqi Chen, Weixiang Xu, Weihan Chen, Peisong Wang, Jian Cheng
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization cites BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction
- QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization cites Data-Free Quantization Through Weight Equalization and Bias Correction
- QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization cites Up or Down? Adaptive Rounding for Post-Training Quantization
- BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction cites Learned Step Size quantization
- BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction cites Data-Free Quantization Through Weight Equalization and Bias Correction
- BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction cites Up or Down? Adaptive Rounding for Post-Training Quantization
- Up or Down? Adaptive Rounding for Post-Training Quantization cites Learned Step Size quantization
- Up or Down? Adaptive Rounding for Post-Training Quantization cites Data-Free Quantization Through Weight Equalization and Bias Correction
- Data-Free Group-Wise Fully Quantized Winograd Convolution via Learnable Scales cites BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction
- Data-Free Group-Wise Fully Quantized Winograd Convolution via Learnable Scales cites Up or Down? Adaptive Rounding for Post-Training Quantization
Cited by top-tier papers2
Builds on12
- Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy et al.ICLR 2020 · 1,037 citations
- Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos et al.ICML 2020 · 816 citations
- Data-Free Quantization Through Weight Equalization and Bias CorrectionMarkus Nagel, Mart van Baalen, Tijmen Blankevoort, Max WellingICCV 2019 · 622 citations
- BRECQ: Pushing the Limit of Post-Training Quantization by Block ReconstructionYuhang Li, Ruihao Gong, Xu Tan, Yang Yang et al.ICLR 2021 · 619 citations
- QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training QuantizationXiuying Wei, Ruihao Gong, Yuhang Li, Xianglong Liu et al.ICLR 2022 · 248 citations
Related papers
- WinoTrain: Winograd-Aware Training for Accurate Full 8-bit Convolution AccelerationPierpaolo Morì, Shambhavi Balamuthu Sampath, Lukas Frickenstein, Manoj Rohit Vemparala et al.DAC 2023 · 5 citations
- Channel Balancing for Accurate Quantization of Winograd ConvolutionsVladimir Chikin, Vladimir KryzhanovskiyCVPR 2022 · 10 citations
- Going Further With Winograd Convolutions: Tap-Wise Quantization for Efficient Inference on 4x4 TilesRenzo Andri, Beatrice Bussolino, Antonio Cipolletta, Lukas Cavigelli et al.MICRO 2022 · 14 citations
- Post-Training Sparsity-Aware QuantizationGil Shomron, Freddy Gabbay, Samer Kurzum, Uri C. WeiserNeurIPS 2021 · 47 citations
- PD-Quant: Post-Training Quantization Based on Prediction Difference MetricJiawei Liu, Lin Niu, Zhihang Yuan, Dawei Yang et al.CVPR 2023
