Sentiment analysis of online public opinion based on CNN-BiLSTM and attention mechanism

Lingwei Wei, Lei Yang
{"title":"Sentiment analysis of online public opinion based on CNN-BiLSTM and attention mechanism","authors":"Lingwei Wei, Lei Yang","doi":"10.1117/12.2682437","DOIUrl":null,"url":null,"abstract":"Emotion recognition from social network texts aims to mine netizens’ subjective emotions, such as stances and emotional tendencies, over an event, which is imperative for monitoring Internet public opinion. Convolutional neural networks (CNN) and bidirectional long short-term memory (BiLSTM) are widely used in the field of text classification. The combination of the two can exploit the CNNs’ feature extraction ability and BiLSTM’s ability to extract context dependency. However, for emotional recognition, it is also necessary to consider some specific words in online social text. Therefore, we constructed a model for emotion recognition based on Internet public opinion in three steps. First, the CNN was used to extract local features of social network texts. Second, context-related global features were extracted using the BiLSTM. Finally, we introduced an attention mechanism to obtain important features. Experiments were conducted using netizens’ comments from a microblog during the COVID-19 epidemic as the dataset. Experimental results showed that the feature vector of the proposed model (i.e., the CNN-BiLSTM-Attention model) contains richer semantic information of texts, which can effectively improve the performance of emotion recognition from Internet public opinions.","PeriodicalId":440430,"journal":{"name":"International Conference on Electronic Technology and Information Science","volume":"33 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Electronic Technology and Information Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2682437","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Emotion recognition from social network texts aims to mine netizens’ subjective emotions, such as stances and emotional tendencies, over an event, which is imperative for monitoring Internet public opinion. Convolutional neural networks (CNN) and bidirectional long short-term memory (BiLSTM) are widely used in the field of text classification. The combination of the two can exploit the CNNs’ feature extraction ability and BiLSTM’s ability to extract context dependency. However, for emotional recognition, it is also necessary to consider some specific words in online social text. Therefore, we constructed a model for emotion recognition based on Internet public opinion in three steps. First, the CNN was used to extract local features of social network texts. Second, context-related global features were extracted using the BiLSTM. Finally, we introduced an attention mechanism to obtain important features. Experiments were conducted using netizens’ comments from a microblog during the COVID-19 epidemic as the dataset. Experimental results showed that the feature vector of the proposed model (i.e., the CNN-BiLSTM-Attention model) contains richer semantic information of texts, which can effectively improve the performance of emotion recognition from Internet public opinions.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于CNN-BiLSTM和关注机制的网络舆情情感分析
社交网络文本情感识别的目的是挖掘网民对事件的主观情感,如立场和情感倾向,这是网络舆情监测的必要条件。卷积神经网络(CNN)和双向长短期记忆(BiLSTM)在文本分类领域得到了广泛的应用。两者的结合可以利用cnn的特征提取能力和BiLSTM提取上下文依赖关系的能力。然而,对于情感识别,也需要考虑网络社交文本中的一些特定词汇。因此,我们分三步构建了基于网络舆情的情感识别模型。首先,利用CNN提取社交网络文本的局部特征。其次,利用BiLSTM提取上下文相关的全局特征;最后,我们引入了一个注意机制来获取重要的特征。实验以新冠疫情期间某微博上的网友评论为数据集。实验结果表明,所提模型的特征向量(即CNN-BiLSTM-Attention模型)包含了更丰富的文本语义信息,能够有效提高网络舆情情感识别的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Network traffic classification based on multi-head attention and deep metric learning A study of regional precipitation data fusion model based on BP-LSTM in Qinghai province Design and application of an intelligent monitoring and early warning system for bioremediation of coking contaminated sites Research on improved adaptive spectrum access mechanism for millimetre wave Unloading optimization of networked vehicles based on improved genetic and particle swarm optimization
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1