Sentiment Analysis of Micro-blog on Public Health Emergency with Prompt Embedding

被引:0
|
作者
Lai Y. [1 ]
Chen Y. [1 ]
Hu X. [2 ]
Huang X. [3 ]
机构
[1] School of Computer, Electronics and Information, Guangxi University, Nanning
[2] School of Big Data and Artificial Intelligence, Guangxi University of Finance and Economics, Nanning
[3] College of Information Engineering, Guangxi Vocational University of Agriculture, Nanning
关键词
Feature Fusion; Few Shot; Prompt Embedding; Public Health Emergency; Sentiment Analysis;
D O I
10.11925/infotech.2096-3467.2022.0751
中图分类号
学科分类号
摘要
[Objective] At the early stage of public health emergencies, limited Weibo posts and informal expressions lead to ineffective sentiment analysis. We propose a sentiment analysis model for Weibo posts based on prompt embedding and emotion feature fusion to address this issue. [Methods] First, we extracted the sentiment information from Weibo posts based on the emotional dictionary. Then, we used the pre-trained RoBERTa model to establish semantic and sentiment vectors. We also embedded prompts as prefixes for the semantic vectors. Third, we utilized the Transformer encoder and attention mechanism to extract semantic and emotional features. We also computed the sample feature weights using the focal loss function. Finally, we combined the semantic and emotional features to conduct sentiment analysis. [Results] We examined the new model with Weibo comments on the outbreak of COVID-19 in Shenzhen. The accuracy and F1 score of the model reached 93.46% and 93.49%, which were 6.78% and 6.97% higher than the baseline BERT model. [Limitations] Weibo data contains a large amount of images and videos. However, our model did not include multi-modal fusion for sentiment analysis. [Conclusions] The proposed model could improve the effectiveness of sentiment classification with a small sample data size. © 2023 Chinese Academy of Sciences. All rights reserved.
引用
收藏
页码:46 / 55
页数:9
相关论文
共 29 条
  • [1] Zhao Hong, Contraction and Boundary of the Individual’s Right under the Epidemic Prevention and Control, Journal of Comparative Law, 2, pp. 11-24, (2022)
  • [2] Liu Zhongbao, Qin Quan, Zhao Wenjuan, Research on the Influence of COVID-19 Event on the Netizen Emotion under the Microblog Environment, Journal of Intelligence, 40, 2, pp. 138-145, (2021)
  • [3] Zhou Ning, Zhong Na, Jin Gaoya, Et al., Chinese Text Sentiment Analysis Based on Dual Channel Attention Network with Hybrid Word Embedding, Data Analysis and Knowledge Discovery, 7, 3, pp. 58-68, (2023)
  • [4] Han Pu, Zhang Wei, Zhang Zhanpeng, Et al., Sentiment Analysis of Weibo Posts on Public Health Emergency with Feature Fusion and Multi-Channel, Data Analysis and Knowledge Discovery, 5, 11, pp. 68-79, (2021)
  • [5] Liu P F, Yuan W Z, Fu J L, Et al., Pre-Train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing
  • [6] Brown T B, Mann B, Ryder N, Et al., Language Models are Few-Shot Learners, Proceedings of the 34th International Conference on Neural Information Processing Systems, pp. 1877-1901, (2020)
  • [7] Liu Y H, Ott M, Goyal N, Et al., RoBERTa: A Robustly Optimized BERT Pretraining Approach
  • [8] Shen Bin, Yan Xin, Zhou Lihua, Et al., Microblog Sentiment Analysis Based on ERNIE and Dual Attention Mechanism, Journal of Yunnan University(Natural Sciences Edition), 44, 3, pp. 480-489, (2022)
  • [9] Zhong Jiawa, Liu Wei, Wang Sili, Et al., Review of Methods and Applications of Text Sentiment Analysis, Data Analysis and Knowledge Discovery, 5, 6, pp. 1-13, (2021)
  • [10] Wang Ting, Yang Wenzhong, Review of Text Sentiment Analysis Methods, Computer Engineering and Applications, 57, 12, pp. 11-24, (2021)