arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.08666cs.LGcs.AI
收藏

DeltaDQ:通过Group-wise Dropout和Separate Quantization实现微调LLM的超高Delta压缩

DeltaDQ: Ultra-High Delta Compression for Fine-Tuned LLMs via Group-wise Dropout and Separate Quantization

College of Computer Science, Nankai University(南开大学计算机学院);Alibaba Inc(阿里巴巴公司)

Yanfeng Jiang, Zelan Yang, Bohua Chen, Shen Li, Yong Li, Tao Li

AI总结:

提出DeltaDQ框架,利用Group-wise Dropout和Separate Quantization对微调LLM的delta权重进行超高压缩,在保持或提升精度的同时实现高达512倍压缩比。

摘要:

大型语言模型通过监督微调在各种下游任务中取得卓越性能。然而,下游任务的多样性与实际需求使得部署多个全参数微调模型极具挑战。当前压缩delta权重的方法难以实现超高压缩,无法最小化部署开销。为解决上述问题,我们提出一种新颖的分布驱动delta压缩框架DeltaDQ,利用Group-wise Dropout和Separate Quantization对delta权重实现超高压缩。我们观察到,delta权重的矩阵计算中间结果展现出极小的方差和极小的min-max范围特性,称为Balanced Intermediate Results。利用这一现象,我们引入Group-wise Dropout,以最优组大小对delta权重执行dropout。此外,使用Separate Quantization,对稀疏权重进行量化与分解以实现更低比特。实验结果表明,在不同参数规模的WizardMath和WizardCoder模型上,与基线相比,DeltaDQ实现了16倍压缩并提升了准确率。此外,DeltaDQ展现出超高压缩比能力,对WizardMath-7B模型实现128倍压缩,对WizardMath-70B模型实现512倍压缩。

英文摘要:

Large language models achieve exceptional performance on various downstream tasks through supervised fine-tuning. However, the diversity of downstream tasks and practical requirements makes deploying multiple full-parameter fine-tuned models challenging. Current methods that compress the delta weight struggle to achieve ultra-high compression, failing to minimize the deployment overhead. To address the above issue, we propose a novel distribution-driven delta compression framework DeltaDQ, which utilizes Group-wise Dropout and Separate Quantization to achieve ultra-high compression for the delta weight. We have observed that the matrix-computed intermediate results for the delta weight exhibit extremely small variance and min-max range characteristics, referred to as Balanced Intermediate Results. Exploiting this phenomenon, we introduce Group-wise Dropout to perform dropout on the delta weight using an optimal group size. Furthermore, using Separate Quantization, sparse weights are quantized and decomposed to achieve a lower bit. Experimental results show that DeltaDQ achieves 16x compression with improved accuracy compared to baselines for WizardMath and WizardCoder models across different parameter scales. Moreover, DeltaDQ demonstrates the ability for ultra-high compression ratio, achieving 128x compression for the WizardMath-7B model and 512x compression for the WizardMath-70B model.

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

↑