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

低秩适配的门控集成用于大型语言模型的持续学习

Gated Integration of Low-Rank Adaptation for Continual Learning of Large Language Models

National Key Laboratory for Novel Software Technology, School of Computer Science, Nanjing University, P. R. China(国家新型软件技术重点实验室,计算机科学学院,南京大学)

Yan-Shuo Liang, Jia-Rui Chen, Wu-Jun Li

AI总结:

针对大语言模型持续学习中LoRA分支导致遗忘的问题,提出门控集成方法GainLoRA,通过门控模块控制新旧分支影响,缓解遗忘并提升性能,实验优于现有方法。

摘要:

持续学习(CL)要求模型顺序学习多个任务,对于大型语言模型(LLMs)至关重要。近年来,低秩适配(LoRA)作为最具代表性的参数高效微调(PEFT)方法之一,在LLMs的持续学习中受到越来越多的关注。然而,大多数现有的基于LoRA的持续学习方法通常为每个新任务扩展一个新的LoRA分支,并强制新旧LoRA分支对旧任务产生同等影响,这可能导致遗忘。在这项工作中,我们提出了一种新方法,称为低秩适配的门控集成(GainLoRA),用于LLMs的持续学习。GainLoRA为每个新任务扩展一个新的LoRA分支,并引入门控模块来集成新旧LoRA分支。此外,GainLoRA利用新的门控模块来最小化新LoRA分支对旧任务的影响,有效缓解遗忘并提高模型的整体性能。在持续学习基准上的实验结果表明,GainLoRA优于现有的最先进方法。

英文摘要:

Continual learning (CL), which requires the model to learn multiple tasks sequentially, is crucial for large language models (LLMs). Recently, low-rank adaptation~(LoRA), one of the most representative parameter-efficient fine-tuning (PEFT) methods, has gained increasing attention in CL of LLMs. However, most existing CL methods based on LoRA typically expand a new LoRA branch to learn each new task and force the new and old LoRA branches to influence old tasks equally, potentially leading to forgetting. In this work, we propose a new method, called gated integration of low-rank adaptation (GainLoRA), for CL of LLMs. GainLoRA expands a new LoRA branch for each new task and introduces gating modules to integrate the new and old LoRA branches. Furthermore, GainLoRA leverages the new gating module to minimize the influence from the new LoRA branch to old tasks, effectively mitigating forgetting and improving the model's overall performance. Experimental results on CL benchmarks demonstrate that GainLoRA outperforms existing state-of-the-art methods.

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

↑