《计算机应用》唯一官方网站 ›› 2023, Vol. 43 ›› Issue (8): 2412-2419.DOI: 10.11772/j.issn.1001-9081.2022071041

• 人工智能 • 上一篇    

知识增强的方面词交互图神经网络

衡红军, 杨鼎诚   

  1. 中国民航大学 计算机科学与技术学院,天津 300300
  • 收稿日期:2022-07-19 修回日期:2022-10-28 接受日期:2022-11-11 发布日期:2023-01-15 出版日期:2023-08-10
  • 通讯作者: 杨鼎诚
  • 作者简介:衡红军(1968—),男,河南周口人,副教授,博士,主要研究方向:自然语言处理、智能信息处理;

Knowledge enhanced aspect word interactive graph neural network

Hongjun HENG, Dingcheng YANG   

  1. College of Computer Science and Technology,Civil Aviation University of China,Tianjin 300300,China
  • Received:2022-07-19 Revised:2022-10-28 Accepted:2022-11-11 Online:2023-01-15 Published:2023-08-10
  • Contact: Dingcheng YANG
  • About author:HENG Hongjun, born in 1968, Ph. D., associate professor. His research interests include natural language processing, intelligent information processing.

摘要:

现有的方面级情感分析方法对句法依存树蕴含信息使用不足,忽略多方面词之间的关联,并且缺少对外部知识的使用。针对这些问题,提出一种知识增强的方面词交互图神经网络(KEAIG)模型。首先利用融合领域知识的BERT-PT (Bidirectional Encoder Representation from Transformers with Post-Train)编码文本,并利用知识图谱增加句法树的情感信息。模型分两部分对句法依存树蕴含的信息进行提取:第一部分利用句法依存树中的关联关系和每个单词的词性标签提取句子特征,第二部分对融入知识图谱的句法依存树进行特征提取。之后使用融合门控单元将多方面词关联特征融合进提取到的特征中。最后将两部分句子表示拼接起来作为最终分类依据。在4个数据集上的实验结果表明,所提模型相较于基准模型关系图注意力网络(RGAT),在准确率上分别提升了2.17%、5.54%、2.60%和2.83%,在F1值(Macro?F1)上分别提升了2.69%、6.87%、8.77%和14.70%,充分表明了利用句法树、引入外部知识和提取多方面词关联的有效性。

关键词: 方面级情感分析, 句法依存树, 领域知识, 知识图谱, 图神经网络, 门控单元, 方面词交互

Abstract:

Existing aspect-based sentiment analysis methods do not use enough information of syntactic dependency trees, ignore the associations between multiple aspect words, and lack the use of external knowledge. Aiming at these problems, a Knowledge Enhanced Aspect word Interactive Graph neural network (KEAIG) model was proposed. Firstly, BERT-PT (Bidirectional Encoder Representation from Transformers with Post-Train) fused with domain knowledge was used to encode text, and the knowledge graph was used to add sentiment information to the syntactic trees. The information contained in the syntactic dependency tree was extracted by the model in two parts: in the first part, the association relationships in the syntactic dependency tree and the part-of-speech tag of each word were used to extract sentence features, and in the second part, the feature extraction was performed on the syntactic dependency tree combined with the knowledge graph. Afterwards, the fusion gated unit was used to fuse the association features of multiple aspect words. Finally, the two parts of the sentence representations were concatenated together as the final classification basis. Experimental results on four datasets show that compared with the benchmark model Relational Graph Attention Network (RGAT), the proposed model improves the accuracy by 2.17%, 5.54%, 2.60%, and 2.83%, respectively, and the F1 score (Macro?F1) by 2.69% and 6.87%, 8.77%, and 14.70%, respectively, fully demonstrating the effectiveness of using syntactic trees, introducing external knowledge and extracting multi-aspect word associations.

Key words: aspect-based sentiment analysis, syntactic dependency tree, domain knowledge, knowledge graph, Graph Neural Network (GNN), gated unit, aspect word interaction

中图分类号: