基于XLNet的食品安全网络舆情情感分析

Hu Wang, Chaofan Jiang, Changbin Jiang, Di Li
{"title":"基于XLNet的食品安全网络舆情情感分析","authors":"Hu Wang, Chaofan Jiang, Changbin Jiang, Di Li","doi":"10.1117/12.2674590","DOIUrl":null,"url":null,"abstract":"Internet public opinion sentiment analysis is significant for managing and controlling food safety events. Since emotions can play a decisive role in behavior, netizens’ emotions towards the food safety events will influence their expressions of opinions on the Internet, thereby influencing the development of public opinion on the events. However, few scholars have analyzed the sentiment of Internet public opinion regarding food safety. We employ XLNet, a dynamic text representation method, to build context-dependent word vectors for the distributed representation of Internet public opinion in order to better analyze Internet public opinion on food safety events according to its characteristics. Then, we input the word vectors into Convolutional Neural Networks (CNN) and Bi-directional Long Short-Term Memory (BiLSTM) layers for local semantic features and contextual semantic extraction. Additionally, we introduce an attention mechanism to assign different weights to the features based on their importance before conducting sentiment tendency analysis. The experimental results showed that the average accuracy and Fl values of the sentiment analysis model proposed in this study for Internet public opinion regarding food safety reached 94.12% and 94.61%, respectively, which achieved better results than comparable sentiment analysis models.","PeriodicalId":286364,"journal":{"name":"Conference on Computer Graphics, Artificial Intelligence, and Data Processing","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2023-05-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Sentiment analysis of food safety internet public opinion based on XLNet\",\"authors\":\"Hu Wang, Chaofan Jiang, Changbin Jiang, Di Li\",\"doi\":\"10.1117/12.2674590\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Internet public opinion sentiment analysis is significant for managing and controlling food safety events. Since emotions can play a decisive role in behavior, netizens’ emotions towards the food safety events will influence their expressions of opinions on the Internet, thereby influencing the development of public opinion on the events. However, few scholars have analyzed the sentiment of Internet public opinion regarding food safety. We employ XLNet, a dynamic text representation method, to build context-dependent word vectors for the distributed representation of Internet public opinion in order to better analyze Internet public opinion on food safety events according to its characteristics. Then, we input the word vectors into Convolutional Neural Networks (CNN) and Bi-directional Long Short-Term Memory (BiLSTM) layers for local semantic features and contextual semantic extraction. Additionally, we introduce an attention mechanism to assign different weights to the features based on their importance before conducting sentiment tendency analysis. The experimental results showed that the average accuracy and Fl values of the sentiment analysis model proposed in this study for Internet public opinion regarding food safety reached 94.12% and 94.61%, respectively, which achieved better results than comparable sentiment analysis models.\",\"PeriodicalId\":286364,\"journal\":{\"name\":\"Conference on Computer Graphics, Artificial Intelligence, and Data Processing\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-05-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Conference on Computer Graphics, Artificial Intelligence, and Data Processing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1117/12.2674590\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Conference on Computer Graphics, Artificial Intelligence, and Data Processing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2674590","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

网络舆情分析对食品安全事件的管理和控制具有重要意义。由于情绪在行为中起着决定性的作用,网民对食品安全事件的情绪会影响其在网络上的意见表达,从而影响事件舆论的发展。然而,很少有学者分析网络舆论对食品安全的看法。为了更好地分析食品安全事件网络舆情的特点,我们采用动态文本表示方法XLNet构建了基于上下文的网络舆情分布式表示词向量。然后,我们将词向量输入到卷积神经网络(CNN)和双向长短期记忆(BiLSTM)层中进行局部语义特征和上下文语义提取。此外,我们引入了一个注意机制,在进行情绪倾向分析之前,根据特征的重要性分配不同的权重。实验结果表明,本文提出的网络食品安全舆情情感分析模型的平均准确率和Fl值分别达到了94.12%和94.61%,比可比的情感分析模型取得了更好的结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Sentiment analysis of food safety internet public opinion based on XLNet
Internet public opinion sentiment analysis is significant for managing and controlling food safety events. Since emotions can play a decisive role in behavior, netizens’ emotions towards the food safety events will influence their expressions of opinions on the Internet, thereby influencing the development of public opinion on the events. However, few scholars have analyzed the sentiment of Internet public opinion regarding food safety. We employ XLNet, a dynamic text representation method, to build context-dependent word vectors for the distributed representation of Internet public opinion in order to better analyze Internet public opinion on food safety events according to its characteristics. Then, we input the word vectors into Convolutional Neural Networks (CNN) and Bi-directional Long Short-Term Memory (BiLSTM) layers for local semantic features and contextual semantic extraction. Additionally, we introduce an attention mechanism to assign different weights to the features based on their importance before conducting sentiment tendency analysis. The experimental results showed that the average accuracy and Fl values of the sentiment analysis model proposed in this study for Internet public opinion regarding food safety reached 94.12% and 94.61%, respectively, which achieved better results than comparable sentiment analysis models.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Size and defect detection of valve based on computer vision Research on quantitative evaluation method of test flight risk based on fuzzy theory Research on target grid investment optimization technology of medium- and low-voltage distribution network based on improved genetic algorithm Research on the analysis method of civil aircraft operational safety data Research on plum target detection based on improved YOLOv3 and jetson nano
×
引用
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