Data Generation for Hardware-Friendly Post-Training Quantization
Lior Dikstein, Ariel Lapid, Arnon Netzer, Hai Victor Habi

TL;DR
This paper introduces DGH, a novel data generation method that improves zero-shot quantization for hardware-friendly models by jointly optimizing synthetic data, mimicking augmentations, and aligning feature distributions, leading to significant accuracy gains.
Contribution
DGH addresses key gaps in synthetic data generation for hardware-friendly quantization by joint optimization, augmentation mimicry, and distribution-stretching loss, enhancing ZSQ performance.
Findings
Up to 30% accuracy improvement in hardware-friendly ZSQ.
Achieves performance comparable to real data in classification and detection.
Effectively addresses distribution shift in final model layers.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMedical Imaging Techniques and Applications
MethodsSparse Evolutionary Training · Batch Normalization
