Abstract
Despite their superior performance, Large Language Models (LLMs) require significant computational resources for deployment and use. To overcome this issue, quantization methods have been widely applied to reduce the memory footprint of LLMs as well as increase the inference rate. However, a major challenge is that low-bit quantization methods often lead to performance degradation. It is important to understand how quantization impacts the capacity of LLMs. Different from previous studies focused on overall performance, this work aims to investigate the impact of quantization on emergent abilities, which are important characteristics that distinguish LLMs from small language models. Specifically, we examine the abilities of in-context learning, chain-of-thought reasoning, and instruction-following in quantized LLMs. Our empirical experiments show that these emergent abilities still exist in 4-bit quantization models, while 2-bit models encounter severe performance degradation on the test of these abilities. To improve the performance of low-bit models, we conduct two special experiments: (1) fine-grained impact analysis that studies which components (or substructures) are more sensitive to quantization, and (2) performance compensation through model fine-tuning. Our work derives a series of important findings to understand the impact of quantization on emergent abilities and sheds light on the possibilities of extremely low-bit quantization for LLMs.
Introduction
Large Language Models (LLMs) exhibit powerful "emergent abilities" such as In-Context Learning (ICL), Chain-of-Thought (CoT) reasoning, and Instruction Following (IF) that smaller models lack. However, deploying these massive models is prohibitively expensive due to their massive memory footprints. Post-Training Quantization (PTQ) is a popular solution to shrink model size by converting high-precision weights (e.g., 16-bit floats) to lower bit-widths (e.g., 4-bit or 2-bit integers). While previous studies have looked at how quantization affects general language modeling (like perplexity), this study specifically investigates whether complex emergent abilities survive aggressive quantization.
Evaluation of Emergent Abilities
The researchers evaluated the LLaMA family of models (7B to 65B parameters) using the GPTQ algorithm for 8-bit, 4-bit, and 2-bit quantization. Performance was measured across several key benchmarks: MMLU and BigBench Hard (BBH) for in-context learning, GSM8K for chain-of-thought reasoning, and AlpacaFarm for instruction following.
The empirical results indicate that 4-bit quantization is the "sweet spot" for LLM compression. At 4-bit, models retain almost all emergent abilities. For example, on LLaMA-13B, 4-bit quantization achieved 45.9% on MMLU (5-shot), nearly matching the 16-bit baseline of 47.0%, while cutting memory usage by approximately 67%.
Conversely, 2-bit quantization causes a catastrophic collapse in performance. Emergent abilities, particularly CoT reasoning, are extremely fragile at this level of precision. On the 13B model, 2-bit quantization resulted in a plummet to 14.8% on MMLU and a complete loss of ability (0.0%) on the GSM8K math reasoning task.
Sensitivity Analysis: The Role of FFNs
To understand why 2-bit models fail, the authors conducted a sensitivity analysis on model substructures. They found that Feed-Forward Network (FFN) layers are significantly more sensitive to quantization than Attention layers. This sensitivity is largely driven by "outlier dimensions"—features with unusually large activation values—which are primarily concentrated in the down-projection matrices of the FFNs.
By selectively keeping only the crucial FFN weights in 16-bit while quantizing the rest of the model to 2-bit, the performance of LLaMA-13B on MMLU rebounded from 14.8% to roughly 28.6%. This suggests that the architectural bottleneck for extreme quantization lies within the FFN components.
Performance Compensation via Fine-Tuning
The study also explored recovering lost performance through post-quantization fine-tuning. By adapting LoRA (Low-Rank Adaptation) to work directly on top of GPTQ-quantized weights, the authors were able to efficiently fine-tune extremely compressed models.
This approach proved highly effective: a fine-tuned 2-bit LLaMA-65B model achieved 42.0% on zero-shot MMLU, actually outperforming the unquantized 16-bit 13B model (41.4%). Remarkably, this fine-tuning was performed using only 17.8 GiB of VRAM, making it accessible for consumer-grade hardware.
Conclusion
This work demonstrates that while 4-bit quantization effectively preserves the emergent abilities of LLMs, 2-bit quantization requires specialized interventions to remain viable. The findings highlight the disproportionate impact of FFN layers on quantization robustness and show that post-quantization fine-tuning is a memory-efficient path toward rescuing the performance of extremely low-bit models. Future work remains necessary to fully recover complex multi-step reasoning (CoT) in 2-bit regimes.
Summary updated