Deep neural networks (DNNs) have achieved remarkable success but remain computationally expensive and memory-intensive, hindering deployment on edge devices. Network quantization—converting 32-bit weights and activations into low-bit formats (e.g., 4-bit or 8-bit)—is a primary solution to reduce a model's footprint. However, traditional quantization relies on a "calibration" dataset, which is often inaccessible in privacy-sensitive sectors like healthcare, finance, or defense. Zero-shot Quantization (ZSQ) addresses this bottleneck by quantizing models using only pre-trained weights and internal statistics.
Methodological Framework
ZSQ methods are categorized into three primary families based on their approach to the absence of real training data:
- Synthesis-free ZSQ: These are lightweight methods that do not generate synthetic data. Instead, they rely on analytical techniques like cross-layer equalization (equalizing weight ranges across layers) and bias correction to minimize quantization error.
- Generator-based ZSQ: This approach utilizes a separate "Generator" model (often a GAN) to produce synthetic data. The generator is trained to create images that match the internal statistics—specifically Batch Normalization Statistics (BNS)—of the pre-trained model.
- Noise-optimization-based ZSQ: Rather than training a generator, these methods start with random noise and iteratively optimize input pixels until the resulting "image" produces internal activations that match the pre-trained model's original statistics.
Benchmarking and Key Insights
The field evaluates performance primarily on ImageNet (using ResNet-18) and newer Vision Transformers (using DeiT-Tiny). A critical insight is the power of Batch Normalization Statistics (mean and variance), which act as a compressed representation of the original data distribution, allowing researchers to "reconstruct" the training data.
However, challenges remain, such as the Diversity Gap, where synthetic data lacks the heterogeneity of real-world data. Recent methods like IntraQ and AdaSG attempt to address this by introducing intra-class heterogeneity and focusing on "adaptable" samples that better define decision boundaries.
Experimental Results
Benchmarking across dozens of methods reveals a clear performance trend based on bit-width:
- 4-bit Accuracy (W4A4): Many modern ZSQ methods, such as GenQ and CLAMP-ViT, achieve 4-bit quantization with minimal accuracy loss. For a ResNet-18 model (71.47% FP accuracy), top ZSQ methods maintain performance in the 69-72% range.
- The 3-bit Wall (W3A3): Accuracy drops significantly at 3-bit precision. While specialized methods like SADAG and Genie manage to stay above 67%, many others fall into the 20-50% range, indicating that ultra-low bit ZSQ remains an open research challenge.
Future Directions
Despite rapid progress, the survey identifies several frontiers for the next generation of ZSQ:
- Computational Cost: Generating high-quality synthetic images via noise optimization can take hours on high-end GPUs, reducing the "instant" nature of post-training quantization.
- Beyond Computer Vision: There is a critical need to expand ZSQ techniques to Large Language Models (LLMs) and graph-based models.
- Theoretical Grounding: The field currently lacks a formal mathematical understanding of the theoretical limits of information recovery from pre-trained weights.
- Real-world Robustness: Most research focuses on clean benchmarks; the efficacy of ZSQ under real-world distribution shifts remains largely untested.
Summary updated