Understanding the Impact of Post-Training Quantization on Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are rapidly increasing in size, with the number of parameters becoming a key factor in the success of many commercial models, such as ChatGPT, Claude, and Bard. Even the recently released publicly accessible models for commercial usage, such as Falcon and Llama2, come equipped with billions of parameters. This significant increase in the number of parameters makes deployment and operation very costly. The remarkable progress in the field of quantization for large neural networks in general and LLMs in particular, has made these models more accessible by enabling them to be deployed on consumer-grade GPUs. Quantized models generally demonstrate comparable performance levels to their unquantized base counterparts. Nonetheless, there exists a notable gap in our comprehensive understanding of how these quantized models respond to hyperparameters, such as temperature, max new tokens, and topk, particularly for next word prediction. The present analysis reveals that nf4 and fp4 are equally proficient 4-bit quantization techniques, characterized by similar attributes such as inference speed, memory consumption, and the quality of generated content. the study identifies nf4 as displaying greater resilience to temperature variations in the case of the llama2 series of models at lower temperature, while fp4 and fp4-dq proves to be a more suitable choice for falcon series of models. It is noteworthy that, in general, 4-bit quantized models of varying sizes exhibit higher sensitivity to temperature in the range of 0.5 to 0.8, unlike their unquantized counterparts. Additionally, int8 quantization is associated with significantly slower inference speeds, whereas unquantized bfloat16 models consistently yield the fastest inference speeds across models of all sizes.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 25 of its 41 references that are in the map. First posted on arXiv 11 Sep 2023.
Builds on
25 of 41 references.
References · 25
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
13 more
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
- 2023LLM-QAT: Data-Free Quantization Aware Training for Large Language Modelscited by 324
- 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 322
- 2021I-BERT: Integer-only BERT Quantizationcited by 255
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 178
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 148
- 2023RPTQ: Reorder-based Post-training Quantization for Large Language Modelscited by 116
- 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 106
- 2022AlphaTuning: Quantization-Aware Parameter-Efficient Adaptation of Large-Scale Pre-Trained Language Modelscited by 23
- 2023Dynamic Stashing Quantization for Efficient Transformer Trainingcited by 6
Built on by
Citing papers per year: 2024: 1; 2025: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024A Comprehensive Evaluation of Quantization Strategies for Large Language Models
- 2025A Comprehensive Evaluation on Quantization Techniques for Large Language Models
- 2025Does quantization affect models' performance on long-context tasks?
- 2025Optimizing Large Language Model Training Using FP4 Quantization
- 2025Layer-Wise High-Impact Parameter Ratio Optimization in Post-Training Quantization for Large Language Models
- 2025Towards Efficient Pre-training: Exploring FP4 Precision in Large Language Models
- 2025The Uneven Impact of Post-Training Quantization in Machine Translation
- 2024Evaluating the Generalization Ability of Quantized LLMs: Benchmark, Analysis, and Toolbox