Towards Accurate Post-training Quantization for Reparameterized Models
Not on the map. Why?
Abstract (arXiv)
Model reparameterization is a widely accepted technique for improving inference speed without compromising performance. However, current Post-training Quantization (PTQ) methods often lead to significant accuracy degradation when applied to reparameterized models. This is primarily caused by channel-specific and sample-specific outliers, which appear only at specific samples and channels and impact on the selection of quantization parameters. To address this issue, we propose RepAPQ, a novel framework that preserves the accuracy of quantized reparameterization models. Different from previous frameworks using Mean Squared Error (MSE) as a measurement, we utilize Mean Absolute Error (MAE) to mitigate the influence of outliers on quantization parameters. Our framework comprises two main components: Quantization Protecting Reparameterization and Across-block Calibration. For effective calibration, Quantization Protecting Reparameterization combines multiple branches into a single convolution with an affine layer. During training, the affine layer accelerates convergence and amplifies the output of the convolution to better accommodate samples with outliers. Additionally, Across-block Calibration leverages the measurement of stage output as supervision to address the gradient problem introduced by MAE and enhance the interlayer correlation with quantization parameters. Comprehensive experiments demonstrate the effectiveness of RepAPQ across various models and tasks. Our framework outperforms previous methods by approximately 1% for 8-bit PTQ and 2% for 6-bit PTQ, showcasing its superior performance. The code is available at urlhttps://github.com/ilur98/DLMC-QUANT.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 30 of its 54 references that are in the map. First posted on arXiv 25 Feb 2024.
Builds on
30 of 54 references.
References · 30
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2022YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectorscited by 978
- 2019Learned Step Size Quantizationcited by 604
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
- 2021RepVGG: Making VGG-style ConvNets Great Againcited by 520
18 more
- 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
- 2019Data-Free Quantization Through Weight Equalization and Bias Correctioncited by 328
- 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 317
- 2022YOLOv6: A Single-Stage Object Detection Framework for Industrial Applicationscited by 273
- 2019Low-bit Quantization of Neural Networks for Efficient Inferencecited by 185
- 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 180
- 2019ACNet: Strengthening the Kernel Skeletons for Powerful CNN via Asymmetric Convolution Blockscited by 178
- 2022Outlier Suppression: Pushing the Limit of Low-bit Transformer Language Modelscited by 176
- 2022QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantizationcited by 175
- 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
- 2021Diverse Branch Block: Building a Convolution as an Inception-like Unitcited by 87
- 2020EasyQuant: Post-training Quantization via Scale Optimizationcited by 57
- 2017DiracNets: Training Very Deep Neural Networks Without Skip-Connectionscited by 47
- 2021RepMLP: Re-parameterizing Convolutions into Fully-connected Layers for Image Recognitioncited by 40
- 2022Re-parameterizing Your Optimizers rather than Architecturescited by 35
- 2022Make RepVGG Greater Again: A Quantization-aware Approachcited by 21
- 2021BatchQuant: Quantized-for-all Architecture Search with Robust Quantizercited by 19
- 2022Edge-enhanced Feature Distillation Network for Efficient Super-Resolutioncited by 18
Built on by
Not cited yet.