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

利用量化感知尺度学习推进多模态大语言模型的高效适配

Advancing Multimodal Large Language Models with Quantization-Aware Scale Learning for Efficient Adaptation

Xiamen University(厦门大学);SkyWork AI

Jingjing Xie, Yuxin Zhang, Mingbao Lin, Liujuan Cao, Rongrong Ji

AI总结:

本文首次研究多模态大语言模型的参数量化,提出QSLAW方法,通过分组尺度因子学习和多模态预热,在保持模型性能的同时将视觉-语言微调时间和GPU消耗降低最多1.4倍。

摘要:

本文首次研究了参数量化在多模态大语言模型中的潜力,以缓解视觉-语言指令微调过程中面临的显著资源限制。我们提出了一种基于多模态预热(Warmup)的量化感知尺度学习方法,称为QSLAW。该方法基于两项关键创新:(1)为量化后的LLM权重学习分组尺度因子,以减轻由激活异常值引起的量化误差,从而实现更有效的视觉-语言指令微调;(2)实施多模态预热,逐步整合语言和多模态训练样本,从而防止量化模型对多模态数据过拟合,同时确保多模态大语言模型稳定适配下游视觉-语言任务。大量实验表明,通过QSLAW量化的模型性能与全精度模型相当,甚至更优,同时将视觉-语言微调时间和GPU消耗最多降低1.4倍。我们的代码已发布在https://github.com/xjjxmu/QSLAW。

英文摘要:

This paper presents the first study to explore the potential of parameter quantization for multimodal large language models to alleviate the significant resource constraint encountered during vision-language instruction tuning. We introduce a Quantization-aware Scale LeArning method based on multimodal Warmup, termed QSLAW. This method is grounded in two key innovations: (1) The learning of group-wise scale factors for quantized LLM weights to mitigate the quantization error arising from activation outliers and achieve more effective vision-language instruction tuning; (2) The implementation of a multimodal warmup that progressively integrates linguistic and multimodal training samples, thereby preventing overfitting of the quantized model to multimodal data while ensuring stable adaptation of multimodal large language models to downstream vision-language tasks. Extensive experiments demonstrate that models quantized by QSLAW perform on par with, or even surpass, their full-precision counterparts, while facilitating up to 1.4 times reduction in VL tuning time and GPU consumption. Our code is released at https://github.com/xjjxmu/QSLAW.

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

↑