节点文献

ON-LSTM和自注意力机制的方面情感分析

Aspect Sentiment Analysis Combining ON-LSTM and Self-attention Mechanism

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 张忠林李林川朱向其马海云

【Author】 ZHANG Zhong-lin;LI Lin-chuan;ZHU Xiang-qi;MA Hai-yun;School of Electronic & Information Engineering,Lanzhou Jiaotong University;School of Electronic & Information Engineering,Tianshui Normal University;

【机构】 兰州交通大学电子与信息工程学院天水师范学院电子信息与电气工程学院

【摘要】 方面情感分析是更细粒度的文本情感分析,传统的方法是采用长短时记忆神经网络和注意力机制相结合,但实际并未考虑到方面情感特征项与句子上下文之间的联系,并且在预训练阶段通常使用静态语言模型,无法根据需要调整输入词向量.针对以上两个问题,本文提出一种基于有序神经元长短时记忆和自注意力机制的方面情感分析模型(ON-LSTM-SA).首先,利用深层语境化词表征(ELMo)进行语料的预训练.其次,在隐藏层采用ON-LSTM神经网络模型从上下文的左右两个方向同时进行训练,获取方面情感特征项与句子之间的层级结构关系.最后,根据自注意力机制计算内部的词依赖关系.该模型通过在SemEval2014和SemEval2017中的Laptop、Restaurant和Twitter三个数据集上进行实验,与传统LSTM模型相比分别提升了2.1%、5.9%和6.5%.

【Abstract】 Aspect sentiment analysis is a more granular text sentiment analysis. The traditional method is to combine the Long Short Term Memory(LSTM) neural network with the Attention mechanism,but it is not considered the connection between the aspect terms and the sentence context actually;In the pre-training phase,the static language model is usually used,and the input word vector cannot be adjusted as needed. Aiming at the above two problems,this paper proposes an Ordered Neurons Long Short-Term Memory-based and Self-Attention Mechanism-based Aspect Sentiment Analysis(ON-LSTM-SA) model. First,the pre-training of corpus is performed by using the deep contextualized word representation-Embeddings from Language Models(ELMo). Secondly,the ON-LSTM neural network model is used in the hidden layer to train from the left and right directions of the context to obtain the hierarchical structure relationship between the aspect terms and the sentences. Finally,the internal word dependencies are calculated according to the Self-Attention mechanism. The model was tested on the three datasets of Laptop,Restaurant and Twitter in SemEval2014 and SemEval 2017,which increased by 2.1%,5.9% and 6.5%,respectively,compared to the traditional LSTM model.

【关键词】 情感分析ON-LSTM注意力机制ELMo
【Key words】 sentiment analysisON-LSTMattention mechanismELMo
【基金】 甘肃省自然科学基金项目(18JR3RE245)资助
  • 【文献出处】 小型微型计算机系统 ,Journal of Chinese Computer Systems , 编辑部邮箱 ,2020年09期
  • 【分类号】TP391.1;TP183
  • 【被引频次】19
  • 【下载频次】533
节点文献中: 

本文链接的文献网络图示:

本文的引文网络