提出新方法,让大模型在低资源设备上高效微调且不丢性能。
Quaff: Quantized Parameter-Efficient Fine-Tuning under Outlier Spatial Stability Hypothesis

- 发现激活值异常通道位置稳定,据此设计轻量抑制策略。
- 在Phi-3上实现30%内存减少、1.73倍加速,准确率还提升0.6%。
- 适合想用消费级显卡微调大模型的开发者和研究者。
大型语言模型在多个领域取得显著进展,但其在资源受限的个人设备上进行特定任务微调仍受制于高昂的计算与内存开销。尽管量化能提升效率,现有方法难以平衡性能与开销,或因高计算/内存成本,或未能解决量化微调中的激活值异常问题。为此,我们提出异常空间稳定性假设(OSSH):微调过程中,部分激活异常通道的空间位置保持稳定。基于此,我们提出Quaff——一种针对大模型的量化参数高效微调框架,通过针对性动量缩放优化低精度激活表示。Quaff动态仅在稳定通道中抑制异常值,采用轻量操作,无需全精度权重存储与全局重缩放,有效降低量化误差。十项基准测试验证了OSSH,并证明Quaff的有效性。在GPQA推理基准上,相对于全精度微调,Quaff实现1.73倍延迟降低与30%内存节省,同时在Phi-3模型上准确率提升0.6%,协调了效率、性能与可部署性的三重权衡。该方法使消费级显卡(如RTX 2080 Super)实现微调成为可能,推动个性化大模型部署普及。代码已开源:https://github.com/Little0o0/Quaff.git。
原文摘要 · Abstract (English)
Large language models (LLMs) have made exciting achievements across various domains, yet their deployment on resource-constrained personal devices remains hindered by the prohibitive computational and memory demands of task-specific fine-tuning. While quantization offers a pathway to efficiency, existing methods struggle to balance performance and overhead, either incurring high computational/memory costs or failing to address activation outliers, a critical bottleneck in quantized fine-tuning. To address these challenges, we propose the Outlier Spatial Stability Hypothesis (OSSH): During fine-tuning, certain activation outlier channels retain stable spatial positions across training iterations. Building on OSSH, we propose Quaff, a Quantized parameter-efficient fine-tuning framework for LLMs, optimizing low-precision activation representations through targeted momentum scaling. Quaff dynamically suppresses outliers exclusively in invariant channels using lightweight operations, eliminating full-precision weight storage and global rescaling while reducing quantization errors. Extensive experiments across ten benchmarks validate OSSH and demonstrate Quaff's efficacy. Specifically, on the GPQA reasoning benchmark, Quaff achieves a 1.73x latency reduction and 30% memory savings over full-precision fine-tuning while improving accuracy by 0.6% on the Phi-3 model, reconciling the triple trade-off between efficiency, performance, and deployability. By enabling consumer-grade GPU fine-tuning (e.g., RTX 2080 Super) without sacrificing model utility, Quaff democratizes personalized LLM deployment. The code is available at https://github.com/Little0o0/Quaff.git.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。