arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.22249cs.LGcs.AI
收藏

大语言模型中权重量化的表达能力

On the Expressive Power of Weight Quantization in Large Language Models

National Key Laboratory for Novel Software Technology(新型软件技术国家重点实验室);School of Intelligent Science and Technology(智能科学与技术学院)

Shao-Qun Zhang

AI总结:

本文通过理论分析,证明1.58比特是权重量化的极限精度,并揭示量化比特数减少会导致表达能力多项式级退化。

摘要:

近年来,将大语言模型的可学习参数编码为$n$比特格式的权重量化技术,因其在模型压缩和推理加速方面的潜力而受到广泛关注。虽然已有许多实用技术被开发出来,但许多方面的理论理解,特别是随着量化比特数减少,表达能力的近似和退化情况,仍不清楚。在本文中,我们提供了大语言模型表达能力相对于量化比特数的理论探究。我们通过建立权重量化模型相对于量化比特数的通用近似和表达能力崩溃性质,论证了1.58比特是权重量化的极限精度。此外,我们确认权重量化会导致表达能力退化,其中权重量化模型的表达能力随着量化比特数的减少而多项式级退化。这些理论发现为在缩放定律背景下推进权重量化提供了坚实基础,并为未来模型压缩和推理加速的研究提供了启示。

英文摘要:

In recent years, weight quantization that encodes the learnable parameters of large language models in an $n$-bit format has garnered significant attention due to its potential for model compression and inference acceleration. Many practical techniques have been developed; however, the theoretical understanding of many aspects, especially the approximation and degradation of expressive power as the number of quantization bits decreases, remains unclear. In this paper, we provide a theoretical investigation into the expressive capability of large language models relative to the number of quantization bits. We argue that 1.58-bit is the limiting precision for weight quantization by establishing the universal approximation and expressive collapse properties of weight-quantized models with respect to the number of quantization bits. Additionally, we confirm that weight quantization leads to expressive degradation, in which the expressive capacity of weight-quantized models degrades polynomially as the number of quantization bits decreases. These theoretical findings provide a solid foundation for advancing weight quantization in the context of scaling laws and shed insights for future research in model compression and inference acceleration.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑