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

用于语言模型持续学习的正交子空间学习

Orthogonal Subspace Learning for Language Model Continual Learning

Fudan University(复旦大学);International Human Phenome Institutes (Shanghai)(上海国际人类表型组研究院)

Xiao Wang, Tianze Chen, Qiming Ge, Han Xia, Rong Bao, Rui Zheng, Qi Zhang, Tao Gui, Xuanjing Huang

AI总结:

本文提出O-LoRA方法,通过在相互正交的低秩子空间中学习不同任务,有效缓解了语言模型持续学习中的灾难性遗忘,且无需存储数据,在保持泛化能力上优于现有方法。

摘要:

得益于海量语料库和先进硬件,大型语言模型(LLMs)在语言理解和生成方面展现出卓越能力。然而,在连续遇到多个任务的场景下,其性能会下降,这也被称为灾难性遗忘。在本文中,我们提出了正交低秩适应(O-LoRA),一种简单高效的语言模型持续学习方法,能在学习新任务的同时有效缓解灾难性遗忘。具体而言,O-LoRA在不同的(低秩)向量子空间中学习任务,这些子空间彼此保持正交以最小化干扰。该方法仅带来边际额外参数成本,且无需用户数据存储进行重放。持续学习基准上的实验结果表明,该方法优于当前最先进的方法。此外,与以往方法相比,该方法在保持LLMs对未见任务的泛化能力方面表现更优。

英文摘要:

Benefiting from massive corpora and advanced hardware, large language models (LLMs) exhibit remarkable capabilities in language understanding and generation. However, their performance degrades in scenarios where multiple tasks are encountered sequentially, also known as catastrophic forgetting. In this paper, we propose orthogonal low-rank adaptation (O-LoRA), a simple and efficient approach for continual learning in language models, effectively mitigating catastrophic forgetting while learning new tasks. Specifically, O-LoRA learns tasks in different (low-rank) vector subspaces that are kept orthogonal to each other in order to minimize interference. Our method induces only marginal additional parameter costs and requires no user data storage for replay. Experimental results on continual learning benchmarks show that our method outperforms state-of-the-art methods. Furthermore, compared to previous approaches, our method excels in preserving the generalization ability of LLMs on unseen tasks.

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

↑