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

Squeeze10-LLM:通过分阶段混合精度量化方法将大语言模型权重压缩10倍

Squeeze10-LLM: Squeezing LLMs' Weights by 10 Times via a Staged Mixed-Precision Quantization Method

Beihang University(北航大学);Communication University of China(通信大学);Skywork AI;Beijing Jiaotong University(北京交通大学)

Qingcheng Zhu, Yangyang Ren, Linlin Yang, Yanjing Li, Sheng Xu, Haodong Zhu, Juan Zhang, Runqi Wang, Baochang Zhang

AI总结:

提出Squeeze10-LLM分阶段混合精度量化框架,将80%权重置1位、20%置4位,实现平均1.6位/权重,通过PBAR和FIAS创新在LLaMA上提升零样本准确率至56%。

摘要:

部署大型语言模型(LLM)因其庞大的参数规模和高计算成本而面临挑战。超低位宽量化可以显著减少存储并加速推理,但极端压缩(即平均位宽≤2)往往导致严重的性能下降。为解决这一问题,我们提出了Squeeze10-LLM,有效将16位LLM的权重“压缩”10倍。具体而言,Squeeze10-LLM是一个分阶段的混合精度训练后量化(PTQ)框架,通过将80%的权重量化为1位、20%的权重量化为4位,实现平均每权重1.6位。我们引入Squeeze10-LLM的两项关键创新:二值化后激活鲁棒性(PBAR)和全信息激活监督(FIAS)。PBAR是一种精细的权重重要性度量,考虑了量化对激活的影响,提高了低位宽设置下的准确性。FIAS是一种在量化过程中保留完整激活信息以减轻跨层累积误差传播的策略。在LLaMA和LLaMA2上的实验表明,Squeeze10-LLM在低于2位的仅权重量化中达到了最先进的性能,在六个零样本分类任务上将平均准确率从43%提升至56%,相比现有PTQ方法有显著提升。

英文摘要:

Deploying large language models (LLMs) is challenging due to their massive parameters and high computational costs. Ultra low-bit quantization can significantly reduce storage and accelerate inference, but extreme compression (i.e., mean bit-width <= 2) often leads to severe performance degradation. To address this, we propose Squeeze10-LLM, effectively "squeezing" 16-bit LLMs' weights by 10 times. Specifically, Squeeze10-LLM is a staged mixed-precision post-training quantization (PTQ) framework and achieves an average of 1.6 bits per weight by quantizing 80% of the weights to 1 bit and 20% to 4 bits. We introduce Squeeze10LLM with two key innovations: Post-Binarization Activation Robustness (PBAR) and Full Information Activation Supervision (FIAS). PBAR is a refined weight significance metric that accounts for the impact of quantization on activations, improving accuracy in low-bit settings. FIAS is a strategy that preserves full activation information during quantization to mitigate cumulative error propagation across layers. Experiments on LLaMA and LLaMA2 show that Squeeze10-LLM achieves state-of-the-art performance for sub-2bit weight-only quantization, improving average accuracy from 43% to 56% on six zero-shot classification tasks--a significant boost over existing PTQ methods.

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

↑