Introduction
Named Entity Recognition (NER) is a fundamental task in natural language processing, traditionally involving the identification of a static set of entity categories such as Persons, Organizations, and Locations. However, real-world applications often require models to adapt to new domains or emerging categories over time—a paradigm known as Continual Named Entity Recognition (CNER).
CNER presents two significant challenges. First is catastrophic forgetting, where the model's weights are overwritten by new information, causing it to lose the ability to recognize previously learned entities. Second is the semantic shift of the "non-entity" (O) class. In incremental training steps, tokens belonging to old entity types are often labeled as "O" in the new dataset. This misleads the model into treating known entities as background noise, severely degrading performance.
The CPFD Framework
To address these hurdles, researchers proposed CPFD (Confidence-based Pseudo-labeling and Pooled Feature Distillation). This framework integrates three core components designed to balance stability (retaining old knowledge) and plasticity (learning new knowledge).
1. Pooled Feature Distillation (PFD)
Standard distillation techniques often constrain the model too strictly, hindering its ability to learn new tasks. PFD instead focuses on the internal attention weights of transformer layers. By applying a pooling operation—averaging across specific dimensions—PFD preserves the underlying linguistic structures (like syntax and coreference) captured by the old model while allowing the new model enough flexibility to incorporate new entity types.
2. Confidence-based Pseudo-Labeling (CPL)
To mitigate the semantic shift of the "O" class, CPL utilizes the previous model to generate pseudo-labels for background tokens in the current training batch. To ensure high-quality labels, the framework employs entropy-based filtering. Only pseudo-labels with uncertainty lower than the median entropy of the batch are retained, effectively cleaning the training signal and preventing the propagation of errors from the old model.
3. Adaptive Re-weighting Type-balanced (ART) Learning
Incremental learning often results in a data imbalance between the abundant new entity tokens and the recovered old entity tokens. ART dynamically adjusts loss weights based on entity frequency, ensuring the model remains unbiased and maintains high performance across all known categories.
Experimental Evaluation
The framework was rigorously tested on three major benchmarks: CoNLL2003, I2B2 (medical), and OntoNotes5. Experiments covered various incremental settings, ranging from learning one new entity type at a time to larger batches of eight.
Key Results
CPFD consistently outperformed state-of-the-art baselines like CFNER and ExtendNER. On average, the method achieved an 8.0% improvement in Macro F1 and a 6.3% improvement in Micro F1 across all settings.
As shown in the performance plots, while competing models often experience sharp performance drops as more entity types are introduced, CPFD maintains a significantly more stable performance curve. Ablation studies further confirmed that the synergy between PFD's flexible distillation and CPL's noise reduction is critical to the framework's success.
Conclusion and Future Directions
The CPFD framework represents a significant step forward in making NER models more adaptable and robust. By treating the "O" class as a source of latent information and distilling structural linguistic knowledge rather than raw outputs, it effectively combats catastrophic forgetting. Future work may explore reducing the computational overhead associated with per-step inference and extending the approach to more complex tasks like nested entity recognition.
Summary updated