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

LoRAMoE:通过MoE风格插件缓解大语言模型中的世界知识遗忘

LoRAMoE: Alleviate World Knowledge Forgetting in Large Language Models via MoE-Style Plugin

Fudan University(复旦大学);Hikvision Inc(海康威视公司)
Shihan Dou, Enyu Zhou, Yan Liu, Songyang Gao, Jun Zhao, Wei Shen, Yuhao Zhou, Zhiheng Xi, Xiao Wang, Xiaoran Fan, Shiliang Pu, Jiang Zhu, Rui Zheng, Tao Gui, Qi… 展开作者

Shihan Dou, Enyu Zhou, Yan Liu, Songyang Gao, Jun Zhao, Wei Shen, Yuhao Zhou, Zhiheng Xi, Xiao Wang, Xiaoran Fan, Shiliang Pu, Jiang Zhu, Rui Zheng, Tao Gui, Qi Zhang, Xuanjing Huang

AI总结:

针对大语言模型监督微调中指令数据扩容引发的世界知识遗忘问题,提出融合LoRA与路由网络的MoE风格插件框架LoRAMoE,在提升下游任务能力的同时保留原有世界知识。

摘要:

监督微调(SFT)是大语言模型(LLM)的关键步骤,能让模型对齐人类指令并提升下游任务能力。大幅增加指令数据是让模型适配更广泛下游任务或显著提升特定任务性能的直接方案。但我们发现,指令数据的大规模增长会损害LLM此前存储的世界知识。为解决这一问题,我们提出LoRAMoE这一新型框架,它引入多个低秩适配器(LoRA),并通过路由网络将其整合,类似混合专家(MoE)的插件版本。该框架冻结主干模型,强制一部分LoRA专注于利用世界知识解决下游任务,以缓解世界知识边缘遗忘。实验结果表明,随着指令数据增加,LoRAMoE能显著提升处理下游任务的能力,同时保留LLM中存储的世界知识。

英文摘要:

Supervised fine-tuning (SFT) is a crucial step for large language models (LLMs), enabling them to align with human instructions and enhance their capabilities in downstream tasks. Increasing instruction data substantially is a direct solution to align the model with a broader range of downstream tasks or notably improve its performance on a specific task. However, we find that large-scale increases in instruction data can damage the world knowledge previously stored in LLMs. To address this challenge, we propose LoRAMoE, a novelty framework that introduces several low-rank adapters (LoRA) and integrates them by using a router network, like a plugin version of Mixture of Experts (MoE). It freezes the backbone model and forces a portion of LoRAs to focus on leveraging world knowledge to solve downstream tasks, to alleviate world knowledge-edge forgetting. Experimental results show that, as the instruction data increases, LoRAMoE can significantly improve the ability to process downstream tasks, while maintaining the world knowledge stored in the LLM.

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

↑