计算机工程与应用 ›› 2023, Vol. 59 ›› Issue (20): 129-137.DOI: 10.3778/j.issn.1002-8331.2206-0376

• 模式识别与人工智能 • 上一篇    下一篇

融合简化句法信息的端到端方面级情感分析

张济群,张名芳,郭军军,相艳   

  1. 1.昆明理工大学 信息工程与自动化学院,昆明 650500
    2.昆明理工大学 云南省人工智能重点实验室,昆明 650500
  • 出版日期:2023-10-15 发布日期:2023-10-15

End-to-End Based-Aspect Sentiment Analysis Incorporating Simplified Syntactic Information

ZHANG Jiqun, ZHANG Mingfang, GUO Junjun, XIANG Yan   

  1. 1.Faculty of Information Engineering and Automation, Kunming University of Science and Technology, Kunming 650500, China
    2.Key Laboratory Artificial Intelligence in Yunnan Province, Kunming University of Science and Technology, Kunming 650500, China
  • Online:2023-10-15 Published:2023-10-15

摘要: 端到端方面级情感分析(E2E-ABSA)通过联合标签的方式识别评论中的方面术语,并对其进行情感极性分类。现有模型关注于改进特征编码器和解码器来提升性能。对于该任务而言,方面术语通常以组块的形式出现,且方面术语和观点术语具有句法关联,有效利用上述特性将有利于E2E-ABSA。提出了一种融合简化句法信息的E2E-ABSA模型。通过常用的句法分析获得评论的原始句法依赖树。同时,制定一组规则对句法依赖树进行重构,以获得简洁的句法信息。利用注意力机制将重构的句法信息融合到模型中,获得方面术语和观点术语的相关特征,从而更好地完成方面级情感分析。在两个公共评论数据集上进行验证,实验结果证明了该模型的有效性,且消融实验证明简化的句法信息确实有利于端到端方面级情感分析任务的完成。

关键词: 方面级情感分析, 句法, 端到端, 方面术语, 注意力机制

Abstract: End-to-end aspect-based sentiment analysis(E2E-ABSA) recognizes the aspect terms from reviews and classifies their sentiment polarities by an unified tagging scheme. Existing models mainly focus on improving feature encoder and decoder to improve performance. Existing models focus on improving feature encoder and decoder to improve performance. For this task, aspect terms usually appear in the form of chunks, and aspect terms and opinion terms are syntactically related, effective use of above characteristic would benefit E2E-ABSA. An E2E-ABSA model is proposed to incorporate simplified syntactic information. Firstly, it gets the original dependency tree of a review by a common syntactic parsing. At the same time, it makes a set of rules to reconstruct the original dependency tree to obtain concise syntactic information. Then it uses attention mechanism to integrate the reconstructed syntactic information into the model, and obtains the correlation aspect term and opinion term features, so as to better complete aspect level sentimental analysis. Experimental results on two public review datasets show the effectiveness of the model, and ablation experiments show that the simplified syntactic information is indeed conducive to the completion E2E-ABSA.

Key words: based-aspect sentiment analysis, syntactic, end-to-end, aspect terms, attention mechanism