Quantization Variation: A New Perspective on Training Transformers with Low-Bit Precision
Not on the map. Why?
Abstract (arXiv)
Despite the outstanding performance of transformers in both language and vision tasks, the expanding computation and model size have increased the demand for efficient deployment. To address the heavy computation and parameter drawbacks, quantization is frequently studied in the community as a representative model compression technique and has seen extensive use on ConvNets. However, due to the unique properties of transformers, the low-bit quantization applications are still limited and underexplored. In this paper, we identify the difficulty of transformer low-bit quantization-aware training on its unique variation behaviors, which significantly differ from ConvNets. Based on comprehensive quantitative analysis, we observe variation in three hierarchies: various module quantization sensitivities, outliers in static weight and activation distribution, and oscillation in dynamic parameter fluctuations. These variations of transformers bring instability to the quantization-aware training (QAT) and negatively influence the performance. We explore the best practices to alleviate the variation's influence during low-bit transformer QAT and propose a variation-aware quantization scheme for both vision and language transformers. We extensively verify and show our scheme can alleviate the variation and improve the performance of transformers across various models and tasks. Our solution substantially improves the 2-bit Swin-T and binary BERT-base, achieving a 3.35% and 1.4% accuracy improvement over previous state-of-the-art methods on ImageNet-1K and GLUE. Codes and models are available at https://github.com/HuangOwen/Quantization-Variation.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 83 of its 103 references that are in the map. First posted on arXiv 1 Jul 2023.
Builds on
83 of 103 references.
References · 83
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023GPT-4 Technical Reportcited by 18,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2023Segment Anythingcited by 8,158
- 2016Layer Normalizationcited by 5,579
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
38 more
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2021ViViT: A Video Vision Transformercited by 1,610
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2019Relational Knowledge Distillationcited by 873
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 831
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2017Learning Efficient Convolutional Networks through Network Slimmingcited by 673
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
- 2018Rethinking the Value of Network Pruningcited by 595
- 2019Improved Knowledge Distillation via Teacher Assistantcited by 567
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
- 2019Similarity-Preserving Knowledge Distillationcited by 507
- 2021A White Paper on Neural Network Quantizationcited by 453
- 2019Single Path One-Shot Neural Architecture Search with Uniform Samplingcited by 411
- 2019On the Efficacy of Knowledge Distillationcited by 377
- 2023LLM-QAT: Data-Free Quantization Aware Training for Large Language Modelscited by 320
- 2018Model compression via distillation and quantizationcited by 287
- 2021Post-Training Quantization for Vision Transformercited by 274
- 2020Causal Intervention for Weakly-Supervised Semantic Segmentationcited by 229
- 2019MetaPruning: Meta Learning for Automatic Neural Network Channel Pruningcited by 226
- 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 180
- 2022Outlier Suppression: Pushing the Limit of Low-bit Transformer Language Modelscited by 176
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
- 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 147
50 most cited of 83 All 83 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 6; 2025: 7; 2026: 3.
17 papers.
Sort:
By area:
- 2024ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generationcited by 110
- 2024A Survey on Transformer Compressioncited by 44
- 2024PYRA: Parallel Yielding Re-Activation for Training-Inference Efficient Task Adaptationcited by 17
- 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Surveycited by 13
- 2025Mix-QViT: Mixed-Precision Vision Transformer Quantization Driven by Layer Importance and Quantization Sensitivitycited by 9
- 2024QGen: On the Ability to Generalize in Quantization Aware Trainingcited by 7
- 2025GPLQ: A General, Practical, and Lightning QAT Method for Vision Transformerscited by 7
- 2023Uncovering the Hidden Cost of Model Compressioncited by 3
- 2024Mixed Non-linear Quantization for Vision Transformerscited by 3
- 2025Top-Theta Attention: Sparsifying Transformers by Compensated Thresholdingcited by 2
- 2026StableQAT: Stable Quantization-Aware Training at Ultra-Low Bitwidthscited by 2
- 2025Oscillations Make Neural Networks Robust to Quantizationcited by 1
5 more
- 2025Q-SAM2: Accurate Quantization for Segment Anything Model 2cited by 1
- 2025Efficiently Training A Flat Neural Network Before It has been Quantizatedcited by 1
- 2026Colinearity Decay: Training Quantization-Friendly ViTs with Outlier Decaycited by 1
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutionscited by 0
- 2026FTerViT: Fully Ternary Vision Transformercited by 0
- 2026FTerViT: Fully Ternary Vision Transformer20 May 2026
- 2026Colinearity Decay: Training Quantization-Friendly ViTs with Outlier Decay2 May 2026
- 2026StableQAT: Stable Quantization-Aware Training at Ultra-Low Bitwidths27 Jan 2026
- 2025Efficiently Training A Flat Neural Network Before It has been Quantizated3 Nov 2025
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutions17 Sep 2025
- 2025GPLQ: A General, Practical, and Lightning QAT Method for Vision Transformers13 Jun 2025
- 2025Q-SAM2: Accurate Quantization for Segment Anything Model 211 Jun 2025
- 2025Top-Theta Attention: Sparsifying Transformers by Compensated Thresholding12 Feb 2025
- 2025Oscillations Make Neural Networks Robust to Quantization1 Feb 2025
- 2025Mix-QViT: Mixed-Precision Vision Transformer Quantization Driven by Layer Importance and Quantization Sensitivity10 Jan 2025
- 2024Mixed Non-linear Quantization for Vision Transformers26 Jul 2024
- 2024ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation4 Jun 2024
5 more
- 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey1 May 2024
- 2024QGen: On the Ability to Generalize in Quantization Aware Training17 Apr 2024
- 2024PYRA: Parallel Yielding Re-Activation for Training-Inference Efficient Task Adaptation14 Mar 2024
- 2024A Survey on Transformer Compression5 Feb 2024
- 2023Uncovering the Hidden Cost of Model Compression29 Aug 2023
- 2024A Survey on Transformer Compressioncited by 44
- 2024PYRA: Parallel Yielding Re-Activation for Training-Inference Efficient Task Adaptationcited by 17
- 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Surveycited by 13
- 2025Mix-QViT: Mixed-Precision Vision Transformer Quantization Driven by Layer Importance and Quantization Sensitivitycited by 9
- 2024QGen: On the Ability to Generalize in Quantization Aware Trainingcited by 7
- 2025GPLQ: A General, Practical, and Lightning QAT Method for Vision Transformerscited by 7
- 2023Uncovering the Hidden Cost of Model Compressioncited by 3
- 2024Mixed Non-linear Quantization for Vision Transformerscited by 3
- 2025Top-Theta Attention: Sparsifying Transformers by Compensated Thresholdingcited by 2
- 2026StableQAT: Stable Quantization-Aware Training at Ultra-Low Bitwidthscited by 2
- 2025Oscillations Make Neural Networks Robust to Quantizationcited by 1
- 2025Q-SAM2: Accurate Quantization for Segment Anything Model 2cited by 1
12 most cited of 15 All 15 (JSON)
- 2026FTerViT: Fully Ternary Vision Transformer20 May 2026
- 2026Colinearity Decay: Training Quantization-Friendly ViTs with Outlier Decay2 May 2026
- 2026StableQAT: Stable Quantization-Aware Training at Ultra-Low Bitwidths27 Jan 2026
- 2025Efficiently Training A Flat Neural Network Before It has been Quantizated3 Nov 2025
- 2025GPLQ: A General, Practical, and Lightning QAT Method for Vision Transformers13 Jun 2025
- 2025Q-SAM2: Accurate Quantization for Segment Anything Model 211 Jun 2025
- 2025Top-Theta Attention: Sparsifying Transformers by Compensated Thresholding12 Feb 2025
- 2025Oscillations Make Neural Networks Robust to Quantization1 Feb 2025
- 2025Mix-QViT: Mixed-Precision Vision Transformer Quantization Driven by Layer Importance and Quantization Sensitivity10 Jan 2025
- 2024Mixed Non-linear Quantization for Vision Transformers26 Jul 2024
- 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey1 May 2024
- 2024QGen: On the Ability to Generalize in Quantization Aware Training17 Apr 2024
12 newest of 15 All 15 (JSON)