RepQuant: Towards Accurate Post-Training Quantization of Large Transformer Models via Scale Reparameterization
Not on the map. Why?
Abstract (arXiv)
Large transformer models have demonstrated remarkable success. Post-training quantization (PTQ), which requires only a small dataset for calibration and avoids end-to-end retraining, is a promising solution for compressing these large models. Regrettably, existing PTQ methods typically exhibit non-trivial performance loss. We find that the performance bottleneck stems from over-consideration of hardware compatibility in the quantization process, compelling them to reluctantly employ simple quantizers, albeit at the expense of accuracy. With the above insights, we propose RepQuant, a novel PTQ framework with quantization-inference decoupling paradigm to address the above issues. RepQuant employs complex quantizers in the quantization process and simplified quantizers in the inference process, and performs mathematically equivalent transformations between the two through quantization scale reparameterization, thus ensuring both accurate quantization and efficient inference. More specifically, we focus on two components with extreme distributions: LayerNorm activations and Softmax activations. Initially, we apply channel-wise quantization and log√2 quantization, respectively, which are tailored to their distributions. In particular, for the former, we introduce a learnable per-channel dual clipping scheme, which is designed to efficiently identify outliers in the unbalanced activations with fine granularity. Then, we reparameterize the scales to hardware-friendly layer-wise quantization and log2 quantization for inference. Moreover, quantized weight reconstruction is seamlessly integrated into the above procedure to further push the performance limits. Extensive experiments are performed on different large-scale transformer variants on multiple tasks, including vision, language, and multi-modal transformers, and RepQuant encouragingly demonstrates significant performance advantages.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 56 of its 70 references that are in the map. First posted on arXiv 8 Feb 2024.
Builds on
56 of 70 references.
References · 56
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2023Segment Anythingcited by 8,158
- 2020End-to-End Object Detection with Transformerscited by 7,384
38 more
- 2017Mask R-CNNcited by 7,259
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023A Survey of Large Language Modelscited by 2,537
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
- 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,224
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2020A Survey on Visual Transformercited by 653
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
- 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
- 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
- 2023OmniQuant: Omnidirectionally Calibrated Quantization for Large Language Modelscited by 403
- 2022Multimodal Learning with Transformers: A Surveycited by 399
- 2019Data-Free Quantization Through Weight Equalization and Bias Correctioncited by 328
- 2023LLM-QAT: Data-Free Quantization Aware Training for Large Language Modelscited by 320
- 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 317
- 2023SqueezeLLM: Dense-and-Sparse Quantizationcited by 285
- 2021Post-Training Quantization for Vision Transformercited by 274
- 2023A Survey on Model Compression for Large Language Modelscited by 263
- 2022Outlier Suppression: Pushing the Limit of Low-bit Transformer Language Modelscited by 176
- 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 173
- 2021FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformercited by 148
- 2022RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformerscited by 134
- 2023RPTQ: Reorder-based Post-training Quantization for Large Language Modelscited by 112
- 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inferencecited by 93
- 2022Compression of Generative Pre-trained Language Models via Quantizationcited by 79
- 2023Towards Accurate Post-Training Quantization for Vision Transformercited by 70
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2024: 4; 2025: 2; 2026: 4.
10 papers.
- 2024DopQ-ViT: Towards Distribution-Friendly and Outlier-Aware Post-Training Quantization for Vision Transformerscited by 19
- 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Surveycited by 13
- 2025CacheQuant: Comprehensively Accelerated Diffusion Modelscited by 13
- 2024ADFQ-ViT: Activation-Distribution-Friendly Post-Training Quantization for Vision Transformerscited by 7
- 2024Privacy-Preserving SAM Quantization for Efficient Edge Intelligence in Healthcarecited by 4
- 2025SAQ-SAM: Semantically-Aligned Quantization for Segment Anything Modelcited by 3
- 2026PTQ4ARVG: Post-Training Quantization for AutoRegressive Visual Generation Modelscited by 3
- 2026Efficient-SAM2: Accelerating SAM2 with Object-Aware Visual Encoding and Memory Retrievalcited by 2
- 2026Understanding vision transformer robustness through the lens of out-of-distribution detectioncited by 0
- 2026Sparsity Induction for Accurate Post-Training Pruning of Large Language Modelscited by 0
- 2026Sparsity Induction for Accurate Post-Training Pruning of Large Language Models25 Feb 2026
- 2026Efficient-SAM2: Accelerating SAM2 with Object-Aware Visual Encoding and Memory Retrieval9 Feb 2026
- 2026Understanding vision transformer robustness through the lens of out-of-distribution detection1 Feb 2026
- 2026PTQ4ARVG: Post-Training Quantization for AutoRegressive Visual Generation Models29 Jan 2026
- 2025SAQ-SAM: Semantically-Aligned Quantization for Segment Anything Model9 Mar 2025
- 2025CacheQuant: Comprehensively Accelerated Diffusion Models3 Mar 2025
- 2024Privacy-Preserving SAM Quantization for Efficient Edge Intelligence in Healthcare14 Sep 2024
- 2024DopQ-ViT: Towards Distribution-Friendly and Outlier-Aware Post-Training Quantization for Vision Transformers6 Aug 2024
- 2024ADFQ-ViT: Activation-Distribution-Friendly Post-Training Quantization for Vision Transformers3 Jul 2024
- 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey1 May 2024