Skip to main content
QUICK REVIEW

[Paper Review] Rethinking Generalization of Neural Models: A Named Entity Recognition Case Study

Jinlan Fu, Pengfei Liu|arXiv (Cornell University)|Jan 12, 2020
Topic ModelingComputer Science27 references6 citations
TL;DR

This paper rethinks neural model generalization in Named Entity Recognition (NER) by introducing entity- and class-centric measures to diagnose limitations in model generalization. It identifies data bias, annotation errors, and category relationships as key bottlenecks, showing that fixing annotation errors boosts CoNLL2003 F1 to 93.78, and that model performance is heavily influenced by both seen entities and their contextual patterns.

ABSTRACT

While neural network-based models have achieved impressive performance on a large body of NLP tasks, the generalization behavior of different models remains poorly understood: Does this excellent performance imply a perfect generalization model, or are there still some limitations? In this paper, we take the NER task as a testbed to analyze the generalization behavior of existing models from different perspectives and characterize the differences of their generalization abilities through the lens of our proposed measures, which guides us to better design models and training methods. Experiments with in-depth analyses diagnose the bottleneck of existing neural NER models in terms of breakdown performance analysis, annotation errors, dataset bias, and category relationships, which suggest directions for improvement. We have released the datasets: (ReCoNLL, PLONER) for the future research at our project page: http://pfliu.com/InterpretNER/. As a by-product of this paper, we have open-sourced a project that involves a comprehensive summary of recent NER papers and classifies them into different research topics: https://github.com/pfliu-nlp/Named-Entity-Recognition-NER-Papers.

Motivation & Objective

  • To investigate why high-performing neural NER models may still lack true generalization ability despite strong test performance.
  • To diagnose limitations in model generalization stemming from data characteristics, including annotation errors, dataset bias, and category relationships.
  • To develop interpretable, data-driven measures that quantify generalization behavior across entities and categories for improved model design and training.
  • To guide future research by identifying under-explored factors—such as context-level generalization and category overlap—that hinder model robustness.

Proposed method

  • Proposes the Entity Coverage Ratio to break down test sets into interpretable groups based on whether test entities were seen during training with the same label.
  • Introduces the Expectation of Coverage Ratio and Contextual Coverage Ratio to quantify dataset bias and its impact on cross-dataset generalization.
  • Defines a consistency metric between entity categories using gradient alignment across test entities, capturing shared or conflicting properties.
  • Uses the consistency metric to analyze error patterns, revealing that low consistency between categories correlates with high misclassification rates.
  • Employs cross-dataset evaluation and targeted data augmentation to assess how context and entity overlap affect generalization.
  • Applies the measures to diagnose annotation errors and validate improvements through re-evaluation on corrected datasets.

Experimental results

Research questions

  • RQ1Does the model truly generalize, or does it rely on superficial pattern matching and template-like generalization?
  • RQ2What dataset-level factors distinguish models that generalize well from those that do not?
  • RQ3How do relationships between entity categories influence model learning difficulty and error patterns?
  • RQ4Can targeted data selection and augmentation improve generalization beyond simply increasing training data size?
  • RQ5To what extent do annotation errors mask the true generalization capability of NER models?

Key findings

  • The performance of state-of-the-art NER models is heavily dependent on whether test entities were seen during training with the same label, indicating limited true generalization.
  • The proposed measures detect human annotation errors that obscure model generalization; correcting these errors increases CoNLL2003 F1 to 93.78, surpassing previous SOTA.
  • Dataset bias significantly affects generalization: both the presence of a test entity and its context in training data influence model performance, not just entity identity.
  • Increasing training data indiscriminately does not guarantee better performance; targeted data selection based on relevance and coverage is more effective.
  • Low consistency between entity categories correlates strongly with high error rates in misclassification, especially for overlapping categories like 'Organization' and 'Location'.
  • The study reveals limited prospects for further gains from architecture design or knowledge pre-training alone, suggesting a need for richer contextual or linguistic priors.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.