The task of named entity recognition (NER) is normally divided into nested NER and flat NER depending on whether named entities are nested or not. Models are usually separately developed for the two tasks, since sequence labeling models, the most widely used backbone for flat NER, are only able to assign a single label to a particular token, which is unsuitable for nested NER where a token may be assigned several labels. In this paper, we propose a unified framework that is capable of handling both flat and nested NER tasks. Instead of treating the task of NER as a sequence labeling problem, we propose to formulate it as a machine reading comprehension (MRC) task. For example, extracting entities with the \textsc{per} label is formalized as extracting answer spans to the question "{\it which person is mentioned in the text?}". This formulation naturally tackles the entity overlapping issue in nested NER: the extraction of two overlapping entities for different categories requires answering two independent questions. Additionally, since the query encodes informative prior knowledge, this strategy facilitates the process of entity extraction, leading to better performances for not only nested NER, but flat NER. We conduct experiments on both {\em nested} and {\em flat} NER datasets. Experimental results demonstrate the effectiveness of the proposed formulation. We are able to achieve vast amount of performance boost over current SOTA models on nested NER datasets, i.e., +1.28, +2.55, +5.44, +6.37, respectively on ACE04, ACE05, GENIA and KBP17, along with SOTA results on flat NER datasets, i.e.,+0.24, +1.95, +0.21, +1.49 respectively on English CoNLL 2003, English OntoNotes 5.0, Chinese MSRA, Chinese OntoNotes 4.0.
翻译:命名实体识别( NER) 的任务通常分为嵌入式 NER 1. 49 和 平 NER 的任务, 取决于被命名实体是否被嵌入 0. 25 。 模型通常是为这两项任务单独开发的, 因为序列标签模型( 最常用的平面 NER 的骨干) 只能给某个特定标志指定一个标签, 这不适合嵌入 NER 的标志, 在那里可以指定一个标志。 在本文中, 我们提议一个能够同时处理固定和嵌入 NER 任务的统一框架。 我们提议将 NER 的任务作为序列标签问题处理 。 我们提议将 NER 的任务作为机器阅读( MRC) 任务单独开发。 例如, 提取带有\ textsc{per} 标签的实体( 最常用的骨干主 ), 将 + NER 标定成一个单一的标签, 这个标签不适合于嵌入一个标记 。 这个公式自然解决了实体在嵌入 NER 中重叠的问题: 两个重叠的实体需要回答两个独立的问题 。 此外, 由于 查询 先前的知识, 这个战略可以促进实体的提取进程,,, 导致 IMER 5 提炼过程,, 将 将 导致 将 正在 正在 两次 两次 两次 AS AS AS AS AS AS AS AS AS AS AS AS 的 AS AS AS 的 AS AS AS 。