HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

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

Takashi Shibuya; Eduard Hovy

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

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

yahshibu/nested-ner-tacl2020
Official
pytorch
Mentioned in GitHub
yahshibu/nested-ner-tacl2020-transformers
Official
pytorch
Mentioned in GitHub
yahshibu/nested-ner-tacl2020-flair
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
named-entity-recognition-on-ace-2004Second-best learning and decoding
F1: 85.82
Multi-Task Supervision: n
named-entity-recognition-on-ace-2005Second-best learning and decoding
F1: 84.34
named-entity-recognition-on-geniaSecond-best learning and decoding + BERT + Flair
F1: 77.36
named-entity-recognition-on-geniaSecond-best learning and decoding
F1: 77.19
nested-mention-recognition-on-ace-2004Second-best learning and decoding
F1: 85.82
nested-mention-recognition-on-ace-2005Second-best learning and decoding
F1: 84.34
nested-named-entity-recognition-on-ace-2004Second-best learning and decoding + BERT + Flair
F1: 85.82
nested-named-entity-recognition-on-ace-2004Second-best learning and decoding + BERT
F1: 84.97
nested-named-entity-recognition-on-ace-2004Second-best learning and decoding
F1: 77.44
nested-named-entity-recognition-on-ace-2005Second-best learning and decoding + BERT + Flair
F1: 84.34
nested-named-entity-recognition-on-ace-2005Second-best learning and decoding
F1: 76.83
nested-named-entity-recognition-on-ace-2005Second-best learning and decoding + BERT
F1: 83.99
nested-named-entity-recognition-on-geniaSecond-best learning and decoding + BERT
F1: 77.05
nested-named-entity-recognition-on-geniaSecond-best learning and decoding
F1: 77.19
nested-named-entity-recognition-on-geniaSecond-best learning and decoding + BERT + Flair
F1: 77.36
nested-named-entity-recognition-on-nneSecond-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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Nested Named Entity Recognition via Second-best Sequence Learning and Decoding | Papers | HyperAI