Data Generation for Hardware-Friendly Post-Training Quantization
Not on the map. Why?
Abstract (arXiv)
Zero-shot quantization (ZSQ) using synthetic data is a key approach for post-training quantization (PTQ) under privacy and security constraints. However, existing data generation methods often struggle to effectively generate data suitable for hardware-friendly quantization, where all model layers are quantized. We analyze existing data generation methods based on batch normalization (BN) matching and identify several gaps between synthetic and real data: 1) Current generation algorithms do not optimize the entire synthetic dataset simultaneously; 2) Data augmentations applied during training are often overlooked; and 3) A distribution shift occurs in the final model layers due to the absence of BN in those layers. These gaps negatively impact ZSQ performance, particularly in hardware-friendly quantization scenarios. In this work, we propose Data Generation for Hardware-friendly quantization (DGH), a novel method that addresses these gaps. DGH jointly optimizes all generated images, regardless of the image set size or GPU memory constraints. To address data augmentation mismatches, DGH includes a preprocessing stage that mimics the augmentation process and enhances image quality by incorporating natural image priors. Finally, we propose a new distribution-stretching loss that aligns the support of the feature map distribution between real and synthetic data. This loss is applied to the model's output and can be adapted to various tasks. DGH demonstrates significant improvements in quantization performance across multiple tasks, achieving up to a 30% increase in accuracy for hardware-friendly ZSQ in both classification and object detection, often performing on par with real data.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 52 of its 63 references that are in the map. First posted on arXiv 29 Oct 2024.
Builds on
52 of 63 references.
References · 52
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2015SSD: Single Shot MultiBox Detectorcited by 3,125
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
- 2019Learned Step Size Quantizationcited by 604
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
38 more
- 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 571
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
- 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
- 2021A White Paper on Neural Network Quantizationcited by 453
- 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 426
- 2019Dreaming to Distill: Data-free Knowledge Transfer via DeepInversioncited by 419
- 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 413
- 2019Data-Free Quantization Through Weight Equalization and Bias Correctioncited by 328
- 2017A Survey of Model Compression and Acceleration for Deep Neural Networkscited by 298
- 2018LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networkscited by 272
- 2020ZeroQ: A Novel Zero Shot Quantization Frameworkcited by 265
- 2021Pruning and Quantization for Deep Neural Network Acceleration: A Surveycited by 259
- 2017Incremental Network Quantization: Towards Lossless CNNs with Low-Precision Weightscited by 211
- 2019Low-bit Quantization of Neural Networks for Efficient Inferencecited by 185
- 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 180
- 2022QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantizationcited by 175
- 2020FCOS: A simple and strong anchor-free object detectorcited by 171
- 2018Understanding Batch Normalizationcited by 157
- 2019Improving Neural Network Quantization without Retraining using Outlier Channel Splittingcited by 150
- 2019Edge AI: On-Demand Accelerating Deep Neural Network Inference via Edge Computingcited by 150
- 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
- 2022Overcoming Oscillations in Quantization-Aware Trainingcited by 116
- 2019Loss Aware Post-training Quantizationcited by 94
- 2020Generative Low-bitwidth Data Free Quantizationcited by 87
- 2020Data-Free Network Quantization With Adversarial Knowledge Distillationcited by 79
- 2022PD-Quant: Post-Training Quantization based on Prediction Difference Metriccited by 73
- 2021Diversifying Sample Generation for Accurate Data-Free Quantizationcited by 63
- 2019The Knowledge Within: Methods for Data-Free Model Compressioncited by 54
- 2022SQuant: On-the-Fly Data-Free Quantization via Diagonal Hessian Approximationcited by 51
- 2021Zero-shot Adversarial Quantizationcited by 44
- 2020HMQ: Hardware Friendly Mixed Precision Quantization Block for CNNscited by 43
- 2021IntraQ: Learning Synthetic Images with Intra-Class Heterogeneity for Zero-Shot Network Quantizationcited by 43
- 2021Qimera: Data-free Quantization with Synthetic Boundary Supporting Samplescited by 39
- 2021MQBench: Towards Reproducible and Deployable Model Quantization Benchmarkcited by 38
- 2022It's All In the Teacher: Zero-Shot Quantization Brought Closer to the Teachercited by 20
- 2021AutoReCon: Neural Architecture Search-based Reconstruction for Data-free Compressioncited by 17
- 2022Genie: Show Me the Data for Quantizationcited by 17
- 2021Fine-grained Data Distribution Alignment for Post-Training Quantizationcited by 9
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.