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

SAPT:一种用于大语言模型参数高效持续学习的共享注意力框架

SAPT: A Shared Attention Framework for Parameter-Efficient Continual Learning of Large Language Models

Harbin Institute of Technology(哈尔滨工业大学);Du Xiaoman (Beijing) Science Technology Co., Ltd.(度小满(北京)科技有限公司)

Weixiang Zhao, Shilong Wang, Yulin Hu, Yanyan Zhao, Bing Qin, Xuanyu Zhang, Qing Yang, Dongliang Xu, Wanxiang Che

AI总结:

本文提出共享注意力框架SAPT,通过对齐参数高效微调学习模块与任务选择模块,同时缓解大语言模型持续学习中的灾难性遗忘和知识迁移问题,并在多个模型规模、架构及未见任务上验证了其优越性。

摘要:

持续学习(CL)能力对于在动态世界中部署大语言模型(LLMs)至关重要。现有方法设计学习模块,通过参数高效微调(PET)块获取任务特定知识,并设计选择模块为测试输入挑选相应模块,旨在应对CL中的灾难性遗忘和知识迁移挑战。然而,这些方法往往只解决其中一个挑战,忽视了将两个模块对齐以同时有效应对灾难性遗忘和知识迁移的潜力。为此,我们提出了一种新颖的共享注意力框架(SAPT),通过共享注意力学习与选择模块来对齐PET学习和选择。在两个CL基准上的大量实验证明了SAPT的优越性。此外,当我们将SAPT扩展到不同模型规模(从770M到13B)、不同模型架构(T5和LLaMA-2)以及未见任务时,SAPT始终表现出其优越性。

英文摘要:

The continual learning (CL) ability is vital for deploying large language models (LLMs) in the dynamic world. Existing methods devise the learning module to acquire task-specific knowledge with parameter-efficient tuning (PET) block and the selection module to pick out the corresponding one for the testing input, aiming at handling the challenges of catastrophic forgetting and knowledge transfer in CL. However, these methods tend to address only one of the challenges, ignoring the potential of aligning the two modules to effectively address catastrophic forgetting and knowledge transfer simultaneously. To this end, we propose a novel Shared Attention Framework (SAPT), to align the PET learning and selection via the Shared Attentive Learning \& Selection module. Extensive Experiments on two CL benchmarks demonstrate the superiority of SAPT. Moreover, SAPT consistently demonstrates its superiority when we scale it to different model sizes (from 770M to 13B), different model architectures (T5 and LLaMA-2) and unseen tasks.

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

↑