基于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%,比可比的情感分析模型取得了更好的结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
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
×
引用
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学术文献互助群
群 号:481959085
Book学术官方微信