Skip to main content
QUICK REVIEW

[论文解读] Achieving Forgetting Prevention and Knowledge Transfer in Continual Learning

Zixuan Ke, Bing Liu|arXiv (Cornell University)|Dec 5, 2021
Domain Adaptation and Few-Shot LearningComputer Science被引用 44
一句话总结

本文提出 CTR,一种用于 BERT 的持续学习插件架构,使用 capsule 和 transfer routing 来防止灾难性遗忘并在 Task-CL 设置中实现跨 NLP 任务的知识迁移。结果显示 CTR 在若干数据集上优于强基线,同时仅使用一对插入 BERT 的 CL-plugin。

ABSTRACT

Continual learning (CL) learns a sequence of tasks incrementally with the goal of achieving two main objectives: overcoming catastrophic forgetting (CF) and encouraging knowledge transfer (KT) across tasks. However, most existing techniques focus only on overcoming CF and have no mechanism to encourage KT, and thus do not do well in KT. Although several papers have tried to deal with both CF and KT, our experiments show that they suffer from serious CF when the tasks do not have much shared knowledge. Another observation is that most current CL methods do not use pre-trained models, but it has been shown that such models can significantly improve the end task performance. For example, in natural language processing, fine-tuning a BERT-like pre-trained language model is one of the most effective approaches. However, for CL, this approach suffers from serious CF. An interesting question is how to make the best use of pre-trained models for CL. This paper proposes a novel model called CTR to solve these problems. Our experimental results demonstrate the effectiveness of CTR

研究动机与目标

  • 在 NLP 任务的 Task-CL 设置中动机化并解决灾难性遗忘(CF)。
  • 在学习一系列任务的同时,使相关任务之间实现前向和后向知识迁移。
  • 在持续学习中有效利用预训练模型(BERT),而无需对每个任务都进行微调。
  • 开发一个插件式 CL 架构(CTR),仅通过插入到 BERT 的一对 CL-plugin 即可工作。
  • 在多个人工智能任务和数据集上,展示出对强基线的最先进性能。

提出的方法

  • 在 transformer 层向 BERT 插入两个 CL-plugins,以避免微调基础模型,同时受益于迁移学习。
  • 每个 CL-plugin 包含一个知识共享模块(KSM)和一个带跳跃连接的任务特定模块(TSM)。
  • KSM 使用任务胶囊层、传输胶囊层,以及传输路由来通过传输路由机制识别并转移可共享的知识。
  • TSM 使用可微分掩码来保护任务特定知识,以防止跨任务遗忘。
  • CL-plugin 采用 Capsule Network(CapsNet)风格的架构,并具备传输路由过程,以从先前任务中选择可迁移的特征。

实验结果

研究问题

  • RQ1在仅对预训练模型进行极少微调的情况下,CTR 在学习一系列 NLP 任务(Task-CL)时能否防止灾难性遗忘?
  • RQ2与现有 CL 方法相比,CTR 是否在跨任务具有不同程度共享知识的情况下提高知识迁移?
  • RQ3将 CL-plugins 插入 BERT 的不同位置对持续学习性能有何影响?
  • RQ4在覆盖文档情感分类、方面情感分类和通用文本分类的数据集上,CTR 相对于强基线的表现如何?
  • RQ5单对 CL-plugins 是否足以在多样化的 NLP 任务中同时实现遗忘防止和知识迁移?

主要发现

  • CTR 在 ASC、DSC(小数据和全数据)以及 20News 任务上,在序列上的准确率和 Macro-F1 的平均值方面都优于所有基线。
  • 与微调的 BERT 和 Adapter-BERT 基线相比,CTR 实现了更出色的遗忘规避和知识迁移。
  • 使用 CL-plugin 的传输路由在知识迁移方法中的动态路由之上提供了显著提升,减少了超参数调整的需求。
  • CTR 的性能接近多任务学习(MTL)上限,表明在减缓 CF 的同时实现了有效的知识共享。
  • CTR 通过任务掩码展示了强记忆保护,能够在相似任务之间实现向后迁移,并对新任务实现稳健的向前迁移。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。