{"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":"18 1","pages":"0"},"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}
引用次数: 0
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.