Federated Incremental Named Entity Recognition

Zesheng Liu, Qiannan Zhu, Cuiping Li, Hong Chen

Abstract

Named Entity Recognition (NER) in sensitive domains like healthcare often faces data isolation. While Federated Learning (FL) addresses privacy, it struggles with the dynamic nature of real-world data where new entity types emerge over time. This paper introduces Forgetting-Subdued Learning (FSL), a framework designed for Federated Incremental Named Entity Recognition (FINER). FSL mitigates "catastrophic forgetting" through entropy-based task detection and prototype-guided distillation, ensuring robust performance as new knowledge is integrated across decentralized clients.

Introduction

Named Entity Recognition (NER) is a fundamental NLP task. In sectors like medicine, data is frequently siloed across different institutions due to privacy regulations. Federated Learning (FL) provides a solution by enabling collaborative model training without raw data exchange. However, standard FL assumes a static set of entity types. In practice, new entities (e.g., novel drug classes) appear incrementally.

This scenario introduces two primary challenges:

  1. Intra-client Forgetting: Local models lose the ability to recognize old entity types when trained on new ones. This is exacerbated by "semantic shift," where tokens previously labeled as specific entities are marked as generic "non-entities" (the "O" tag) in new datasets.
  2. Inter-client Forgetting: The central server lacks visibility into when specific clients encounter new tasks, complicating the coordination of global model updates.

Methodology: Forgetting-Subdued Learning (FSL)

The proposed FSL framework addresses these issues through three integrated components: the Task Transfer Detector (TTD), Prototype-guided Adaptive Pseudo Labeling (PAP), and Prototypical Relation Distillation (PRD).

Architecture of the FSL framework showing the TTD, PAP, and PRD modules.

Task Transfer Detector (TTD)

To identify task shifts without compromising privacy, the server monitors the average entropy of client predictions. A spike in entropy indicates that a client is processing unfamiliar entity types. This signal prompts the server to preserve the current global model as a "teacher" to guide the next incremental learning phase.

Prototype-guided Adaptive Pseudo Labeling (PAP)

To counter semantic shift, FSL employs the teacher model to generate pseudo-labels for new data. These labels are weighted based on the proximity of a token's feature vector to an entity type's prototype (the mean feature vector of that class). This ensures that only high-confidence, semantically relevant pseudo-labels are used to maintain knowledge of old entities.

Prototypical Relation Distillation (PRD)

PRD maintains the structural relationships between entity types. By distilling knowledge at the "type level" rather than the "token level," the model preserves the global semantic space, making it more resilient to the noise inherent in decentralized, incremental training.

Experimental Evaluation

FSL was evaluated on two benchmarks: I2B2 (medical NER, 16 types) and OntoNotes5 (general NER, 18 types). The experiments simulated incremental learning by starting with 8 base types and adding 1 or 2 types per step.

Key Results

FSL consistently outperformed state-of-the-art baselines adapted for federated settings, such as ExtendNER and CPFD.

Performance comparison (Micro-F1 and Macro-F1) across incremental steps on I2B2 and OntoNotes5 datasets.
  • Performance Gains: On the I2B2 dataset, FSL achieved a 2.95% improvement in Micro-F1 and a 2.69% improvement in Macro-F1 over the strongest baseline.
  • Stability: As shown in the performance curves, FSL maintains significantly higher F1 scores as the number of entity types increases, whereas baseline models often experience a sharp decline in performance.
  • Ablation Success: Removing the PAP module led to a performance drop of up to 14.41% in Micro-F1 on OntoNotes5, highlighting its critical role in managing semantic shift.

Discussion and Conclusion

The FSL framework demonstrates that entropy can serve as an effective, privacy-preserving proxy for task detection in federated environments. Furthermore, the use of prototypes offers a memory-efficient alternative to rehearsal buffers, which are often prohibited by privacy constraints.

While FSL shows strong results, future work could address the computational overhead of prototype calculation and further refine pseudo-labeling to reduce noise. Overall, FSL provides a robust foundation for deploying evolving NER systems in privacy-sensitive, decentralized applications.

Summary updated

BibTeX
@inproceedings{liu2025federated,
  author = {Zesheng Liu and Qiannan Zhu and Cuiping Li and Hong Chen},
  title = {{Federated Incremental Named Entity Recognition}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
}
Figure