Command Palette
Search for a command to run...
Nested Named Entity Recognition via Second-best Sequence Learning and Decoding
Takashi Shibuya; Eduard Hovy

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.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| named-entity-recognition-on-ace-2004 | Second-best learning and decoding | F1: 85.82 Multi-Task Supervision: n |
| named-entity-recognition-on-ace-2005 | Second-best learning and decoding | F1: 84.34 |
| named-entity-recognition-on-genia | Second-best learning and decoding + BERT + Flair | F1: 77.36 |
| named-entity-recognition-on-genia | Second-best learning and decoding | F1: 77.19 |
| nested-mention-recognition-on-ace-2004 | Second-best learning and decoding | F1: 85.82 |
| nested-mention-recognition-on-ace-2005 | Second-best learning and decoding | F1: 84.34 |
| nested-named-entity-recognition-on-ace-2004 | Second-best learning and decoding + BERT + Flair | F1: 85.82 |
| nested-named-entity-recognition-on-ace-2004 | Second-best learning and decoding + BERT | F1: 84.97 |
| nested-named-entity-recognition-on-ace-2004 | Second-best learning and decoding | F1: 77.44 |
| nested-named-entity-recognition-on-ace-2005 | Second-best learning and decoding + BERT + Flair | F1: 84.34 |
| nested-named-entity-recognition-on-ace-2005 | Second-best learning and decoding | F1: 76.83 |
| nested-named-entity-recognition-on-ace-2005 | Second-best learning and decoding + BERT | F1: 83.99 |
| nested-named-entity-recognition-on-genia | Second-best learning and decoding + BERT | F1: 77.05 |
| nested-named-entity-recognition-on-genia | Second-best learning and decoding | F1: 77.19 |
| nested-named-entity-recognition-on-genia | Second-best learning and decoding + BERT + Flair | F1: 77.36 |
| nested-named-entity-recognition-on-nne | Second-best learning and decoding | Micro F1: 93.19 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.