arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.15563cs.LG
收藏

1位 wonders:通过K均值量化改进低位 regime 中的QAT性能

1-Bit Wonder: Improving QAT Performance in the Low-Bit Regime through K-Means Quantization

Aleph Alpha Research(Aleph Alpha研究机构);Graphcore Research(Graphcore研究机构)

Sohir Maskey, Constantin Eichenberg, Johannes Messner, Douglas Orr

AI总结:

本研究通过K均值量化在低位 regime 中改进QAT性能,发现1位量化在生成任务中表现最佳。

摘要:

量化感知训练(QAT)是一种有效的方法,可以大幅减少大语言模型(LLMs)的内存占用,同时保持性能下降在可接受的水平。然而,量化格式和位宽的最佳选择在实践中却是一个挑战。在QAT的背景下,量化设计空间并未被完全探索,量化与下游性能之间的精确权衡也缺乏深入理解,因为比较通常仅依赖于困惑度基于的评估。在本工作中,我们通过在低位 regime 中对QAT进行实证研究来解决这些不足。我们证明了基于k-means的权重量化优于整数格式,并且可以在标准硬件上高效实现。此外,我们发现,在固定的推理内存预算下,生成下游任务的最佳性能是通过1位量化权重实现的。

英文摘要:

Quantization-aware training (QAT) is an effective method to drastically reduce the memory footprint of LLMs while keeping performance degradation at an acceptable level. However, the optimal choice of quantization format and bit-width presents a challenge in practice. The full design space of quantization is not fully explored in the context of QAT, and the precise trade-off between quantization and downstream performance is poorly understood, as comparisons often rely solely on perplexity-based evaluations. In this work, we address these shortcomings with an empirical study of QAT in the low-bit regime. We show that k-means based weight quantization outperforms integer formats and can be implemented efficiently on standard hardware. Furthermore, we find that, under a fixed inference memory budget, the best performance on generative downstream tasks is achieved with $1$-bit quantized weights.

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

↑