TensorX
返回文献探索

Paper · arXiv 2402.11295

OneBit: Towards Extremely Low-bit Large Language Models

Yuzhuang Xu, Xu Han, Zonghan Yang, Shuo Wang, Qingfu Zhu, Zhiyuan Liu, Weidong Liu, Wanxiang Che

24 upvotesFebruary 17, 2024arXiv 预印本
AI 摘要

OneBit, a 1-bit quantization-aware training framework, allows LLMs to achieve robust performance with 1-bit weight matrices, reducing storage and computational overhead.

model quantificationlow bit-widthweight matricesLLMsquantization methods1-bit quantization-aware training (QAT)parameter representationmatrix decompositionperformanceconvergence speed

Abstract

Model quantification uses low bit-width values to represent the weight matrices of models, which is a promising approach to reduce both storage and computational overheads of deploying highly anticipated LLMs. However, existing quantization methods suffer severe performance degradation when the bit-width is extremely reduced, and thus focus on utilizing 4-bit or 8-bit values to quantize models. This paper boldly quantizes the weight matrices of LLMs to 1-bit, paving the way for the extremely low bit-width deployment of LLMs. For this target, we introduce a 1-bit quantization-aware training (QAT) framework named OneBit, including a novel 1-bit parameter representation method to better quantize LLMs as well as an effective parameter initialization method based on matrix decomposition to improve the convergence speed of the QAT framework. Sufficient experimental results indicate that OneBit achieves good performance (at least 83% of the non-quantized performance) with robust training processes when only using 1-bit weight matrices.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号