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

融合位置权重的基于注意力交叉注意力的长短期记忆方面情感分析模型
引用本文:武婷,曹春萍.融合位置权重的基于注意力交叉注意力的长短期记忆方面情感分析模型[J].计算机应用,2019,39(8):2198-2203.
作者姓名:武婷  曹春萍
作者单位:上海理工大学光电信息与计算机工程学院,上海,200082;上海理工大学光电信息与计算机工程学院,上海,200082
基金项目:国家自然科学基金资助项目(61803264)。
摘    要:针对传统的基于注意力机制的神经网络模型不能对方面特征和情感信息进行有效关注,以及不同距离或不同方向的上下文词对方面词的情感极性判断有不同的贡献等问题,提出一种融合位置权重的基于注意力交叉注意力的长短期记忆方面情感分析模型(LWAOA-LSTM)。首先,为词向量加入位置权重信息;然后,使用长短期记忆(LSTM)网络同时对方面和句子进行建模以生成方面表示和句子表示,同时通过注意力交叉注意力模块共同学习方面和句子的表示以获得方面到文本和文本到方面的交互关注,并自动关注句子中的重要部分;最后,在景点、餐饮、住宿不同主题数据集上进行实验,验证了该模型对方面情感分析的准确性。实验结果表明,所提模型在景点、餐饮、住宿主题数据集上的准确率分别达到78.3%、80.6%和82.1%,取得了比传统LSTM网络模型更好的效果。

关 键 词:深度学习  方面情感分析  位置加权词向量  注意力交叉注意力  长短期记忆网络
收稿时间:2019-01-02
修稿时间:2019-04-02

Aspect level sentiment classification model with location weight and long-short term memory based on attention-over-attention
WU Ting,CAO Chunping.Aspect level sentiment classification model with location weight and long-short term memory based on attention-over-attention[J].journal of Computer Applications,2019,39(8):2198-2203.
Authors:WU Ting  CAO Chunping
Affiliation:School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200082, China
Abstract:The traditional attention-based neural network model can not effectively pay attention to aspect features and sentiment information, and context words of different distances or different directions have different contributions to the sentiment polarity assessment of aspect words. Aiming at these problems, Location Weight and Attention-Over-Attention Long-short Term Memory (LWAOA-LSTM) model was proposed. Firstly, the location weight information was added to the word vectors. Then Long-Short Term Memory (LSTM) network was used to simultaneously model aspects and sentences to generate aspect representation and sentence representation, and the aspect and sentence representations were learned simultaneously through attention-over-attention module to obtain the interactions from the aspect to the text and from the text to the aspect, and the important part of the sentence was automatically paid attention to. Finally, the experiments were carried out on different thematic datasets of attractions, catering and accommodation, and the accuracy of the aspect level sentiment analysis by the model was verified. Experimental results show that the accuracy of the model on the datasets of attractions, catering and accommodation is 78.3%, 80.6% and 82.1% respectively, and LWAOA-LSTM has better performance than traditional LSTM network model.
Keywords:deep learning  aspect level sentiment classification  location-weighted word vector  attention-over-attention  Long-Short Term Memory (LSTM) network  
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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