Task Relation Distillation and Prototypical Pseudo Label for Incremental Named Entity Recognition

Duzhen Zhang, Hongliu Li, Wei Cong, Rongtao Xu, Jiahua Dong, Xiuyi Chen

Introduction

In the evolving landscape of Natural Language Processing, Incremental Named Entity Recognition (INER) has emerged as a critical capability for real-world applications. Systems such as voice assistants and automated document analyzers must frequently learn new entity categories—such as emerging streaming services or novel medical terms—without the luxury of retraining on the entire historical dataset. However, INER is plagued by two primary obstacles: Catastrophic Forgetting, where new parameter updates overwrite previous knowledge, and Background Shift.

Background Shift is particularly insidious in NER. In incremental training stages, tokens that belong to previously learned or future entity types are often labeled as the generic "non-entity" or background class ([O]). This mislabeling forces the model to actively unlearn its previous knowledge, treating valid entities as noise. To address these challenges, this paper introduces RDP, a framework combining Task Relation Distillation and Prototypical Pseudo Labeling to balance stability and plasticity while effectively denoising the background class.

The RDP Framework

The RDP framework approaches the INER problem through a dual-strategy design that addresses both the structural relationships between tasks and the inherent noise in the training data.

1. Task Relation Distillation (TRD)

Traditional Knowledge Distillation (KD) typically focuses on matching the output probabilities of a teacher model. RDP extends this via Task Relation Distillation, which manages the trade-off between maintaining old knowledge (stability) and acquiring new information (plasticity):

  • Inter-task Consistency: The framework constructs "soft labels" by integrating the predictions of the previous model with the current ground truth. This allows the model to understand the semantic relationships between old and new entity types, ensuring that the transition between tasks does not discard relevant features.
  • Intra-task Confidence: To prevent the model from becoming too rigid, RDP employs a self-entropy loss. This mechanism encourages the model to be more certain about its current predictions, facilitating faster adaptation to new data and improving overall plasticity.

2. Prototypical Pseudo Label (PPL)

To mitigate the Background Shift, the model must identify which tokens labeled as [O] are actually entities from previous tasks. RDP introduces a Prototypical Pseudo Labeling strategy to "clean" these labels:

  • Prototype Generation: The system calculates a "prototype"—a feature centroid in the embedding space—for every known entity type based on average embeddings.
  • Denoising Mechanism: When the old model predicts a label for a token marked as background in the new data, RDP does not trust it blindly. Instead, it calculates the geometric distance between the token’s embedding and the corresponding class prototype. If the token is a close match to the prototype, the pseudo-label is accepted; if it is an outlier, its influence is minimized. This prevents the propagation of errors from the old model into the new one.

Experimental Evaluation

The researchers evaluated RDP across three benchmark datasets—CoNLL2003, I2B2, and OntoNotes5—using ten different incremental settings. These settings ranged from learning entities one-by-one to "half-start" scenarios where the model begins with half of the total entity types.

Key Results

RDP demonstrated significant performance gains over the previous state-of-the-art (SOTA) method, CFNER:

  • Overall Performance: The framework achieved an average increase of 6.08% in Micro F1 and 7.71% in Macro F1 across the tested scenarios.
  • Complex Scenarios: On the I2B2 medical dataset (specifically the FG-8-PG-1 setting), RDP outperformed the baseline by a substantial 25.69% in Macro F1, highlighting its robustness in specialized domains.
  • Ablation Insights: Ablation studies confirmed that the Prototypical Pseudo Labeling (PPL) component was the most vital contributor to performance. Removing PPL led to the most significant drops in accuracy, confirming that the Background Shift is indeed the primary bottleneck in incremental learning.

Discussion and Insights

The core insight of this research is the conceptualization of the "non-entity" class as a noisy mixture rather than a monolithic category. By treating the [O] label as a combination of true non-entities, forgotten old entities, and future entities, RDP successfully navigates the complexities of incremental updates. The use of prototypes provides a necessary geometric check against the over-confidence of neural networks, ensuring that pseudo-labels are grounded in feature similarity.

Limitations and Future Work

Despite its success, RDP has dependencies that provide avenues for future research. The quality of prototypes is inherently tied to the performance of the initial "base" model; if the first task is learned poorly, the resulting prototypes may lead to cascading errors. Additionally, while RDP manages old entities effectively, it still treats future entity types as background noise. Future iterations could explore "pre-learning" features for unknown types to further reduce the impact of the Background Shift. Finally, the computational cost of calculating prototypes and distances presents a minor trade-off for the significant gains in model accuracy.

Conclusion

RDP represents a significant step forward for Incremental Named Entity Recognition. By combining relational distillation with a robust, prototype-based denoising strategy, the framework allows models to grow their vocabulary of entities without sacrificing the knowledge they have already acquired.

Summary updated

BibTeX
@inproceedings{zhang2023task,
  author = {Duzhen Zhang and Hongliu Li and Wei Cong and Rongtao Xu and Jiahua Dong and Xiuyi Chen},
  title = {{Task Relation Distillation and Prototypical Pseudo Label for Incremental Named Entity Recognition}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2023},
}
Figure