arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.10545cs.CL
收藏

用于命名实体识别的并行实例查询网络

Parallel Instance Query Network for Named Entity Recognition

DAMO Academy, Alibaba Group(阿里巴巴集团达摩院);Zhejiang University(浙江大学)

Yongliang Shen, Xiaobin Wang, Zeqi Tan, Guangwei Xu, Pengjun Xie, Fei Huang, Weiming Lu, Yueting Zhuang

摘要:

命名实体识别是自然语言处理中的一项基本任务。最近的作品对待命名实体识别作为一个阅读理解任务,手动构建特定类型的查询提取实体。这一模式存在三个问题。首先,特定于类型的查询只能提取一种类型的实体,这是低效的。第二,不同类型实体的提取是孤立的,忽略了它们之间的依赖关系。第三,查询构造依赖于外部知识,难以应用于具有数百种实体类型的现实场景。为了解决这些问题,我们提出了并行实例查询网络(PIQN),它建立了全局和可学习的实例查询,以并行的方式从句子中提取实体。每个实例查询预测一个实体,通过同时提供所有实例查询,我们可以并行查询所有实体。实例查询不是从外部知识构造的,而是可以在训练期间学习它们不同的查询语义。为了训练模型,我们将标签分配视为一对多线性分配问题(LAP),并以最小的分配成本动态地将黄金实体分配给实例查询。在嵌套和平面NER数据集上的实验表明,我们提出的方法优于以前的最先进的模型。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑