让量化噪声集中在可修正区域,提升大模型压缩后微调效果
ProjQ: Project-and-Quantize for Adapter-Aware LLM Compression

- 通过正交投影将量化噪声限制在低秩子空间,便于后续适配器修复
- 在3比特下达到4比特基线性能,补偿误差降低2倍
- 适合需要高效部署且需微调的大模型场景
后训练量化(PTQ)与低秩适配(LoRA)是高效部署大语言模型的标准流程。然而,顺序应用时,PTQ常引入分布广泛的随机噪声,而LoRA受限于容量,难以修复此类噪声,导致其能力被浪费。本文提出ProjQ框架,通过正交子空间投影将量化噪声约束在低秩流形中。我们设计了一种高效的交替算法,使量化噪声呈现低秩结构,有效将主要误差分量转移至后续适配器,同时最小化正交“不可修正”子空间的残余误差。理论分析表明,ProjQ相比标准PTQ保留了更强的下游任务可塑性。在LLaMA-2、Qwen2.5和Qwen3上的大量实验验证,ProjQ在量化误差补偿和下游微调任务中均优于现有方法,补偿评估损失最高降低2倍,并在仅用3比特时达到4比特基线的语言建模性能。代码已开源。
原文摘要 · Abstract (English)
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 .
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。