Lune

AAAI2024Top-tier venue

PTMQ: Post-training Multi-Bit Quantization of Neural Networks

Ke Xu, Zhongcheng Li, Shanshan Wang, Xingyi Zhang

Abstract

The ability of model quantization with arbitrary bit-width to dynamically meet diverse bit-width requirements during runtime has attracted significant attention. Recent research has focused on optimizing large-scale training methods to achieve robust bit-width adaptation, which is a time-consuming process requiring hundreds of GPU hours. Furthermore, converting bit-widths requires recalculating statistical parameters of the norm layers, thereby impeding real-time switching of the bit-width. To overcome these challenges, we propose an efficient Post-Training Multi-bit Quantization (PTMQ) scheme that requires only a small amount of calibration data to perform block-wise reconstruction of multi-bit quantization errors. It eliminates the influence of statistical parameters by fusing norm layers, and supports real-time switching bit-widths in uniform quantization and mixed-precision quantization. To improve quantization accuracy and robustness, we propose a Multi-bit Feature Mixer technique (MFM) for fusing features of different bit-widths to enhance robustness across varying bit-widths. Moreover, we introduced the Group-wise Distillation Loss (GD-Loss) to enhance the correlation between different bit-width groups and further improve the overall performance of PTMQ. Extensive experiments demonstrate that PTMQ achieves comparable performance to existing state-of-the-art post-training quantization methods, while optimizing it speeds up by 100×\times compared to recent multi-bit quantization works. Code can be available at https://github.com/xuke225/PTMQ.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • QuEPT: Quantized Elastic Precision Transformers with One-Shot Calibration for Multi-Bit Switching cites Training data-efficient image transformers & distillation through attention
  • QuEPT: Quantized Elastic Precision Transformers with One-Shot Calibration for Multi-Bit Switching cites Up or Down? Adaptive Rounding for Post-Training Quantization
  • QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization cites Data-Free Quantization Through Weight Equalization and Bias Correction
  • QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization cites Up or Down? Adaptive Rounding for Post-Training Quantization
  • FlexiQ: Adaptive Mixed-Precision Quantization for Latency/Accuracy Trade-Offs in Deep Neural Networks cites Training data-efficient image transformers & distillation through attention
  • Up or Down? Adaptive Rounding for Post-Training Quantization cites Learned Step Size quantization
  • Up or Down? Adaptive Rounding for Post-Training Quantization cites Data-Free Quantization Through Weight Equalization and Bias Correction
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. QuEPT: Quantized Elastic Precision Transformers with One-Shot Calibration for Multi-Bit SwitchingKe Xu, Yixin Wang, Zhongcheng Li, Hao Cui et al.AAAI 2026
  2. FlexiQ: Adaptive Mixed-Precision Quantization for Latency/Accuracy Trade-Offs in Deep Neural NetworksJaemin Kim, Hongjun Um, Sungkyun Kim, Yongjun Park et al.EuroSys 2026

Builds on16

  1. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  2. Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy et al.ICLR 2020 · 1,037 citations
  3. Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos et al.ICML 2020 · 816 citations
  4. Data-Free Quantization Through Weight Equalization and Bias CorrectionMarkus Nagel, Mart van Baalen, Tijmen Blankevoort, Max WellingICCV 2019 · 622 citations
  5. QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training QuantizationXiuying Wei, Ruihao Gong, Yuhang Li, Xianglong Liu et al.ICLR 2022 · 248 citations

Related papers

  1. Bit-Mixer: Mixed-precision networks with runtime bit-width selectionAdrian Bulat, Georgios TzimiropoulosICCV 2021 · 31 citations
  2. Mr.BiQ: Post-Training Non-Uniform Quantization based on Minimizing the Reconstruction ErrorYongkweon Jeon, Chungman Lee, Eulrang Cho, Yeonju RoCVPR 2022 · 28 citations
  3. PD-Quant: Post-Training Quantization Based on Prediction Difference MetricJiawei Liu, Lin Niu, Zhihang Yuan, Dawei Yang et al.CVPR 2023
  4. CSQ: Growing Mixed-Precision Quantization Scheme with Bi-level Continuous SparsificationLirui Xiao, Huanrui Yang, Zhen Dong, Kurt Keutzer et al.DAC 2023 · 9 citations
  5. Accurate Post Training Quantization With Small Calibration SetsItay Hubara, Yury Nahshan, Yair Hanani, Ron Banner et al.ICML 2021 · 238 citations
Dusk over the sea between two cliffs drawn in fine vertical lines