应用科学学报 ›› 2022, Vol. 40 ›› Issue (1): 25-35.doi: 10.3969/j.issn.0255-8297.2022.01.003

• 计算机应用专辑 • 上一篇    下一篇

在线评论的静态多模态情感分析

王开心1,2, 徐秀娟1,2, 刘宇1,2, 赵哲焕1,2, 赵小薇1,2   

  1. 1. 大连理工大学 软件学院, 辽宁 大连 116620;
    2. 大连理工大学 辽宁省泛在网络与服务软件重点实验室, 辽宁 大连 116620
  • 收稿日期:2021-07-25 发布日期:2022-01-28
  • 通信作者: 赵小薇,副教授,研究方向为自然语言处理、城市交通数据处理。E-mail:xiaowei.zhao@dlut.edu.cn E-mail:xiaowei.zhao@dlut.edu.cn
  • 基金资助:
    国家自然科学基金(No.61672128)资助

Static Multimodal Sentiment Analysis of Online Reviews

WANG Kaixin1,2, XU Xiujuan1,2, LIU Yu1,2, ZHAO Zhehuan1,2, ZHAO Xiaowei1,2   

  1. 1. School of Software Technology, Dalian University of Technology, Dalian 116620, Liaoning, China;
    2. Key Laboratory for Ubiquitous Network and Service Software of Liaoning Province, Dalian University of Technology, Dalian 116620, Liaoning, China
  • Received:2021-07-25 Published:2022-01-28

摘要: 提出了一种基于Pre-LN Transformer的静态多模态情感分类模型。该模型首先利用Pre-LN Transformer结构中的编码器提取评论文本中的语义特征,其中编码器的多头自注意力机制允许模型在不同的子空间内学到相关情感信息。然后根据ResNet提取评论的图像特征,在特征水平融合的基础上通过视觉方面注意力机制来指导文本的情感分类,实现在线评论的静态多模态情感分析。最后在Yelp数据集上执行情感分类的实验结果表明:所提出的模型在准确率上相比于BiGRU-mVGG、Trans-mVGG模型分别提高了1.34%、1.10%,验证了该方法的有效性和可行性。

关键词: 情感分析, 静态多模态, 在线评论, 视觉方面注意力

Abstract: This paper proposes a static multi-modal sentiment classification model based on Pre-LN Transformer. This model firstly extracts semantic features from reviews using the encoder in Pre-LN Transformer structure, in which the multi-head self-attention mechanism allows the model to learn relevant emotional information in different subspaces. Then our model extracts the image features according to ResNet in the reviews. On the basis of feature level fusion, the visual attention mechanism guides the sentiment classification of text and realizes the static multimodal sentiment analysis of online reviews. Experimental results show that our model improves the performance by 1.34% and 1.10% in evaluation accuracy than BiGRU-mVGG and Trans-mVGG on Yelp datasets, which verifies the effectiveness and feasibility of the proposed model.

Key words: sentiment analysis, static multimodal, online reviews, visual aspect attention

中图分类号: