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

有限记忆下的有效Meta终身学习

Efficient Meta Lifelong-Learning with Limited Memory

Carnegie Mellon University(卡内基梅隆大学)

Zirui Wang, Sanket Vaibhav Mehta, Barnabás Póczos, Jaime Carbonell

摘要:

当前的自然语言处理模型在单个任务上工作得很好,但它们往往无法在不忘记先前任务的情况下持续学习新任务,因为它们在一生中都要重新训练,这是一种称为终身学习的挑战。最先进的终身语言学习方法将过去的例子存储在情景记忆中,并在训练和推理时重放它们。然而,正如我们在后面的实验中所展示的,有三个显著的障碍:(1)需要不切实际的大内存模块来实现良好的性能,(2)遭受负迁移,(3)需要多个局部适应步骤,以显着降低推理速度。在本文中,我们确定了终身学习方法的三个共同原则,并提出了一个有效的元终身框架,将它们以协同的方式结合起来。为了实现样本效率,我们的方法训练模型的方式,它学习一个更好的初始化局部适应。文本分类和问答基准测试的大量实验证明了我们的框架的有效性,通过仅使用1%的内存大小实现最先进的性能,并缩小了与多任务学习的差距。我们进一步表明,我们的方法可以同时消除灾难性遗忘和负迁移。

英文摘要:

Current natural language processing models work well on a single task, yet they often fail to continuously learn new tasks without forgetting previous ones as they are re-trained throughout their lifetime, a challenge known as lifelong learning. State-of-the-art lifelong language learning methods store past examples in episodic memory and replay them at both training and inference time. However, as we show later in our experiments, there are three significant impediments: (1) needing unrealistically large memory module to achieve good performance, (2) suffering from negative transfer, (3) requiring multiple local adaptation steps for each test example that significantly slows down the inference speed. In this paper, we identify three common principles of lifelong learning methods and propose an efficient meta-lifelong framework that combines them in a synergistic fashion. To achieve sample efficiency, our method trains the model in a manner that it learns a better initialization for local adaptation. Extensive experiments on text classification and question answering benchmarks demonstrate the effectiveness of our framework by achieving state-of-the-art performance using merely 1% memory size and narrowing the gap with multi-task learning. We further show that our method alleviates both catastrophic forgetting and negative transfer at the same time.

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

↑