Command Palette
Search for a command to run...
Yongliang Shen; Xiaobin Wang; Zeqi Tan; Guangwei Xu; Pengjun Xie; Fei Huang; Weiming Lu; Yueting Zhuang

Abstract
Named entity recognition (NER) is a fundamental task in natural language processing. Recent works treat named entity recognition as a reading comprehension task, constructing type-specific queries manually to extract entities. This paradigm suffers from three issues. First, type-specific queries can only extract one type of entities per inference, which is inefficient. Second, the extraction for different types of entities is isolated, ignoring the dependencies between them. Third, query construction relies on external knowledge and is difficult to apply to realistic scenarios with hundreds of entity types. To deal with them, we propose Parallel Instance Query Network (PIQN), which sets up global and learnable instance queries to extract entities from a sentence in a parallel manner. Each instance query predicts one entity, and by feeding all instance queries simultaneously, we can query all entities in parallel. Instead of being constructed from external knowledge, instance queries can learn their different query semantics during training. For training the model, we treat label assignment as a one-to-many Linear Assignment Problem (LAP) and dynamically assign gold entities to instance queries with minimal assignment cost. Experiments on both nested and flat NER datasets demonstrate that our proposed method outperforms previous state-of-the-art models.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| chinese-named-entity-recognition-on-msra | PIQN | F1: 93.48 |
| named-entity-recognition-ner-on-conll-2003 | PIQN | F1: 92.87 |
| named-entity-recognition-ner-on-ontonotes-v5 | PIQN | F1: 90.96 |
| named-entity-recognition-on-ace-2004 | PIQN | F1: 88.14 Multi-Task Supervision: n |
| named-entity-recognition-on-ace-2005 | PIQN | F1: 87.42 |
| named-entity-recognition-on-few-nerd-sup | PIQN | F1-Measure: 69.67 Precision: 70.16 Recall: 69.18 |
| named-entity-recognition-on-few-nerd-sup | Locate and Label | F1-Measure: 67.64 Precision: 64.69 Recall: 70.87 |
| named-entity-recognition-on-few-nerd-sup | Sequence-to-Set | F1-Measure: 68.23 Precision: 67.37 Recall: 69.12 |
| nested-named-entity-recognition-on-ace-2004 | PIQN | F1: 88.14 |
| nested-named-entity-recognition-on-ace-2005 | PIQN | F1: 87.42 |
| nested-named-entity-recognition-on-genia | PIQN | F1: 81.77 |
| nested-named-entity-recognition-on-nne | PIQN | Micro F1: 94.04 |
| nested-named-entity-recognition-on-tac-kbp | PIQN | F1: 84.5 |
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.