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

ProjQ:面向适配器感知的大语言模型压缩的投影与量化

ProjQ: Project-and-Quantize for Adapter-Aware LLM Compression

University of California, Berkeley(加州大学伯克利分校)

Wenya Yu, Chao Zhang, Li Wang, Samson Lasaulce, Merouane Debbah

AI总结:

提出ProjQ框架,通过正交子空间投影将量化噪声约束到低秩流形,利用交替算法将主导误差卸载给适配器,实现更优的量化误差补偿和下游任务微调。

摘要:

训练后量化(PTQ)和低秩适配(LoRA)构成了高效大语言模型(LLM)部署的标准流程。然而,顺序应用它们会带来一个问题:PTQ常常留下分散(在模型权重中)的随机噪声,LoRA难以轻易修复,这意味着LoRA最终会浪费其有限的容量来试图修复不可校正的噪声,而不是提高任务性能。在本文中,我们提出了 extbf{ProjQ},一种通过正交子空间投影将量化噪声约束到低秩流形的新框架。我们推导出一种高效的交替算法,将量化噪声塑造成低秩结构,有效地将主导误差分量卸载给后续适配器,同时最小化正交“不可校正”子空间中的残差误差。我们的理论分析表明,与标准PTQ相比,ProjQ为下游任务保留了严格更大的模型可塑性。在LLaMA-2、Qwen2.5和Qwen3上的大量实验证实,ProjQ在量化误差补偿和下游任务微调方面均持续优于现有方法,在补偿方面实现了高达$2 imes$的评估损失降低,并且仅用3比特就达到了标准4比特基线在语言建模任务上的性能。代码可在https://github.com/yy9301/ProjQ获取。

英文摘要:

Post-Training Quantization (PTQ) and Low-Rank Adaptation (LoRA) constitute the standard pipeline for efficient Large Language Model (LLM) deployment. However, applying them sequentially poses a problem: PTQ often leaves behind random noise that is spread out (across the model's weights) in a way LoRA can't easily fix, meaning that LoRA ends up wasting its limited capacity trying to fix uncorrectable noise instead of improving task performance. In this paper, we propose \textbf{ProjQ}, a novel framework for constraining quantization noise to the low-rank manifold via orthogonal subspace projection. We derive an efficient alternating algorithm that shapes the quantization noise into a low-rank structure, effectively offloading dominant error components to the subsequent adapter while minimizing the residual error in the orthogonal "uncorrectable" subspace. Our theoretical analysis demonstrates that ProjQ preserves strictly greater model plasticity for downstream tasks compared to standard PTQ. Extensive experiments on LLaMA-2, Qwen2.5 and Qwen3 confirm that ProjQ consistently outperforms existing methods in both quantization error compensation and downstream task fine-tuning, achieving up to $2\times$ lower evaluation loss for compensation and matching the performance of standard 4-bit baselines on language modeling tasks with only 3 bits. The code is available on https://github.com/yy9301/ProjQ .

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

↑