Textual Sentiment Classification and Mental Health Analysis Based on Bidirectional Gated Recurrent Unit Modeling
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.
References
- Li, Weiyuan, and Hua Xu. "Text-based emotion classification using emotion cause extraction." Expert Systems with Applications 41.4 (2014): 1742-1749.
- Aman, Saima, and Stan Szpakowicz. "Identifying expressions of emotion in text." International conference on text, speech and dialogue. Berlin, Heidelberg: Springer Berlin Heidelberg, 2007.
- Bandhakavi,Anil,etal."Lexiconbasedfeatureextractionforemotiontext classification." Pattern recognition letters 93 (2017): 133-142.
- Bostan, Laura Ana Maria, and Roman Klinger. "An analysis of annotated corpora for emotion classification in text." (2018).
- Acheampong, Francisca Adoma, Chen Wenyu, and Henry Nunoo ‐ Mensah. "Text ‐ based emotion detection: Advances, challenges, and opportunities." Engineering Reports 2.7 (2020): e12189.
- Zhang, Rui, Cairang Jia, and Jian Wang. "Text emotion classification system based on multifractal methods." Chaos, Solitons & Fractals 156 (2022): 111867.
- Batbaatar, Erdenebileg, Meijing Li, and Keun Ho Ryu. "Semantic-emotion neural network for emotion recognition from text." IEEE access 7 (2019): 111866-111878.
- Yang, Xiaocui, et al. "Image-text multimodal emotion classification via multi-view attentional network." IEEE Transactions on Multimedia 23 (2020): 4014-4026.
- 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.
- Khan, Jawad, et al. "Sentiment and context-aware hybrid DNN with attention for text sentiment classification." IEEE Access 11 (2023): 28162-28179.