Emotion Recognition in Social Networks Using Large Language Models
DOI:
https://doi.org/10.54097/mbghtx09Keywords:
Social network, emotion recognition, large language model.Abstract
With the rapid development of the internet, people have become increasingly reliant on social media platforms, generating vast amounts of social network data. Among these, sentiment data stands out as a particularly valuable category. By analyzing sentiment data, it is possible to predict the evolution of social network opinions and promptly monitor users emotional changes for early intervention. This paper discusses various large language models from the perspective of reducing sentiment classification categories, evaluating their performance through core metrics including accuracy, precision, and recall. Through seven different approaches—such as adding output linear layers, enhancing text recognition capabilities, implementing three-level joint prompt structures, and integrating COMET knowledge reasoning—this paper fine-tuned large language models to achieve more precise identification of emotional data in social networks. The optimized models demonstrated improved overall performance. This comprehensive review of large language models in social network sentiment analysis provides scholars with actionable insights for better fine-tuning strategies in this field.
Downloads
References
[1] Khemani B, Patil S, Malave S, Gupta J. Improved graph convolutional network for emotion analysis in social media text. MethodsX. 2025; 14: 103325.
[2] Xie J, Wang Y, Meng T, Tai J, Zheng Y, Varatnitski YI. Multimodal emotion recognition method based on domain generalization and graph neural networks. Electronics. 2025; 14 (5): 885.
[3] Yan J, Pu P, Jiang L. Emotion-RGC net: A novel approach for emotion recognition in social media using RoBERTa and graph neural networks. PLoS One. 2025; 20 (3): e0318524.
[4] Hossain I, Puppala S, Alam MJ, Talukder S, Talukder Z. A visual approach to tracking emotional sentiment dynamics in social network commentaries. In: Proc Int AAAI Conf Web Soc Media. 2024; 18: 596-609.
[5] Li Y, Xie M, Yi Y. Fine-grained sentiment analysis on social network platforms based on deep learning. Appl Res Comput. 2017; 34 (3): 743-7.
[6] Xu G, Liu L, Wang J, Chen Z. Text sentiment analysis based on BERT and hypergraph dual attention network. Appl Res Comput. 2024; 41 (3): 786-93.
[7] Shah SM, Gillani SA, Baig MSA, Saleem MA, Siddiqui MH. Advancing depression detection on social media platforms through fine-tuned large language models. Online Soc Netw Media. 2025; 46: 100311.
[8] Kwon OH, Vu K, Bhargava N, Radaideh MI, Cooper J, Joynt V, et al. Sentiment analysis of the United States public support of nuclear power on social media using large language models. Renew Sustain Energy Rev. 2024; 200: 114570.
[9] Polat EN, Yildiz OT, Demiroğlu C, Kafescioğlu N. Decoding emotional dynamics: A comparative analysis of contextual and non-contextual models in sentiment analysis of Turkish couple dialogues. IEEE Access. 2024.
[10] Zhang X, Yan Z. A three-level joint prompt implicit sentiment analysis method incorporating large language models. Appl Res Comput. 2024; 41 (10): 2900-5.
[11] Li J, Shi L, Ding M, Lei Y, Zhao D, Chen L. Stance detection in social media texts based on large language models. J Front Comput Sci Technol. 2025; 19 (5): 1302-12.
[12] Long Y, Gou Z, Chen Y, Qin L. Multi-task generative reconstruction for conversational emotion recognition based on large language models. Appl Res Comput. 2025; 42 (7): 1964-71.
[13] Maazallahi A, Asadpour M, Bazmi P. Advancing emotion recognition in social media: A novel integration of heterogeneous neural networks with fine-tuned language models. Inf Process Manag. 2025; 62 (2): 103974.
[14] Buscemi A, Proverbio D. ChatGPT vs. Gemini vs. LLaMA on multilingual sentiment analysis. arXiv preprint arXiv: 2402. 01715. 2024.
[15] Saxena A, Reddy H, Saxena P. Introduction to sentiment analysis covering basics, tools, evaluation metrics, challenges, and applications. In: Principles of Social Networking: The New Horizon and Emerging Challenges. 2021. p. 249-77.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Academic Journal of Science and Technology

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








