[论文解读] LoPRo: Enhancing Low-Rank Quantization via Permuted Block-Wise Rotation
LoPRo 是一种无需微调的后训练量化(PTQ)方法,通过置换列排序和部分块 Walsh-Hadamard 旋转来增强残差低秩量化,并加入一个一阶随机 SVD 细化以降低存储与计算开销。
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$ imes$ 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.
研究动机与目标
- 分析在 PTQ 的低秩近似下对残差进行量化的挑战。
- 开发一种无需微调的算法,在保持精度的同时尽量减少内存与延迟。
- 提出基于置换的列重要性处理与部分块旋转以改进残差量化。
- 引入快速的一阶 SVD(R1SVD)以实现低开销的低秩近似并节省存储。
- 在 LLaMA-2/3 与 Mixtral-8x7B 上展示最先进的准确性,并实现高效的运行时。
提出的方法
- 提出 Low-rank Partial Rotation Quantization(LoPRo),将低秩分解与残差旋转相结合。
- 通过代理 Hessian 对列进行置换,将重要列移动到前导位置。
- 使用部分块 Walsh-Hadamard 旋转对残差信号进行去相关,同时保留顶部重要列。
- 将量化残差与低秩分量解耦,以便利用现有的 R′ 量化方法。
- 引入一阶 SVD(R1SVD)以实现高效、低开销的低秩近似和存储节省。
- 给出压缩与延迟的形式化分析,证明在 b 相关批量与可控的 r 和块大小下呈线性延迟。

实验结果
研究问题
- RQ1在无需微调的情况下,如何在低秩 PTQ 设置中改进残差量化?
- RQ2置换与部分旋转是否能在提升残差量化的同时保持重要通道?
- RQ3一阶草图化方法对 LoPRo 的存储与计算有何影响?
- RQ4与其他无需微调的 PTQ 方法相比,LoPRo 在 LLM 的精度与延迟表现如何?
- RQ5是否可以使用 LoPRo 在 LLaMA-2/3 与 Mixtral 模型上达到最先进的量化精度?
主要发现
- LoPRo 在 2-bit 与 3-bit 量化下的精度高于现有的无需微调的 PTQ 方法。
- 带列置换的部分块旋转通过保留重要列来降低量化损失。
- R1SVD 显著降低存储开销,同时保持性能。
- LoPRo 能在单个 GPU 上对 7B 模型进行量化在不到 0.5 小时内完成,对 8x7B 模型也在大约 3 小时内完成。
- LoPRo 在 LLaMA-2/3 系列上实现最先进的精度,并通过减小延迟来提升 Mixtral-8x7B 的困惑度与准确性。
- 与其他低秩量化方法相比,LoPRo 在较低秩和高推理效率条件下实现了更好的精度。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。