# Nested Named Entity Recognition via Second-best Sequence Learning and Decoding

arXiv: https://arxiv.org/abs/1909.02250 · HTML: https://mlsanity.com/paper/1909.02250/

## Key facts

- Cited by 34 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 5 Sep 2019.

## Built on by (most cited first, 30 of 34)

- [Structured Prediction as Translation between Augmented Natural Languages](https://mlsanity.com/paper/2101.05779/) (2021)
- [A Unified Generative Framework for Various NER Subtasks](https://mlsanity.com/paper/2106.01223/) (2021)
- [Locate and Label: A Two-stage Identifier for Nested Named Entity Recognition](https://mlsanity.com/paper/2105.06804/) (2021)
- [A Sequence-to-Set Network for Nested Named Entity Recognition](https://mlsanity.com/paper/2105.08901/) (2021)
- [Wojood: Nested Arabic Named Entity Corpus and Recognition using BERT](https://mlsanity.com/paper/2205.09651/) (2022)
- [Optimizing Bi-Encoder for Named Entity Recognition via Contrastive Learning](https://mlsanity.com/paper/2208.14565/) (2022)
- [Bottom-Up Constituency Parsing and Nested Named Entity Recognition with Pointer Networks](https://mlsanity.com/paper/2110.05419/) (2021)
- [Zero-shot Referring Expression Comprehension via Structural Similarity Between Images and Captions](https://mlsanity.com/paper/2311.17048/) (2023)
- [Fusing Heterogeneous Factors with Triaffine Mechanism for Nested Named Entity Recognition](https://mlsanity.com/paper/2110.07480/) (2021)
- [PromptNER: Prompt Locating and Typing for Named Entity Recognition](https://mlsanity.com/paper/2305.17104/) (2023)
- [Nested Named Entity Recognition as Latent Lexicalized Constituency Parsing](https://mlsanity.com/paper/2203.04665/) (2022)
- [NEREL-BIO: A Dataset of Biomedical Abstracts Annotated with Nested Named Entities](https://mlsanity.com/paper/2210.11913/) (2022)
- [Semantic Parsing in Task-Oriented Dialog with Recursive Insertion-based Encoder](https://mlsanity.com/paper/2109.04500/) (2021)
- [A Survey on Semantic Processing Techniques](https://mlsanity.com/paper/2310.18345/) (2023)
- [A New Entity Extraction Method Based on Machine Reading Comprehension](https://mlsanity.com/paper/2108.06444/) (2021)
- [Enhanced Language Representation with Label Knowledge for Span Extraction](https://mlsanity.com/paper/2111.00884/) (2021)
- [A dynamic programming algorithm for span-based nested named-entity recognition in O(n^2)](https://mlsanity.com/paper/2210.04738/) (2022)
- [Biomedical Nested NER with Large Language Model and UMLS Heuristics](https://mlsanity.com/paper/2407.05480/) (2024)
- [Named Entity Recognition in the Style of Object Detection](https://mlsanity.com/paper/2101.11122/) (2021)
- [BoningKnife: Joint Entity Mention Detection and Typing for Nested NER via prior Boundary Knowledge](https://mlsanity.com/paper/2107.09429/) (2021)
- [An Empirical Study on Finding Spans](https://mlsanity.com/paper/2210.06824/) (2022)
- [Few-Shot Nested Named Entity Recognition](https://mlsanity.com/paper/2212.00953/) (2022)
- [DMNER: Biomedical Entity Recognition by Detection and Matching](https://mlsanity.com/paper/2306.15736/) (2023)
- [To be Continuous, or to be Discrete, Those are Bits of Questions](https://mlsanity.com/paper/2406.07812/) (2024)
- [Effect of depth order on iterative nested named entity recognition models](https://mlsanity.com/paper/2104.01037/) (2021)
- [Nested and Balanced Entity Recognition using Multi-Task Learning](https://mlsanity.com/paper/2106.06216/) (2021)
- [Nested Named Entity Recognition as Holistic Structure Parsing](https://mlsanity.com/paper/2204.08006/) (2022)
- [Local Hypergraph-based Nested Named Entity Recognition as Query-based Sequence Labeling](https://mlsanity.com/paper/2204.11467/) (2022)
- [Type-supervised sequence labeling based on the heterogeneous star graph for named entity recognition](https://mlsanity.com/paper/2210.10240/) (2022)
- [Nested Named Entity Recognition from Medical Texts: An Adaptive Shared Network Architecture with Attentive CRF](https://mlsanity.com/paper/2211.04759/) (2022)

## Abstract (arXiv)

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.
