Generalisation in named entity recognition: A quantitative analysis

Isabelle Augenstein, Leon Derczynski, Kalina Bontcheva

Abstract

Named Entity Recognition (NER) systems frequently achieve F1 scores in the 90s on standard newswire benchmarks, yet their performance often degrades significantly when applied to diverse, user-generated content like social media. This paper presents a quantitative post-mortem on this performance gap, demonstrating that current state-of-the-art models rely heavily on memorizing surface forms. The study reveals an average 17-point F1 drop when encountering unseen entities and highlights the role of entity drift and tag density in model generalization.

Introduction

While NER is often treated as a "solved" problem in NLP, performance plummeting on "noisy" user-generated content suggests otherwise. This research moves beyond the vague notion of "noise" to quantify the specific drivers of this failure: domain shift, entity drift, feature sparsity, and model bias. By evaluating models across varied genres, the authors investigate whether current architectures truly generalize or merely memorize.

Methodology

The study compares three distinct NER approaches alongside a baseline:

  • Stanford NER: A feature-engineered Conditional Random Field (CRF) model.
  • CRFSuite: A supervised CRF without external gazetteers.
  • SENNA: A neural network approach utilizing word embeddings and convolutional layers to minimize feature engineering.
  • Memorization Baseline: A simple tagger that only labels entities seen exactly during training.

Evaluation involved size-normalized corpora to ensure fair comparison and out-of-domain testing to measure cross-genre robustness.

Training, development, and test set sizes for the evaluated corpora.

Datasets and Corpus Composition

The researchers utilized seven major benchmark NER corpora spanning several decades and genres, including Newswire (MUC 7, CoNLL 2003, ACE, OntoNotes), Broadcast/Web content, and Social Media (Ritter, MSM 2013, UMBC). To facilitate cross-corpus evaluation, all datasets were mapped to three consistent classes: Person (PER), Location (LOC), and Organization (ORG).

Summary of corpora used in the study, categorized by genre and entity type counts.

Key Insights: The Memorization Trap

A striking finding is that a simple memorization baseline serves as a strong predictor of complex model performance. This suggests that many "state-of-the-art" systems act as sophisticated memorizers. On average, models perform 17 F1 points lower on entities not encountered during training.

Furthermore, "tag density"—the percentage of tokens that are part of an entity—is a primary predictor of performance. Newswire is entity-dense and patterned, whereas social media is entity-sparse and highly varied, making generalization difficult.

Results and Generalization

  • Neural Advantage: SENNA consistently outperformed CRF-based models on diverse genres. Its use of word embeddings allows it to bridge the gap for unseen entities by leveraging semantic similarity, whereas CRFs struggle with lack of exact feature overlap.
  • The Genre Gap: Models trained on Newswire (e.g., OntoNotes NW) saw F1 scores drop from the 80s to the 20s or 30s when tested on Twitter or Usenet.
  • Entity Drift: The rate at which new names appear (entity drift) is significantly higher in social media than in newswire, causing static training sets to age rapidly.

Conclusion

The ability to generalize well enough to recognize unseen entities remains a significant challenge. While neural models and embeddings offer a path forward, the 17-point "unseen" gap persists. Future work should focus on streamed NER for real-time adaptation and better handling of out-of-vocabulary lexical forms.

Summary updated

Abstract

Highlights • Quantitative study of NER performance in diverse corpora of different genres, including newswire and social media. • Multiple state of the art NER approaches are tested. • Possible reasons for NER failure are analysed and quantified: NE diversity, unseen NEs and features, NEs changing over time. • The proportion of unseen NEs is found to be the most reliable predictor of NE performance. • Future NER work needs to address named entity generalisation and out-of-vocabulary lexical forms. Abstract Named Entity Recognition (NER) is a key NLP task, which is all the more challenging on Web and user-generated content with their diverse and continuously changing language. This paper aims to quantify how this diversity impacts state-of-the-art NER methods, by measuring named entity (NE) and context variability, feature sparsity, and their effects on precision and recall. In particular, our findings indicate that NER approaches struggle to generalise in diverse genres with limited training data. Unseen NEs, in particular, play an important role, which have a higher incidence in diverse genres such as social media than in more regular genres such as newswire. Coupled with a higher incidence of unseen features more generally and the lack of large training corpora, this leads to significantly lower F1 scores for diverse genres as compared to more regular ones. We also find that leading systems rely heavily on surface forms found in training data, having problems generalising beyond these, and offer explanations for this observation.
BibTeX
@article{augenstein2017generalisation,
  author = {Isabelle Augenstein and Leon Derczynski and Kalina Bontcheva},
  title = {{Generalisation in named entity recognition: A quantitative analysis}},
  journal = {Comput. Speech Lang.},
  year = {2017},
  doi = {10.1016/j.csl.2017.01.012},
}
Figure