mlsanityData to 7 Oct 2026

MPTQ-ViT: Mixed-Precision Post-Training Quantization for Vision Transformer

arXiv 2401.14895 ↗First posted 26 Jan 2024cs.CVcited by 10

Not on the map. Why?

Abstract (arXiv)

While vision transformers (ViTs) have shown great potential in computer vision tasks, their intense computation and memory requirements pose challenges for practical applications. Existing post-training quantization methods leverage value redistribution or specialized quantizers to address the non-normal distribution in ViTs. However, without considering the asymmetry in activations and relying on hand-crafted settings, these methods often struggle to maintain performance under low-bit quantization. To overcome these challenges, we introduce SmoothQuant with bias term (SQ-b) to alleviate the asymmetry issue and reduce the clamping loss. We also introduce optimal scaling factor ratio search (OPT-m) to determine quantization parameters by a data-dependent mechanism automatically. To further enhance the compressibility, we incorporate the above-mentioned techniques and propose a mixed-precision post-training quantization framework for vision transformers (MPTQ-ViT). We develop greedy mixed-precision quantization (Greedy MP) to allocate layer-wise bit-width considering both model performance and compressibility. Our experiments on ViT, DeiT, and Swin demonstrate significant accuracy improvements compared with SOTA on the ImageNet dataset. Specifically, our proposed methods achieve accuracy improvements ranging from 0.90% to 23.35% on 4-bit ViTs with single-precision and from 3.82% to 78.14% on 5-bit fully quantized ViTs with mixed-precision.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 33 of its 40 references that are in the map. First posted on arXiv 26 Jan 2024.

Builds on

33 of 40 references.

References · 33

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  7. 2017Mask R-CNNcited by 7,259
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  9. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  10. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  11. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  12. 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
21 more
  1. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
  2. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  3. 2021Post-Training Quantization for Vision Transformercited by 274
  4. 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 173
  5. 2021FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformercited by 148
  6. 2020APQ: Joint Search for Network Architecture, Pruning and Quantization Policycited by 98
  7. 2020Rethinking Differentiable Search for Mixed-Precision Neural Networkscited by 79
  8. 2023Joint Token Pruning and Squeezing Towards More Aggressive Compression of Vision Transformerscited by 79
  9. 2022PD-Quant: Post-Training Quantization based on Prediction Difference Metriccited by 73
  10. 2022BiBERT: Accurate Fully Binarized BERTcited by 70
  11. 2023Towards Accurate Post-Training Quantization for Vision Transformercited by 70
  12. 2023X-Pruner: eXplainable Pruning for Vision Transformerscited by 66
  13. 2022NoisyQuant: Noisy Bias-Enhanced Post-Training Activation Quantization for Vision Transformerscited by 59
  14. 2022Q-ViT: Fully Differentiable Quantization for Vision Transformercited by 36
  15. 2023BinaryViT: Pushing Binary Vision Transformers Towards Convolutional Modelscited by 17
  16. 2021Generalizable Mixed-Precision Quantization via Attribution Rank Preservationcited by 11
  17. 2019Feature Map Transform Coding for Energy-Efficient CNN Inferencecited by 10
  18. 2022TerViT: An Efficient Ternary Vision Transformercited by 10
  19. 2023TSPTQ-ViT: Two-scaled post-training quantization for vision transformercited by 7
  20. 2021Compression-aware Projection with Greedy Dimension Reduction for Convolutional Neural Network Activationscited by 3
  21. 2022Learnable Mixed-precision and Dimension Reduction Co-design for Low-storage Activationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 5; 2026: 2.

10 papers.