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

LoPRo:通过置换块旋转增强低秩量化

LoPRo: Enhancing Low-Rank Quantization via Permuted Block-Wise Rotation

Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Beijing University of Aeronautics and Astronautics(北京航空航天大学)

Hongyaoxing Gu, Lijuan Hu, Liye Yu, Haowei Li, Fangfang Liu

AI总结:

LoPRo通过块置换和沃尔什-哈达玛变换提升低秩量化精度,实现无需微调的高效模型压缩。

摘要:

后训练量化(PTQ)能够在保持相对较高精度的同时实现有效的模型压缩。当前仅权重的PTQ方法主要集中在具有挑战性的子3位域,其中方法通常会遭受显著的精度下降,通常需要微调才能获得具有竞争力的性能。在本工作中,我们重新审视了权重量化的基本特性,并分析了在低秩近似下残差矩阵量化所面临的挑战。我们提出了LoPRo,一种新的无需微调的PTQ算法,通过应用块置换和沃尔什-哈达玛变换来旋转相似重要性的列,同时显式地保持最显著列块的量化精度。此外,我们引入了一种基于秩-1草图(R1SVD)的混合精度快速低秩分解,以进一步减少量化成本。实验表明,LoPRo在2位和3位量化上均优于现有的无需微调的PTQ方法,实现了与微调基线相当的精度。具体来说,LoPRo在LLaMA-2和LLaMA-3系列模型上实现了最先进的量化精度,同时提供了高达4倍的速度提升。在MoE模型Mixtral-8x7B中,LoPRo在2.5小时内完成量化,同时将困惑度降低了0.4↓,并将精度提高了8%↑。此外,与其他低秩量化方法相比,LoPRo在显著较低的秩下实现了更优的精度,同时保持了较高的推理效率和最小的额外延迟。

英文摘要:

Post-training quantization (PTQ) enables effective model compression while preserving relatively high accuracy. Current weight-only PTQ methods primarily focus on the challenging sub-3-bit regime, where approaches often suffer significant accuracy degradation, typically requiring fine-tuning to achieve competitive performance. In this work, we revisit the fundamental characteristics of weight quantization and analyze the challenges in quantizing the residual matrix under low-rank approximation. We propose LoPRo, a novel fine-tuning-free PTQ algorithm that enhances residual matrix quantization by applying block-wise permutation and Walsh-Hadamard transformations to rotate columns of similar importance, while explicitly preserving the quantization accuracy of the most salient column blocks. Furthermore, we introduce a mixed-precision fast low-rank decomposition based on rank-1 sketch (R1SVD) to further minimize quantization costs. Experiments demonstrate that LoPRo outperforms existing fine-tuning-free PTQ methods at both 2-bit and 3-bit quantization, achieving accuracy comparable to fine-tuning baselines. Specifically, LoPRo achieves state-of-the-art quantization accuracy on LLaMA-2 and LLaMA-3 series models while delivering up to a 4$\times$ speedup. In the MoE model Mixtral-8x7B, LoPRo completes quantization within 2.5 hours, simultaneously reducing perplexity by 0.4$\downarrow$ and improving accuracy by 8\%$\uparrow$. Moreover, compared to other low-rank quantization methods, LoPRo achieves superior accuracy with a significantly lower rank, while maintaining high inference efficiency and minimal additional latency.

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

↑