Prompt Tuning for Few-Shot Continual Learning Named Entity Recognition

Zhe Ren
8/10/2025
cs.CL

No official code found. Best implementation: rzhub/fewshotCLNER (0 stars, last commit 2025-04-23).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

rzhub/fewshotCLNERCommunity66%

This repository contains the source code for our 2025 paper on Prompt Tuning for Few-Shot Continual Learning Named Entity Recognition. The project integrates prompt-based fine-tuning and knowledge distillation to address the challenges of continual NER under few-shot settings.

01Shell, PythonApr 16, 20251 years ago

Similar Papers

Cite this paper

@article{ren2025prompt,
  title  = {Prompt Tuning for Few-Shot Continual Learning Named Entity Recognition},
  author = {Zhe Ren},
  year   = {2025},
  eprint = {2508.07248},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.07248v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.07248.svg)](https://codeofpaper.com/paper/2508.07248)

Discussion