arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.09282cs.LGcs.CL
收藏

CRVQ:用于大语言模型(LLMs)极致压缩的通道松弛向量量化

CRVQ: Channel-Relaxed Vector Quantization for Extreme Compression of LLMs

Research Center for Social Computing and Interactive Robotics (SCIR)(社会计算与交互机器人研究中心);Harbin Institute of Technology(哈尔滨工业大学)

Yuzhuang Xu, Shiyu Ji, Qingfu Zhu, Wanxiang Che

AI总结:

针对大语言模型低计算成本部署需求,提出通道松弛向量量化(CRVQ)技术,通过关键权重通道筛选重排与扩展码本松弛约束,在2比特以下PTQ基线上提升38.9%性能,支持近乎无损1比特压缩并提供灵活部署选项。

摘要:

强大的大语言模型(LLMs)越来越需要以更低的计算成本部署,以在资源受限设备上发挥其能力。训练后量化(PTQ)已成为实现这一目标的重要方法,最佳方法可将权重平均压缩至小于2比特。本文提出通道松弛向量量化(CRVQ),这是一种新技术,仅以极少额外比特为代价显著提升PTQ基线的性能。这种最先进的极致压缩方法通过两项关键创新实现其效果:(1)精心选择并重新排序极小部分关键权重通道;(2)利用扩展码本松弛关键通道的约束。我们的方法在当前最强的2比特以下PTQ基线上实现了38.9%的性能提升,支持近乎无损的1比特压缩。此外,该方法可灵活定制量化比特宽度和性能,为不同硬件平台提供更广泛的部署选项。

英文摘要:

Powerful large language models (LLMs) are increasingly expected to be deployed with lower computational costs, enabling their capabilities on resource-constrained devices. Post-training quantization (PTQ) has emerged as a star approach to achieve this ambition, with best methods compressing weights to less than 2 bit on average. In this paper, we propose Channel-Relaxed Vector Quantization (CRVQ), a novel technique that significantly improves the performance of PTQ baselines at the cost of only minimal additional bits. This state-of-the-art extreme compression method achieves its results through two key innovations: (1) carefully selecting and reordering a very small subset of critical weight channels, and (2) leveraging extended codebooks to relax the constraint of critical channels. With our method, we demonstrate a 38.9\% improvement over the current strongest sub-2-bit PTQ baseline, enabling nearer lossless 1-bit compression. Furthermore, our approach offers flexible customization of quantization bit-width and performance, providing a wider range of deployment options for diverse hardware platforms.

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

↑