NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-grained Named Entity Recognition

Congying Xia, Chenwei Zhang, Tao Yang, Yaliang Li, Nan Du, Xian Wu, Wei Fan, Fenglong Ma, Philip S. Yu

Introduction

Traditional Named Entity Recognition (NER) models often fail when entities are "nested" inside one another. This paper introduces MGNER, a multi-grained framework that treats NER as a two-stage detection and classification task rather than a simple sequence labeling problem. This approach allows it to achieve state-of-the-art results on both nested and standard "flat" NER datasets.

The Challenge of Nested Entities

Most NER systems treat the task as a sequence labeling problem, scanning a sentence and assigning a tag to each word. While efficient, this approach has a major blind spot: nested entities.

In the phrase "the Chinese embassy in France," a standard model might label the whole phrase as a "Facility." However, "Chinese" and "France" are also entities (GPEs) nested within that facility.

Example of nested entities in a sentence.

Statistics show that nearly half of the entities in common datasets like ACE-2004 overlap or nest. Previous attempts to fix this were often hyper-specialized for nested data and performed poorly on standard, non-overlapping text. MGNER provides a "multi-grained" solution that handles both scenarios effectively in a single model.

Methodology: Detect then Classify

MGNER moves away from word-by-word tagging and instead adopts a "Detect then Classify" architecture, similar to object detection in computer vision.

The MGNER architecture consisting of a Detector and a Classifier.

The system consists of two main sub-networks:

  1. The Detector: This module examines all possible word segments (up to a fixed length, e.g., 6 words) and predicts the probability that a segment is an entity. It utilizes GloVe embeddings, character-level LSTMs, and ELMo contextualized embeddings.
  2. The Classifier: Once the detector proposes candidate segments, the classifier determines their specific category (e.g., Person, Org, GPE).

Key Innovations

  • Context-Aware Entity Representation: The classifier uses a self-attention mechanism to weigh the importance of the surrounding sentence context, rather than just looking at the words inside the entity.
  • Modular Design: The framework is highly flexible; components like the Word Processor can be swapped for newer architectures like BERT.
  • Non-Maximum Suppression (NMS): For standard NER tasks where entities shouldn't overlap, the model uses NMS to select the most likely entity candidate and discard conflicting overlaps.

Evaluation and Results

The authors evaluated MGNER on three major benchmarks: ACE-2004 and ACE-2005 (nested NER) and CoNLL-2003 (flat NER).

Key Insights

  • NER as Region Detection: Treating NER as a region-based task allows the model to naturally bypass the structural constraints of traditional sequence labeling.
  • Contextual Importance: Ablation studies showed that adding contextual information and self-attention significantly boosted F1 scores, suggesting that an entity's meaning is often defined by its surroundings.

Performance

MGNER set new state-of-the-art (SOTA) benchmarks:

  • Nested NER: On ACE-2004 and ACE-2005, it achieved F1 scores of 79.5% and 78.2% respectively, improving by up to 4.4% over previous baselines.
  • Flat NER: On CoNLL-2003, it achieved an F1 of 92.28%, proving its robustness on traditional tasks.

Conclusion and Future Work

MGNER demonstrates that a detection-based approach is robust enough to outperform specialized sequence-labeling models on both nested and flat datasets. While the model relies on a predefined maximum entity length (typically $R=6$), it remains computationally feasible. Future work may involve integrating more powerful encoders like BERT or exploring alternative classification heads like Capsule Networks.

Summary updated

BibTeX
@inproceedings{xia2019multi,
  author = {Congying Xia and Chenwei Zhang and Tao Yang and Yaliang Li and Nan Du and Xian Wu and Wei Fan and Fenglong Ma and Philip S. Yu},
  title = {{Multi-grained Named Entity Recognition}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1138},
}
Figure