What Makes Quantization for Large Language Models Hard? An Empirical Study from the Lens of Perturbation
Zhuocheng Gong, Jiahao Liu, Jingang Wang, Xunliang Cai, Dongyan Zhao,, Rui Yan

TL;DR
This paper investigates the challenges of quantizing large language models by viewing quantization as perturbations, revealing insights into failure cases and proposing a non-uniform quantization method that maintains performance.
Contribution
It introduces a perturbation-based perspective on quantization, analyzes its impact on LLMs, and develops a simple non-uniform quantization approach that reduces performance loss.
Findings
Perturbation properties correlate with LLM performance.
Uniform quantization failure cases are explained by perturbation analysis.
Non-uniform quantization achieves minimal performance degradation.
Abstract
Quantization has emerged as a promising technique for improving the memory and computational efficiency of large language models (LLMs). Though the trade-off between performance and efficiency is well-known, there is still much to be learned about the relationship between quantization and LLM performance. To shed light on this relationship, we propose a new perspective on quantization, viewing it as perturbations added to the weights and activations of LLMs. We call this approach "the lens of perturbation". Using this lens, we conduct experiments with various artificial perturbations to explore their impact on LLM performance. Our findings reveal several connections between the properties of perturbations and LLM performance, providing insights into the failure cases of uniform quantization and suggesting potential solutions to improve the robustness of LLM quantization. To demonstrate…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling
