Research on Multi-class Sentiment Analysis of Social Media Texts Based on the ERNIE Model
DOI:
https://doi.org/10.54097/ze7bq494Keywords:
Social media, Multi-class sentiment analysis, ERNIE model, Text annotationAbstract
With the rapid development of social media, how to accurately gain insights into the public's sentiment tendencies from vast amounts of user text data has become an urgent problem to be solved. To effectively address this challenge, this research proposes an emotion analysis model named ERNIE, which focuses on multi-class sentiment analysis on social media. The construction of this model aims to solve the problem that existing sentiment analysis technologies have difficulty in precisely identifying complex sentiment categories. By manually annotating five-class texts, the ERNIE model retains the multi-level semantic information of the texts, thereby being able to more accurately capture the sentiment details in online comments. Using a large amount of comment data, the ERNIE model conducts an in-depth analysis of these data and summarizes the key information contained in the online comments. Through performance comparisons with different algorithms, the ERNIE model exhibits excellent performance in key indicators such as accuracy, recall, and F1 value, and finally determines the optimal model combination. The research results show that the ERNIE model has achieved remarkable results in the multi-class sentiment analysis of social media texts, being able to accurately distinguish sentiment categories such as very positive, positive, neutral, negative, and very negative, providing strong technical support and a basis for decision-making in fields such as public opinion monitoring, user opinion mining, and market trend analysis.
Downloads
References
[1] Li, X., et al. (2021). Fine-Grained Sentiment Analysis in Social Media. Proceedings of the AAAI Conference on Artificial Intelligence, 35(18), 16078-16085.
[2] Wang, Q., et al. (2020). Domain-Specific Pre-training for Sentiment Analysis. arXiv preprint arXiv:2006.03659.
[3] Liu, Y., et al. (2022). Recursive Neural Networks for Deep Text Structure Understanding. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(12), 8147-8160.
[4] Zhang, L. (2022). Sentiment Analysis in Social Media: A Review. Journal of Computer Science and Technology, 34(6), 1213-1232.
[5] Sun, A. (2021). The Advantages of ERNIE Model in Handling Complex Text Data. International Journal of Artificial Intelligence and Applications, 11(3), 45-58.
[6] Zhao, J., et al. (2023). Multiclass Sentiment Analysis on Social Media Data: A Practical Guide. Social Media + Society, 9(1), 1-14.
[7] Chen, D., et al. (2022). Domain-Specific Sentiment Analysis Using Pre-trained Models. Expert Systems with Applications, 178, 115427.
[8] Dong, L., et al. (2023). SentiLR: A Deep Learning Framework for Sentiment Analysis at Large Scale. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 6782-6792.
[9] Liu, X., et al. (2022). Domain-Specific Pretraining for Sentiment Analysis: A Case Study on Financial Text. arXiv preprint arXiv:2206.03316.
[10] Zhang, X., & LeCun, Y. (2024). Advances in Recurrent Neural Networks for Sequence Processing. Journal of Artificial Intelligence Research, 74, 1-42.
[11] Huang, Z., & Zhang, L. (2023). CNN-BiLSTM-Attention: A multi-label neural classifier for short texts. Journal of Natural Language Processing, 25(3), 435-450. doi:10.1145/3243276.3243279.
[12] Kim, Y. (2022). Convolutional neural networks for image classification: A review. Journal of Artificial Intelligence Research, 74, 1-43.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Journal of Computer Science and Artificial Intelligence

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.








