Quantization Variation: A New Perspective on Training Transformers with Low-Bit Precision
Open accessAbstract
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.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Huang et al. present a new quantization technique that is aware of variations, incorporating a multi-crop knowledge distillation strategy.
“Huang et al. [66] present a new quantization technique that is aware of variations. This approach incorporates a multi-crop knowledge distillation strategy, which aids in stabilizing the training process and lessening the effects of variations encountered during QAT.”
From Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey (2024) · cites this paper as [66]
Cites
The publisher hasn’t deposited this paper’s reference list.
Cited by
Sorted by citations
Contemporary Advances in Neural Network Quantization: A Survey
Li, M., Huang, Z., Chen, L., Ren, J., Jiang, M., Li, F., Fu, J., & Gao, C. (2024) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn60899.2024.10650109 · Cited by 38 · see citing works
Towards Accurate Post-Training Quantization of Vision Transformers via Error Reduction
Zhong, Y., You, H., Hu, J., Zhang, Y., & Ji, R. (2025) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2025.3528042 · Cited by 26 · see citing works
Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey
Du, D., Gong, G., & Chu, X. (2024) · arXiv · doi:10.48550/arxiv.2405.00314 · Cited by 4 · see citing works
“Huang et al. [66] present a new quantization technique that is aware of variations.”
BackgroundVision transformer quantization with multi-step knowledge distillation
Ranjan, N., & Savakis, A. E. (2024) · Signal processing, sensor fusion, and target recognition. Conference · doi:10.1117/12.3014158 · Cited by 2 · see citing works
Federated Learning for UAV Perception Task : A SurveyPreprint
Bardes, Y., Soubra, H., Noumir, Z., & Ramdane-Chérif, A. (2025) · doi:10.36227/techrxiv.174906148.89641328/v1 · Cited by 1 · see citing works
- Authors
- Huang, X., Shen, Z., Dong, P., & Cheng, K.-T.
- Affiliations
- Hong Kong University of Science and Technology (HK)
- Mohamed bin Zayed University of Artificial Intelligence (AE)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2023
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 2307.00331
- OpenAlex
- W7052201220
- Cited by
- 4
- References
- 0
- Citations by year
- 2025: 2 · 2024: 2
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- arXiv (Cornell University) (submittedVersion, cc-by-nc-sa)
- Rare & Special e-Zone (The Hong Kong University of Science and Technology) (submittedVersion)
- arXiv (Cornell University)
- Funders
- National Natural Science Foundation of China (N_HKUST627/20)
- Hong Kong University of Science and Technology (N_HKUST627/20)
- Topics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning and Data Classification
- Keywords
- low-bit quantization, quantization-aware training, transformer models, model compression, vision transformer, BERT, parameter fluctuations, binary neural networks
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review