Aspect-level Sentiment Analysis Research based on XLN et-LCF

Donglin Ma, Qingqing Chen, Ce Yang
{"title":"Aspect-level Sentiment Analysis Research based on XLN et-LCF","authors":"Donglin Ma, Qingqing Chen, Ce Yang","doi":"10.1109/FAIML57028.2022.00040","DOIUrl":null,"url":null,"abstract":"At present, the commonly used aspect-level sentiment analysis method is to combine the neural network model and the attention mechanism, use the neural network to mine the semantic features of the sentence, and the attention mechanism assigns the weight of the emotional words in the sentence. However, when there are multiple aspects in a sentence, and the aspect words are uncertain, methods that rely solely on the attention mechanism cannot effectively distinguish sentiment words from different aspects. Therefore, an aspect-level sentiment analysis model based on XLNet-LCF is proposed. The model obtains contextual semantic features bidirectionally through XLNet pre-training, and introduces a context focus mechanism to capture the local context of the context with the aspect word as the focus, which can effectively reduce the impact of different aspects. To solve the problem of mutual interference between emotional words, we combined the multi-head self-attention mechanism to deeply extract the semantic features in the global context to construct an emotional weight matrix. Finally, the matrix was normalized to improve the training speed and input the emotional analysis layer to judge the emotional polarity. The model is tested on three public datasets, Laptop, Restaurant, and Twitter. The results show that the accuracy rates of sentiment analysis of the XLNet-LFC model reach 80.12%, 85.24%, and 81.2%, and the F1 values reach 76.59%, 76.9%, and 73.37%, the overall performance is better than the comparison model.","PeriodicalId":307172,"journal":{"name":"2022 International Conference on Frontiers of Artificial Intelligence and Machine Learning (FAIML)","volume":"58 3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Frontiers of Artificial Intelligence and Machine Learning (FAIML)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/FAIML57028.2022.00040","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

At present, the commonly used aspect-level sentiment analysis method is to combine the neural network model and the attention mechanism, use the neural network to mine the semantic features of the sentence, and the attention mechanism assigns the weight of the emotional words in the sentence. However, when there are multiple aspects in a sentence, and the aspect words are uncertain, methods that rely solely on the attention mechanism cannot effectively distinguish sentiment words from different aspects. Therefore, an aspect-level sentiment analysis model based on XLNet-LCF is proposed. The model obtains contextual semantic features bidirectionally through XLNet pre-training, and introduces a context focus mechanism to capture the local context of the context with the aspect word as the focus, which can effectively reduce the impact of different aspects. To solve the problem of mutual interference between emotional words, we combined the multi-head self-attention mechanism to deeply extract the semantic features in the global context to construct an emotional weight matrix. Finally, the matrix was normalized to improve the training speed and input the emotional analysis layer to judge the emotional polarity. The model is tested on three public datasets, Laptop, Restaurant, and Twitter. The results show that the accuracy rates of sentiment analysis of the XLNet-LFC model reach 80.12%, 85.24%, and 81.2%, and the F1 values reach 76.59%, 76.9%, and 73.37%, the overall performance is better than the comparison model.
基于XLN et-LCF的方面级情感分析研究
目前常用的方面级情感分析方法是将神经网络模型与注意机制相结合,利用神经网络挖掘句子的语义特征,注意机制分配句子中情感词的权重。然而,当一个句子中有多个方面,并且方面词具有不确定性时,仅依靠注意机制的方法无法有效区分不同方面的情感词。为此,提出了一种基于XLNet-LCF的方面级情感分析模型。该模型通过XLNet预训练双向获取上下文语义特征,并引入上下文焦点机制,以方面词为焦点捕获上下文的局部上下文,可以有效减少不同方面的影响。为了解决情感词之间的相互干扰问题,我们结合多头自注意机制,深度提取全局语境下的语义特征,构建情感权重矩阵。最后对矩阵进行归一化处理,提高训练速度,并输入情绪分析层判断情绪极性。该模型在三个公共数据集上进行了测试,分别是Laptop、Restaurant和Twitter。结果表明,XLNet-LFC模型的情感分析准确率分别达到80.12%、85.24%和81.2%,F1值分别达到76.59%、76.9%和73.37%,整体性能优于对比模型。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信