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

少即是多:用于高效微调 LLM 的极端梯度提升秩-1适配

Less is More: Extreme Gradient Boost Rank-1 Adaption for Efficient Finetuning of LLMs

Nanyang Technological University(南洋理工大学);The Chinese University of Hong Kong(香港中文大学);Data61;CSIRO(联邦科学与工业研究组织);Tsinghua University(清华大学);Australian National University(澳大利亚国立大学)

Yifei Zhang, Hao Zhu, Aiwei Liu, Han Yu, Piotr Koniusz, Irwin King

AI总结:

本文提出 XGBLoRA,通过梯度提升式迭代学习并合并秩-1 LoRA 适配,弥合低秩微调实际性能与理论最优的差距,以更少可训练参数达到接近全量微调的效果。

摘要:

微调大型语言模型(LLM)已成为使预训练模型适配下游任务的一项关键技术。然而,LLM 的庞大规模在计算复杂度和资源需求方面带来了重大挑战。低秩适配(LoRA)已成为一种颇具前景的解决方案。但是,低秩适配的实际性能与其理论最优之间仍存在差距。在本工作中,我们提出 eXtreme Gradient Boosting LoRA(XGBLoRA),这是一个通过利用集成学习的力量来弥合该差距的新颖框架。受梯度提升启发,XGBLoRA 迭代地学习并合并一系列 LoRA 适配,以改进模型预测。它取得了优于标准 LoRA 的性能,同时享有秩-1适配的计算效率。我们提供理论分析以证明该方法的收敛性和最优性,并在一系列自然语言处理任务上开展大量实验。结果表明,XGBLoRA 始终优于标准 LoRA,并且以显著更少的可训练参数达到与全量微调相当的性能。本工作推进了 LLM 的参数高效微调,并为在优化性能和效率的同时使 LLM 适配下游任务提供了一种有前景的解决方案。

英文摘要:

Fine-tuning Large Language Models (LLMs) has become a crucial technique for adapting pre-trained models to downstream tasks. However, the enormous size of LLMs poses significant challenges in terms of computational complexity and resource requirements. Low-Rank Adaptation (LoRA) has emerged as a promising solution. However, there exists a gap between the practical performance of low-rank adaptations and its theoretical optimum. In this work, we propose eXtreme Gradient Boosting LoRA (XGBLoRA), a novel framework that bridges this gap by leveraging the power of ensemble learning. Inspired by gradient boosting, XGBLoRA iteratively learns and merges a sequence of LoRA adaptations to refine model predictions. It achieves better performance than the standard LoRA, while enjoying the computational efficiency of rank-1 adaptations. We provide theoretical analysis to show the convergence and optimality of our approach, and conduct extensive experiments on a range of natural language processing tasks. The results demonstrate that XGBLoRA consistently outperforms standard LoRA and achieves performance comparable to full fine-tuning with significantly fewer trainable parameters. This work advances parameter-efficient fine-tuning for LLMs, and offers a promising solution for adapting LLMs to downstream tasks while optimizing performance and efficiency.

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

↑