Textual Sentiment Classification and Mental Health Analysis Based on Bidirectional Gated Recurrent Unit Modeling
Research Article
Open Access
CC BY

Textual Sentiment Classification and Mental Health Analysis Based on Bidirectional Gated Recurrent Unit Modeling

Ke Li 1* Binghong Li 2
1 School of Medical Information and Engineering, Xuzhou Medical University, Jiangsu, Xuzhou, 221004, China
2 Air Force Logistics University, Jiangsu, Xuzhou, 221116, China
*Corresponding author: likeer1002@163.com
Published on 27 June 2025
Journal Cover
ACE Vol.170
ISSN (Print): 2755-273X
ISSN (Online): 2755-2721
ISBN (Print): 978-1-80590-217-1
ISBN (Online): 978-1-80590-218-8
Download Cover

Abstract

This study focuses on the task of text sentiment classification, aiming to lay the foundation for in-depth analysis of user mental health. To achieve this goal, we innovatively introduced and applied the Bidirectional Gated Recurrent Unit (BiGRU) model for modeling and experimentation. This model can effectively capture the contextual dependencies in text sequences, significantly improving the learning and recognition ability of emotional semantic features. In the rigorous model evaluation process, the analysis results based on the test set confusion matrix showed that the model achieved a high prediction accuracy of 94.8%. This outstanding performance metric fully validates the high effectiveness and reliability of the proposed BiGRU model in handling text sentiment classification problems, with accurate and robust classification performance. Therefore, this study not only confirms the enormous potential of BiGRU in this field, but more importantly, its excellent classification performance provides strong core technical support for the subsequent construction of automated and intelligent text emotion recognition and classification systems. More importantly, the successful application of this model in mental health analysis scenarios means that it can efficiently identify the emotions contained in user texts, providing objective and quantifiable analysis basis for timely insight into user psychological states, warning potential risks, and providing personalized psychological support or intervention suggestions. It has important practical significance for improving the intelligence level and response efficiency of mental health services.

Keywords:

Text Sentiment Analysis, Bidirectional gated recurrent units, Classification

View PDF
Li,K.;Li,B. (2025). Textual Sentiment Classification and Mental Health Analysis Based on Bidirectional Gated Recurrent Unit Modeling. Applied and Computational Engineering,170,1-7.

References

[1]. Li, Weiyuan, and Hua Xu. "Text-based emotion classification using emotion cause extraction." Expert Systems with Applications 41.4 (2014): 1742-1749.

[2]. Aman, Saima, and Stan Szpakowicz. "Identifying expressions of emotion in text." International conference on text, speech and dialogue. Berlin, Heidelberg: Springer Berlin Heidelberg, 2007.

[3]. Bandhakavi,Anil,etal."Lexiconbasedfeatureextractionforemotiontext classification." Pattern recognition letters 93 (2017): 133-142.

[4]. Bostan, Laura Ana Maria, and Roman Klinger. "An analysis of annotated corpora for emotion classification in text." (2018).

[5]. Acheampong, Francisca Adoma, Chen Wenyu, and Henry Nunoo ‐ Mensah. "Text ‐ based emotion detection: Advances, challenges, and opportunities." Engineering Reports 2.7 (2020): e12189.

[6]. Zhang, Rui, Cairang Jia, and Jian Wang. "Text emotion classification system based on multifractal methods." Chaos, Solitons & Fractals 156 (2022): 111867.

[7]. Batbaatar, Erdenebileg, Meijing Li, and Keun Ho Ryu. "Semantic-emotion neural network for emotion recognition from text." IEEE access 7 (2019): 111866-111878.

[8]. Yang, Xiaocui, et al. "Image-text multimodal emotion classification via multi-view attentional network." IEEE Transactions on Multimedia 23 (2020): 4014-4026.

[9]. Qorich, Mohammed, and Rajae El Ouazzani. "Text sentiment classification of Amazon reviews using word embeddings and convolutional neural networks." The Journal of Supercomputing 79.10 (2023): 11029-11054.

[10]. Khan, Jawad, et al. "Sentiment and context-aware hybrid DNN with attention for text sentiment classification." IEEE Access 11 (2023): 28162-28179.

Cite this article

Li,K.;Li,B. (2025). Textual Sentiment Classification and Mental Health Analysis Based on Bidirectional Gated Recurrent Unit Modeling. Applied and Computational Engineering,170,1-7.

Data availability

The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.

About volume

Volume title: Proceedings of the 3rd International Conference on Mechatronics and Smart Systems

ISBN: 978-1-80590-217-1(Print) / 978-1-80590-218-8(Online)
Editor: Mian Umer Shafiq
Conference website: https://2025.confmss.org/
Conference date: 16 June 2025
Series: Applied and Computational Engineering
Volume number: Vol.170
ISSN: 2755-2721(Print) / 2755-273X(Online)