arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.07470cs.CL
收藏

具备广义持续学习能力的可扩展语言模型

Scalable Language Model with Generalized Continual Learning

The Chinese University of Hong Kong(香港中文大学);SMartMore

Bohao Peng, Zhuotao Tian, Shu Liu, Mingchang Yang, Jiaya Jia

AI总结:

针对现有持续学习方法依赖经验回放、需推理任务ID等局限,提出结合动态任务相关知识检索的联合自适应重参数化方法,构建可扩展语言模型,在多骨干、多基准及全/少样本场景下实现低遗忘的最优性能,并拓展至多领域多任务类型应用。

摘要:

持续学习因能助力语言模型获取并完善可扩展的知识与技能,其重要性日益凸显。然而,现有方法在现实场景中通常面临严格的局限与挑战,例如依赖经验回放、存在优化约束以及需要推理任务ID。本研究提出可扩展语言模型(Scalable Language Model, SLM),在更具挑战性的广义场景下突破上述局限,是持续学习迈向实际应用的重要进展。具体而言,我们提出联合自适应重参数化(Joint Adaptive Re-Parameterization, JARe)方法,并结合动态任务相关知识检索(Dynamic Task-related Knowledge Retrieval, DTKR),使语言模型能根据特定下游任务进行自适应调整。该方法利用向量空间内的任务分布,旨在实现平滑、简便的持续学习过程。我们的方法在多种骨干模型和基准测试上展现出最先进性能,在全样本和少样本场景下均能实现有效的持续学习,且遗忘程度极低。此外,以往研究主要聚焦于分类等单一任务类型,本研究则更进一步,借助大语言模型即LLaMA-2,探索跨不同领域和任务类型的效果,使单个语言模型能够良好地扩展至更广泛的应用场景。

英文摘要:

Continual learning has gained increasing importance as it facilitates the acquisition and refinement of scalable knowledge and skills in language models. However, existing methods typically encounter strict limitations and challenges in real-world scenarios, such as reliance on experience replay, optimization constraints, and inference task-ID. In this study, we introduce the Scalable Language Model (SLM) to overcome these limitations within a more challenging and generalized setting, representing a significant advancement toward practical applications for continual learning. Specifically, we propose the Joint Adaptive Re-Parameterization (JARe), integrated with Dynamic Task-related Knowledge Retrieval (DTKR), to enable adaptive adjustment of language models based on specific downstream tasks. This approach leverages the task distribution within the vector space, aiming to achieve a smooth and effortless continual learning process. Our method demonstrates state-of-the-art performance on diverse backbones and benchmarks, achieving effective continual learning in both full-set and few-shot scenarios with minimal forgetting. Moreover, while prior research primarily focused on a single task type such as classification, our study goes beyond, with the large language model, i.e., LLaMA-2, to explore the effects across diverse domains and task types, such that a single language model can be decently scaled to broader applications.

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

↑