首页 | 本学科首页   官方微博 | 高级检索  
     

基于信息增强BERT的关系分类
引用本文:万莹,孙连英,赵平,王金锋,涂帅.基于信息增强BERT的关系分类[J].中文信息学报,2021,35(3):69-77.
作者姓名:万莹  孙连英  赵平  王金锋  涂帅
作者单位:1.北京联合大学 智慧城市学院,北京 100101;
2.北京联合大学 城市轨道交通与物流学院,北京 100101
基金项目:国家重点研发计划(2018YFC0807806);天诚汇智基金(2018A01003);北京联合大学研究生资助项目
摘    要:关系分类是自然语言处理领域中重要的语义处理任务,随着机器学习技术的发展,预训练模型BERT在多项自然语言处理任务中取得了大量研究成果,但在关系分类领域尚有待探索。该文针对关系分类的问题特点,提出一种基于实体与实体上下文信息增强BERT的关系分类方法(EC_BERT),该方法利用BERT获取句子特征表示向量,并结合两个目标实体以及实体上下文语句信息,送入简单神经网络进行关系分类。此外,该文还对BERT的改进模型RoBERTa、DistilBERT进行了实验,发现BERT对于关系分类能力更为突出。实验结果显示,该方法在SemEval-2010任务8数据集和KBP-37数据集上Macro-F1值最高取得了89.69%和65.92%的结果,与以往方法相比,其在关系分类任务上表现出较好的性能。

关 键 词:关系分类  BERT  自然语言处理  神经网络  
收稿时间:2019-11-19

Relation Classification Based on Information Enhanced BERT
WAN Ying,SUN Lianying,ZHAO Ping,WANG Jinfeng,TU Shuai.Relation Classification Based on Information Enhanced BERT[J].Journal of Chinese Information Processing,2021,35(3):69-77.
Authors:WAN Ying  SUN Lianying  ZHAO Ping  WANG Jinfeng  TU Shuai
Affiliation:1.Smart City College, Beijing Union University, Beijing 100101, China;2.College of Urban Rail Transit and Logistics, Beijing Union University, Beijing 100101, China
Abstract:Relation classification is an important semantic processing task in the field of natural language processing. With the development of machine learning technology, the pre-trained model BERT has achieved excellent results in many natural language processing tasks. This paper proposes a relation classification method (EC_BERT) based on entity and entity context information enhanced BERT. This method uses BERT to obtain the sentence feature representation vector, and then combines two target entities and entity context statement information. In addition, the article also carried out experiments on RoBERTa model and DistiBERT model which are the improved model of BERT. The results on the SemEval-2010 task 8 dataset and the KBP-37 dataset show that the Bert based method performs best, achieving 89.69% and 65.92% of the Macro-F1, respectively.
Keywords:relation classification  BERT  natural language processing  neural network  
点击此处可从《中文信息学报》浏览原始摘要信息
点击此处可从《中文信息学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号