通过提示调优缓解少样本持续学习中的知识遗忘问题
Prompt Tuning for Few-Shot Continual Learning Named Entity Recognition
- 设计可扩展的锚点词提示调优机制,衔接预训练与微调
- 引入记忆演示模板提供历史任务样本,避免少样本蒸馏困境
- 适合少样本场景下需持续学习实体识别的模型研究者
知识蒸馏在持续学习命名实体识别(CLNER)中表现良好,通过用旧类数据训练的教师模型,将旧类实体信息作为正则化项,防止灾难性遗忘。然而,在少样本持续学习命名实体识别(FS-CLNER)中,新类实体稀缺导致模型推理时泛化能力不足。更关键的是,缺乏旧类实体信息使得旧知识蒸馏难以进行,导致陷入我们称之为“少样本蒸馏困境”的局面。本文提出一种提示调优范式与记忆演示模板策略来解决上述挑战。具体而言,设计了面向可扩展锚点词的提示调优(APT)机制,弥合预训练与微调之间的差距,提升少样本场景下的性能。同时,将记忆演示模板(MDT)融入每个训练实例,提供前序任务的重放样本,不仅缓解了少样本蒸馏困境,还促进上下文学习。实验表明,该方法在FS-CLNER任务上取得了具有竞争力的表现。
原文摘要 · Abstract (English)
Knowledge distillation has been successfully applied to Continual Learning Named Entity Recognition (CLNER) tasks, by using a teacher model trained on old-class data to distill old-class entities present in new-class data as a form of regularization, thereby avoiding catastrophic forgetting. However, in Few-Shot CLNER (FS-CLNER) tasks, the scarcity of new-class entities makes it difficult for the trained model to generalize during inference. More critically, the lack of old-class entity information hinders the distillation of old knowledge, causing the model to fall into what we refer to as the Few-Shot Distillation Dilemma. In this work, we address the above challenges through a prompt tuning paradigm and memory demonstration template strategy. Specifically, we designed an expandable Anchor words-oriented Prompt Tuning (APT) paradigm to bridge the gap between pre-training and fine-tuning, thereby enhancing performance in few-shot scenarios. Additionally, we incorporated Memory Demonstration Templates (MDT) into each training instance to provide replay samples from previous tasks, which not only avoids the Few-Shot Distillation Dilemma but also promotes in-context learning. Experiments show that our approach achieves competitive performances on FS-CLNER.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。