Skip to main content
QUICK REVIEW

[Paper Review] Nested Named Entity Recognition via Second-best Sequence Learning and Decoding

Takashi Shibuya, Eduard Hovy|arXiv (Cornell University)|Sep 5, 2019
Topic ModelingComputer Science1 citations
TL;DR

This paper proposes a novel neural method for nested named entity recognition (NER) that treats the tag sequence of nested entities as the second-best path within their parent entity's span during training. By using an outside-to-inside decoding strategy and a specially designed objective function, the model achieves state-of-the-art performance on ACE-2004, ACE-2005, and GENIA datasets with F1-scores of 85.82%, 84.34%, and 77.36%, respectively, without adding extra hyperparameters to standard CRF-based models.

ABSTRACT

When an entity name contains other names within it, the identification of all combinations of names can become difficult and expensive. We propose a new method to recognize not only outermost named entities but also inner nested ones. We design an objective function for training a neural model that treats the tag sequence for nested entities as the second best path within the span of their parent entity. In addition, we provide the decoding method for inference that extracts entities iteratively from outermost ones to inner ones in an outside-to-inside way. Our method has no additional hyperparameters to the conditional random field based model widely used for flat named entity recognition tasks. Experiments demonstrate that our method performs better than or at least as well as existing methods capable of handling nested entities, achieving the F1-scores of 85.82%, 84.34%, and 77.36% on ACE-2004, ACE-2005, and GENIA datasets, respectively

Motivation & Objective

  • To address the challenge of recognizing deeply nested named entities where inner entities are embedded within outer ones.
  • To improve the efficiency and accuracy of nested NER by modeling inner entities as second-best paths within parent entity spans.
  • To develop a decoding strategy that extracts entities iteratively from outermost to innermost, enabling structured recognition.
  • To maintain compatibility with standard CRF-based models by avoiding additional hyperparameters.
  • To achieve state-of-the-art performance on benchmark nested NER datasets without architectural complexity.

Proposed method

  • The model trains a neural sequence tagger with a custom objective function that treats the correct tag sequence for a nested entity as the second-best path within the span of its parent entity.
  • The second-best path is identified during decoding using a modified beam search that preserves the optimal path and captures the next-best valid sequence.
  • During inference, the method performs iterative decoding: first extracting the outermost entities, then recursively identifying inner entities within the remaining spans.
  • The approach integrates seamlessly with conditional random fields (CRF) by reusing their structure and only modifying the training objective.
  • The method does not require additional hyperparameters beyond standard CRF-based NER models, ensuring practicality and ease of deployment.
  • The training objective encourages the model to learn hierarchical entity structures by explicitly ranking nested entity sequences as second-best within parent spans.

Experimental results

Research questions

  • RQ1Can modeling nested entities as second-best paths within parent spans improve recognition performance in nested NER?
  • RQ2Does an outside-to-inside decoding strategy enhance the identification of deeply nested named entities?
  • RQ3Can a neural model achieve state-of-the-art results on nested NER benchmarks without introducing new hyperparameters?
  • RQ4How does the proposed method compare in performance to existing approaches capable of handling nested entities?
  • RQ5To what extent does the second-best path objective improve the model's ability to capture hierarchical entity structures?

Key findings

  • The proposed method achieves an F1-score of 85.82% on the ACE-2004 dataset, outperforming existing methods for nested NER.
  • On the ACE-2005 dataset, the model attains an F1-score of 84.34%, demonstrating strong generalization across nested entity types.
  • For the GENIA dataset, the method achieves an F1-score of 77.36%, showing effectiveness on biomedical nested NER tasks.
  • The method performs at least as well as prior state-of-the-art approaches, with no additional hyperparameters compared to standard CRF-based models.
  • The iterative outside-to-inside decoding strategy enables accurate extraction of nested entities by progressively refining the recognition process.
  • The second-best sequence learning objective effectively captures hierarchical entity structures without architectural modifications.

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.