mlsanityData to 7 Oct 2026

Q-ViT: Fully Differentiable Quantization for Vision Transformer

arXiv 2201.07703 ↗First posted 19 Jan 2022cs.CVcited by 36

Not on the map. Why?

Abstract (arXiv)

In this paper, we propose a fully differentiable quantization method for vision transformer (ViT) named as Q-ViT, in which both of the quantization scales and bit-widths are learnable parameters. Specifically, based on our observation that heads in ViT display different quantization robustness, we leverage head-wise bit-width to squeeze the size of Q-ViT while preserving performance. In addition, we propose a novel technique named switchable scale to resolve the convergence problem in the joint training of quantization scales and bit-widths. In this way, Q-ViT pushes the limits of ViT quantization to 3-bit without heavy performance drop. Moreover, we analyze the quantization robustness of every architecture component of ViT and show that the Multi-head Self-Attention (MSA) and the Gaussian Error Linear Units (GELU) are the key aspects for ViT quantization. This study provides some insights for further research about ViT quantization. Extensive experiments on different ViT models, such as DeiT and Swin Transformer show the effectiveness of our quantization method. In particular, our method outperforms the state-of-the-art uniform quantization method by 1.5% on DeiT-Tiny.

Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 35 of its 46 references that are in the map. First posted on arXiv 19 Jan 2022.

Builds on

35 of 46 references.

References · 35

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  3. 2020End-to-End Object Detection with Transformerscited by 7,384
  4. 2016Layer Normalizationcited by 5,579
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  7. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  8. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  9. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  10. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  11. 2019Learned Step Size Quantizationcited by 604
  12. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
23 more
  1. 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
  2. 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 456
  3. 2019Single Path One-Shot Neural Architecture Search with Uniform Samplingcited by 411
  4. 2015Deep Learning with Limited Numerical Precisioncited by 368
  5. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  6. 2019Data-Free Quantization Through Weight Equalization and Bias Correctioncited by 328
  7. 2018Slimmable Neural Networkscited by 301
  8. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  9. 2021Post-Training Quantization for Vision Transformercited by 274
  10. 2020ZeroQ: A Novel Zero Shot Quantization Frameworkcited by 265
  11. 2019Low-bit Quantization of Neural Networks for Efficient Inferencecited by 185
  12. 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 180
  13. 2018Learning to Quantize Deep Networks by Optimizing Quantization Intervals with Task Losscited by 157
  14. 2019Improving Neural Network Quantization without Retraining using Outlier Channel Splittingcited by 150
  15. 2021TokenLearner: What Can 8 Learned Tokens Do for Images and Videos?cited by 127
  16. 2021IA-RED2: Interpretability-Aware Redundancy Reduction for Vision Transformerscited by 127
  17. 2019Trained Quantization Thresholds for Accurate and Efficient Fixed-Point Inference of Deep Neural Networkscited by 87
  18. 2020Rethinking Differentiable Search for Mixed-Precision Neural Networkscited by 79
  19. 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
  20. 2019AutoQ: Automated Kernel-Wise Neural Network Quantizationcited by 60
  21. 2020FracBits: Mixed Precision Quantization via Fractional Bit-Widthscited by 53
  22. 2021Leveraging redundancy in attention with Reuse Transformerscited by 33
  23. 2019Towards Efficient Training for Neural Network Quantizationcited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 4; 2023: 12; 2024: 11; 2025: 5; 2026: 4.

36 papers.

Sort:

By area:

  1. 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inferencecited by 93
  2. 2023A Theoretical Understanding of Shallow Vision Transformers: Learning, Generalization, and Sample Complexitycited by 77
  3. 2023Which Tokens to Use? Investigating Token Reduction in Vision Transformerscited by 59
  4. 2023Oscillation-free Quantization for Low-bit Vision Transformerscited by 55
  5. 2025Optimizing Large Language Model Training Using FP4 Quantizationcited by 53
  6. 2024A Survey on Transformer Compressioncited by 44
  7. 2022BiViT: Extremely Compressed Binary Vision Transformercited by 28
  8. 2023Boost Vision Transformer with GPU-Friendly Sparsity and Quantizationcited by 20
  9. 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attentioncited by 19
  10. 2023I&S-ViT: An Inclusive & Stable Method for Pushing the Limit of Post-Training ViTs Quantizationcited by 19
  11. 2024DopQ-ViT: Towards Distribution-Friendly and Outlier-Aware Post-Training Quantization for Vision Transformerscited by 19
  12. 2025A Survey on Efficient Vision-Language Modelscited by 19
24 more
  1. 2023Jumping through Local Minima: Quantization in the Loss Landscape of Vision Transformerscited by 18
  2. 2023Quantization Variation: A New Perspective on Training Transformers with Low-Bit Precisioncited by 17
  3. 2023Bi-ViT: Pushing the Limit of Vision Transformer Quantizationcited by 13
  4. 2024Agglomerative Token Clusteringcited by 13
  5. 2024MPTQ-ViT: Mixed-Precision Post-Training Quantization for Vision Transformercited by 10
  6. 2023F3-Pruning: A Training-Free and Generalized Pruning Strategy towards Faster and Finer Text-to-Video Synthesiscited by 9
  7. 2025Mix-QViT: Mixed-Precision Vision Transformer Quantization Driven by Layer Importance and Quantization Sensitivitycited by 9
  8. 2024Understanding Neural Network Binarization with Forward and Backward Proximal Quantizerscited by 4
  9. 2024Vote&Mix: Plug-and-Play Token Reduction for Efficient Vision Transformercited by 4
  10. 2024Mixed Non-linear Quantization for Vision Transformerscited by 3
  11. 2024Unity is Power: Semi-Asynchronous Collaborative Training of Large-Scale Models with Structured Pruning in Resource-Limited Clientscited by 3
  12. 2023Q-YOLO: Efficient Inference for Real-time Object Detectioncited by 2
  13. 2026StableQAT: Stable Quantization-Aware Training at Ultra-Low Bitwidthscited by 2
  14. 2026dMX: Differentiable Mixed-Precision Assignment for Low-Precision Floating-Point Formatscited by 2
  15. 2022CPT-V: A Contrastive Approach to Post-Training Quantization of Vision Transformerscited by 1
  16. 2023BPT: Binary Point Cloud Transformer for Place Recognitioncited by 1
  17. 2023Probabilistic Weight Fixing: Large-scale training of neural network weight uncertainties for quantizationcited by 1
  18. 2024FBPT: A Fully Binary Point Transformercited by 1
  19. 2025Exploiting Information Redundancy in Attention Maps for Extreme Quantization of Vision Transformerscited by 1
  20. 2024Faster Inference of Integer SWIN Transformer by Removing the GELU Activationcited by 0
  21. 2024Predicting High-precision Depth on Low-Precision Devices Using 2D Hilbert Curvescited by 0
  22. 2025UAV-Assisted Real-Time Disaster Detection Using Optimized Transformer Modelcited by 0
  23. 2026qZACH-ViT: Quantization-Aware Intrinsic Explanations with Recursive Attribution-Stabilized Optimizationcited by 0
  24. 2026DeVIT: Low-Power Vision Transformer Acceleration Using Delta Computationcited by 0