[Paper Review] MQBench: Towards Reproducible and Deployable Model Quantization Benchmark
MQBench introduces a reproducible and deployable benchmark for model quantization, unifying training pipelines and evaluating state-of-the-art quantization algorithms across five real hardware platforms (CPU, GPU, ASIC, DSP). It reveals that while algorithms perform similarly under consistent training, a significant accuracy gap remains in hardware-deployable settings, and no single algorithm dominates all challenges, highlighting critical gaps in reproducibility and deployability across the quantization research landscape.
Model quantization has emerged as an indispensable technique to accelerate deep learning inference. While researchers continue to push the frontier of quantization algorithms, existing quantization work is often unreproducible and undeployable. This is because researchers do not choose consistent training pipelines and ignore the requirements for hardware deployments. In this work, we propose Model Quantization Benchmark (MQBench), a first attempt to evaluate, analyze, and benchmark the reproducibility and deployability for model quantization algorithms. We choose multiple different platforms for real-world deployments, including CPU, GPU, ASIC, DSP, and evaluate extensive state-of-the-art quantization algorithms under a unified training pipeline. MQBench acts like a bridge to connect the algorithm and the hardware. We conduct a comprehensive analysis and find considerable intuitive or counter-intuitive insights. By aligning the training settings, we find existing algorithms have about the same performance on the conventional academic track. While for the hardware-deployable quantization, there is a huge accuracy gap which remains unsettled. Surprisingly, no existing algorithm wins every challenge in MQBench, and we hope this work could inspire future research directions.
Motivation & Objective
- To address the lack of reproducibility and deployability in model quantization research due to inconsistent training pipelines and hardware-specific assumptions.
- To establish a unified benchmark framework that evaluates quantization algorithms under standardized training settings and real hardware deployment constraints.
- To identify and analyze discrepancies between academic performance and real-world hardware deployment results in quantization.
- To bridge the gap between algorithmic research and practical deployment by incorporating hardware-aware quantization practices such as BN folding, graph-level quantization, and parameter sharing.
- To inspire future research by exposing that no existing algorithm consistently outperforms others across all reproducible and deployable benchmarks.
Proposed method
- MQBench standardizes training hyperparameters, optimizer settings, and data augmentation across all evaluated quantization algorithms to ensure reproducibility.
- It evaluates multiple quantization techniques—QAT, PTQ, PACT, DoReFa-Net, LSQ, APoT, and QIL—under identical training pipelines on ImageNet.
- The benchmark includes hardware-aware modifications such as batch normalization folding, full graph quantization, and shared quantization parameters across concatenation operations.
- It implements per-tensor and per-channel quantization with symmetric and asymmetric ranges, adjusting activation ranges (e.g., from [0,1] to [-1,1]) for hardware compatibility.
- The framework supports five deployment platforms: CPU, GPU, ASIC, DSP, and includes full graph-level quantization to reflect real inference conditions.
- For unstable methods like QIL, gradient scaling is adjusted to improve convergence, and results are validated across multiple hardware environments.
Experimental results
Research questions
- RQ1How does standardizing training pipelines affect the performance comparison of state-of-the-art quantization algorithms?
- RQ2What is the performance gap between academic quantization results and real hardware deployment outcomes?
- RQ3Why do existing quantization algorithms fail to maintain consistent accuracy across different hardware platforms despite similar performance under unified training?
- RQ4How do hardware-specific optimizations—such as BN folding and graph-level quantization—affect the final accuracy of quantized models?
- RQ5Can any single quantization algorithm consistently outperform others across all reproducible and deployable benchmarks?
Key findings
- Under unified training settings, existing quantization algorithms achieve comparable performance on the standard academic benchmark, indicating that performance differences are largely due to training pipeline variations rather than algorithmic superiority.
- A significant accuracy gap remains in hardware-deployable settings, where no algorithm consistently outperforms others across all platforms, suggesting unresolved challenges in deployability.
- The use of per-channel quantization with asymmetric ranges and proper clipping (e.g., [-1,1]) significantly improves performance on hardware platforms compared to naive implementations.
- Quantization algorithms designed for per-tensor quantization often fail when applied to per-channel settings, highlighting the need for robustness to quantizer diversity.
- The QIL method proved unstable during reproduction, failing to converge under standard training settings, even after adjusting gradient scaling, indicating potential issues with its training dynamics.
- Hardware-specific optimizations such as BN folding and shared quantization parameters in concatenation operations are critical for maintaining accuracy and must be included in benchmarking.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.