arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.03054cs.CLcs.AIcs.LG
收藏

全局指针:一种新的基于跨距的高效命名实体识别方法

Global Pointer: Novel Efficient Span-based Approach for Named Entity Recognition

Zhuiyi Technology Co., Ltd.(追一科技有限公司)

Jianlin Su, Ahmed Murtadha, Shengfeng Pan, Jing Hou, Jun Sun, Wanwei Huang, Bo Wen, Yunfeng Liu

摘要:

命名实体识别(NER)任务的目的是从一段文本中识别出属于预定义语义类型的实体,例如人、位置、组织等。用于平面实体NER的最新解决方案通常遭受捕获底层文本中的细粒度语义信息。现有的基于跨度的方法克服了这一限制,但计算时间仍然是一个问题。在这项工作中,我们提出了一种新的跨度为基础的NER框架,即全球指针(GP),利用相对位置通过乘法注意力机制。最终目标是启用考虑开始和结束位置的全局视图来预测实体。为此,我们设计了两个模块来识别给定实体的头部和尾部,以实现训练和推理过程之间的不一致。此外,我们引入了一个新的分类损失函数,以解决不平衡的标签问题。在参数方面,我们引入了一种简单但有效的近似方法来减少训练参数。我们在各种基准数据集上广泛评估GP。我们广泛的实验表明,GP可以优于现有的解决方案。此外,实验结果表明,引入的损失函数相比,softmax和熵的替代品的有效性。

英文摘要:

Named entity recognition (NER) task aims at identifying entities from a piece of text that belong to predefined semantic types such as person, location, organization, etc. The state-of-the-art solutions for flat entities NER commonly suffer from capturing the fine-grained semantic information in underlying texts. The existing span-based approaches overcome this limitation, but the computation time is still a concern. In this work, we propose a novel span-based NER framework, namely Global Pointer (GP), that leverages the relative positions through a multiplicative attention mechanism. The ultimate goal is to enable a global view that considers the beginning and the end positions to predict the entity. To this end, we design two modules to identify the head and the tail of a given entity to enable the inconsistency between the training and inference processes. Moreover, we introduce a novel classification loss function to address the imbalance label problem. In terms of parameters, we introduce a simple but effective approximate method to reduce the training parameters. We extensively evaluate GP on various benchmark datasets. Our extensive experiments demonstrate that GP can outperform the existing solution. Moreover, the experimental results show the efficacy of the introduced loss function compared to softmax and entropy alternatives.

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

↑