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

QDyLoRA:用于高效大型语言模型微调的量化动态低秩适应

QDyLoRA: Quantized Dynamic Low-Rank Adaptation for Efficient Large Language Model Tuning

University of Waterloo(滑铁卢大学);Huawei Noah’s Ark Lab(华为诺亚实验室)

Hossein Rajabzadeh, Mojtaba Valipour, Tianshu Zhu, Marzieh Tahaei, Hyock Ju Kwon, Ali Ghodsi, Boxing Chen, Mehdi Rezagholizadeh

AI总结:

本文提出QDyLoRA,一种量化动态低秩适应方法,支持在单块32GB V100-GPU上通过一轮微调同时训练Falcon-40b的秩1至64,解决了QLoRA固定秩限制问题,并在最优秩下优于QLoRA。

摘要:

微调大型语言模型需要巨大的GPU内存,这限制了获取更大模型的选择。尽管低秩适应技术的量化版本QLoRA显著缓解了这一问题,但寻找高效的LoRA秩仍然具有挑战性。此外,QLoRA在预定义的秩上进行训练,因此如果不进一步进行微调步骤,就无法重新配置为更低的秩。本文提出QDyLoRA——量化动态低秩适应,作为一种用于动态低秩适应的高效量化方法。受Dynamic LoRA启发,QDyLoRA能够在一组预定义的LoRA秩上高效微调LLM。QDyLoRA通过一轮微调,即可在单块32 GB V100-GPU上对Falcon-40b进行秩1到64的微调。实验结果表明,QDyLoRA与QLoRA具有竞争力,并在采用其最优秩时表现更优。

英文摘要:

Finetuning large language models requires huge GPU memory, restricting the choice to acquire Larger models. While the quantized version of the Low-Rank Adaptation technique, named QLoRA, significantly alleviates this issue, finding the efficient LoRA rank is still challenging. Moreover, QLoRA is trained on a pre-defined rank and, therefore, cannot be reconfigured for its lower ranks without requiring further fine-tuning steps. This paper proposes QDyLoRA -Quantized Dynamic Low-Rank Adaptation-, as an efficient quantization approach for dynamic low-rank adaptation. Motivated by Dynamic LoRA, QDyLoRA is able to efficiently finetune LLMs on a set of pre-defined LoRA ranks. QDyLoRA enables fine-tuning Falcon-40b for ranks 1 to 64 on a single 32 GB V100-GPU through one round of fine-tuning. Experimental results show that QDyLoRA is competitive to QLoRA and outperforms when employing its optimal rank.

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

↑