A New 2-bit Model Quantization Method Based on Non-uniform Quantization
Recently, quantization of large language models (LLMs) has emerged as a crucial technique for model compression, enabling deployment on edge computing devices and enhancing their efficiency. Techniques such as LLM.int8 are widely utilized in the fields of model compression and fine-tuning. However, as the number of quantization bits decreases, these conventional methods often result in a significant degradation of model accuracy. In response to this challenge, we introduce a novel non-uniform quantization approach that meticulously accounts for the influence of activation functions, outliers, and sensitive values on accuracy loss. This method effectively mitigates the accuracy degradation during the quantization process. Our experiments, conducted on the Llama-7B model, demonstrate that our technique achieves substantial compression with 2-bit quantization while preserving high model accuracy.
Authors
- Dongyang Zhang (ORCID: https://orcid.org/0000-0002-4839-0234)
- Bo-Chen Chen
- Deyin Li
Institutions
- University of Electronic Science and Technology of China (CN)
Publication Details
- Published
- 2024-12-13
- DOI
- https://doi.org/10.1145/3718391.3727883
- Primary Topic
- Image Processing Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00