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

开放世界中的域增量终身学习

Domain Incremental Lifelong Learning in an Open World

Tsinghua University(清华大学);Alibaba Group(阿里巴巴集团)

Yi Dai, Hao Lang, Yinhe Zheng, Bowen Yu, Fei Huang, Yongbin Li

AI总结:

本文提出Diana,一种基于动态架构和提示增强语言模型的终身学习模型,通过层次化提示和提示键向量处理域增量任务,在未见任务上优于现有方法。

摘要:

终身学习(LL)是自然语言处理(NLP)模型持续学习新任务的重要能力。基于架构的方法被认为是实现终身学习模型的有效途径。然而,将先前的方法扩展到域增量终身学习场景并非易事,因为这些方法要么在测试阶段需要访问任务标识,要么无法处理来自未见任务的样本。在本文中,我们提出了Diana:一种动态架构的终身学习模型,它尝试使用提示增强的语言模型来学习一系列任务。Diana使用四种层次化组织的提示来捕获不同粒度的知识。具体来说,我们专门使用任务级提示来捕获任务特定知识,以保持较高的终身学习性能,并维护实例级提示来学习输入样本间共享的知识,以提高模型的泛化性能。此外,我们专门设置单独的提示来显式建模未见任务,并引入一组提示键向量以促进任务间的知识共享。大量实验表明,Diana在应对未见任务方面优于最先进的终身学习模型。我们在https://github.com/AlibabaResearch/DAMO-ConvAI/tree/main/diana发布了代码和数据。

英文摘要:

Lifelong learning (LL) is an important ability for NLP models to learn new tasks continuously. Architecture-based approaches are reported to be effective implementations for LL models. However, it is non-trivial to extend previous approaches to domain incremental LL scenarios since they either require access to task identities in the testing phase or cannot handle samples from unseen tasks. In this paper, we propose \textbf{Diana}: a \underline{d}ynam\underline{i}c \underline{a}rchitecture-based lifelo\underline{n}g le\underline{a}rning model that tries to learn a sequence of tasks with a prompt-enhanced language model. Four types of hierarchically organized prompts are used in Diana to capture knowledge from different granularities. Specifically, we dedicate task-level prompts to capture task-specific knowledge to retain high LL performances and maintain instance-level prompts to learn knowledge shared across input samples to improve the model's generalization performance. Moreover, we dedicate separate prompts to explicitly model unseen tasks and introduce a set of prompt key vectors to facilitate knowledge sharing between tasks. Extensive experiments demonstrate that Diana outperforms state-of-the-art LL models, especially in handling unseen tasks. We release the code and data at \url{https://github.com/AlibabaResearch/DAMO-ConvAI/tree/main/diana}.

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

↑