arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2303.10870cs.CL
收藏

基于多任务Transformer的命名实体识别

Multi-task Transformer with Relation-attention and Type-attention for Named Entity Recognition

Beihang University(北京航空航天大学);Meituan(美团);Meta AI;Harbin Institute of Technology(哈尔滨工业大学)

Ying Mo, Hongyin Tang, Jiahao Liu, Qifan Wang, Zenglin Xu, Jingang Wang, Wei Wu, Zhoujun Li

摘要:

命名实体识别是自然语言处理中的一个重要研究课题。有三种类型的NER任务,包括平面,嵌套和不连续的实体识别。大多数以前的顺序标记模型是特定于任务的,而近年来,由于将所有NER任务统一到seq2seq模型框架中的优势,生成模型正在兴起。虽然取得了很好的性能,我们的试点研究表明,现有的生成模型在检测实体边界和估计实体类型是无效的。本文提出了一种多任务的Transformer,它将实体边界检测任务合并到命名实体识别任务中。更具体地说,我们实现了实体边界检测分类的句子内的令牌之间的关系。为了提高解码过程中实体类型映射的准确性,我们采用外部知识库计算先验实体类型分布,然后通过自我和交叉注意力机制将信息融入模型。我们进行实验广泛的一组NER基准,包括两个平面,三个嵌套,和三个不连续的NER数据集。实验结果表明,我们的方法大大提高了生成式NER模型的性能。

英文摘要:

Named entity recognition (NER) is an important research problem in natural language processing. There are three types of NER tasks, including flat, nested and discontinuous entity recognition. Most previous sequential labeling models are task-specific, while recent years have witnessed the rising of generative models due to the advantage of unifying all NER tasks into the seq2seq model framework. Although achieving promising performance, our pilot studies demonstrate that existing generative models are ineffective at detecting entity boundaries and estimating entity types. This paper proposes a multi-task Transformer, which incorporates an entity boundary detection task into the named entity recognition task. More concretely, we achieve entity boundary detection by classifying the relations between tokens within the sentence. To improve the accuracy of entity-type mapping during decoding, we adopt an external knowledge base to calculate the prior entity-type distributions and then incorporate the information into the model via the self and cross-attention mechanisms. We perform experiments on an extensive set of NER benchmarks, including two flat, three nested, and three discontinuous NER datasets. Experimental results show that our approach considerably improves the generative NER model's performance.

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

↑