基于标签语义信息感知的少样本命名实体识别方法
Few-shot Named Entity Recognition Method Based on Semantic Information Awareness of Labels
张越 1王长征 2苏雪峰 3闫智超 1张广军 1邵文远 1李茹4
作者信息
- 1. 山西大学计算机与信息技术学院,太原 030006
- 2. 山西同方知网数字出版技术有限公司,太原 030032
- 3. 山西大学计算机与信息技术学院,太原 030006;山西工程科技职业大学现代物流学院,晋中 030609
- 4. 山西大学计算机与信息技术学院,太原 030006;山西大学计算智能与中文信息处理教育部重点实验室,太原 030006
- 折叠
摘要
在少样本命名实体识别方法中,目前广泛应用的方法是基于原型网络的两阶段模型.但是,该方法未充分利用实体标签中的语义信息,且在距离计算中过度依赖实体类型原型向量,导致模型泛化能力差.针对这些问题,提出一种基于标签语义信息感知的少样本命名实体识别方法.该方法是一种先进行实体跨度检测,再判断实体类型的两阶段方法.在构建实体类型原型向量时,将对应实体类型包含的语义信息考虑在内,通过维度转换层将其与原型向量相融合.在对新样本进行实体识别时,将实体类型的正负样本与实体类型原型向量组成实体类型三元组,依据样本到三元组的距离对其进行分类.在多个数据集上的实验结果证明,该模型的性能比以往的模型有较大的提升.
Abstract
Among various approaches of few-shot named entity recognition(NER),two-stage models based on prototype networks are widely used.However,these methods can not fully utilize the semantic information in entity labels and overly relies on entity type prototype vectors in distance calculation,resulting in poor generalization ability of the model.To address these issues,this paper proposes a few-shot named entity recognition method based on label semantic information awareness.This method consists of a two-stage process:entity span detection and entity type classification.When constructing entity type prototype vectors,the semantic information associated with the corresponding entity types is considered and fused with the prototype vectors through a dimension transformation layer.During the entity recognition of new samples,entity type positive and negative samples are combined with entity type prototype vectors to form entity type triplets,and the samples are classified based on the distance to the triplets.Experimental results on multiple datasets demonstrate that the proposed model significantly outperforms previous models.
关键词
少样本命名实体识别/标签语义信息感知/实体类型三元组/原型网络Key words
few-shot named entity recognition(NER)/semantic information awareness of labels/entity type triplet/prototypical network引用本文复制引用
基金项目
山西省重点研发计划(202102020101008)
山西省科技合作交流专项(202204041101016)
山西省"1331工程"建设项目()
出版年
2024