DEEPMIND: A Deep Learning Model with RNN and Attention for Personalized Mental Health Education Effectiveness Assessment and Content Optimization
Abstract
Mental health education plays a critical role in improving psychological well-being and awareness, particularly in educational and organizational settings. Evaluating its effectiveness and optimizing the content delivery can significantly enhance engagement and learning outcomes. Traditional assessment methods often rely on manual surveys and static analytics, which are limited in personalization and fail to capture complex behavioral patterns. These approaches lack adaptability and struggle to provide real-time feedback for content improvement. To address these limitations, this paper proposes a novel deep learning-based framework called DEEPMIND (Deep Engagement and Effectiveness Prediction Model Integrating Neural Decisioning). DEEPMIND utilizes recurrent neural networks (RNNs) and attention mechanisms to analyze learner interaction data and sentiment patterns for assessing educational effectiveness. The proposed method dynamically evaluates learner responses, behavioral signals, and content features to recommend personalized content optimizations. By integrating natural language processing (NLP) and deep feature extraction, DEEPMIND continuously improves content relevance and user engagement. Experimental results demonstrate that DEEPMIND outperforms baseline models in accuracy, adaptability, and content enhancement, leading to a 25% increase in learner retention and a 30% improvement in mental health knowledge acquisition. The model has been trained and tested using the Sentiment Analysis for Mental Health dataset, which comprises 10,000 labeled samples. It separated the training and testing sets into five groups and utilized an 80:20 ratio. DEEPMIND has performed significantly better than baseline algorithms in predicting engagement (91.2%), detecting sentiment (89.4%), and adapting (87.6%).References
Liu, W., & Zhang, Y. (2020). Evaluation feedback information for optimization of mental health courses with deep learning methods. Soft Computing, 24(11), 8275-8283.
Liu, J., & Wang, H. (2022). Analysis of educational mental health and emotion based on deep learning and computational intelligence optimization. Frontiers in Psychology, 13, 898609.
Su, C., Xu, Z., Pathak, J., & Wang, F. (2020). Deep learning in mental health outcome research: a scoping review. Translational psychiatry, 10(1), 116.
Zhou, Y., & Li, L. (2022). Research on recommendation of college mental health teaching materials based on improved deep learning algorithm. Wireless Communications and Mobile Computing, 2022(1), 5184221.
Liu, X. (2022). Optimization of college students’ mental health education based on improved intelligent recognition model. Mathematical Problems in Engineering, 2022(1), 1573810.
Iyortsuun, N. K., Kim, S. H., Jhon, M., Yang, H. J., & Pant, S. (2023, January). A review of machine learning and deep learning approaches on mental health diagnosis. In Healthcare (Vol. 11, No. 3, p. 285). MDPI.
Ahmed, U., Mukhiya, S. K., Srivastava, G., Lamo, Y., & Lin, J. C. W. (2021). Attention-based deep entropy active learning using lexical algorithm for mental health treatment. Frontiers in Psychology, 12, 642347.
Khoo, L. S., Lim, M. K., Chong, C. Y., & McNaney, R. (2024). Machine learning for multimodal mental health detection: a systematic review of passive sensing approaches. Sensors, 24(2), 348.
Thieme, A., Belgrave, D., & Doherty, G. (2020). Machine learning in mental health: A systematic review of the HCI literature to support the development of effective and implementable ML systems. ACM Transactions on Computer-Human Interaction (TOCHI), 27(5), 1-53.
Abd Rahman, R., Omar, K., Noah, S. A. M., Danuri, M. S. N. M., & Al-Garadi, M. A. (2020). Application of machine learning methods in mental health detection: a systematic review. Ieee Access, 8, 183952-183964.
Zhang, Z., Lin, W., Liu, M., & Mahmoud, M. (2020, November). Multimodal deep learning framework for mental disorder recognition. In 2020 15th IEEE international conference on automatic face and gesture recognition (FG 2020) (pp. 344-350). IEEE.
Chien, I., Enrique, A., Palacios, J., Regan, T., Keegan, D., Carter, D., ... & Belgrave, D. (2020). A machine learning approach to understanding patterns of engagement with internet-delivered mental health interventions. JAMA network open, 3(7), e2010791.
Oyebode, O., Alqahtani, F., & Orji, R. (2020). Using machine learning and thematic analysis methods to evaluate mental health apps based on user reviews. IEEE Access, 8, 111141-111158.
Oyebode, O., Fowles, J., Steeves, D., & Orji, R. (2023). Machine learning techniques in adaptive and personalized systems for health and wellness. International Journal of Human–Computer Interaction, 39(9), 1938-1962.
Chung, J., & Teo, J. (2022). Mental health prediction using machine learning: taxonomy, applications, and challenges. Applied Computational Intelligence and Soft Computing, 2022(1), 9970363.
Halkiopoulos, C., & Gkintoni, E. (2025). The Role of Machine Learning in AR/VR-Based Cognitive Therapies: A Systematic Review for Mental Health Disorders. Electronics (2079-9292), 14(6).
Le Glaz, A., Haralambous, Y., Kim-Dufor, D. H., Lenca, P., Billot, R., Ryan, T. C., ... & Lemey, C. (2021). Machine learning and natural language processing in mental health: systematic review. Journal of medical Internet research, 23(5), e15708.
Amanat, A., Rizwan, M., Javed, A. R., Abdelhaq, M., Alsaqour, R., Pandya, S., & Uddin, M. (2022). Deep learning for depression detection from textual data. Electronics, 11(5), 676.
Aleem, S., Huda, N. U., Amin, R., Khalid, S., Alshamrani, S. S., & Alshehri, A. (2022). Machine learning algorithms for depression: diagnosis, insights, and research directions. Electronics, 11(7), 1111.
Chekroud, A. M., Bondar, J., Delgadillo, J., Doherty, G., Wasil, A., Fokkema, M., ... & Choi, K. (2021). The promise of machine learning in predicting treatment outcomes in psychiatry. World Psychiatry, 20(2), 154-170.
Wang, T., & Park, J. (2021). Design and implementation of intelligent sports training system for college students' mental health education. Frontiers in psychology, 12, 634978.
Idrees, A. R., Kraft, R., Mutter, A., Baumeister, H., Reichert, M., & Pryss, R. (2024). Persuasive technologies design for mental and behavioral health platforms: A scoping literature review. PLOS Digital Health, 3(5), e0000498.
Chen, Z. S., Galatzer-Levy, I. R., Bigio, B., Nasca, C., & Zhang, Y. (2022). Modern views of machine learning for precision psychiatry. Patterns, 3(11).
Kour, H., & Gupta, M. K. (2022). An hybrid deep learning approach for depression prediction from user tweets using feature-rich CNN and bi-directional LSTM. Multimedia Tools and Applications, 81(17), 23649-23685.
Jiang, T., Gradus, J. L., & Rosellini, A. J. (2020). Supervised machine learning: a brief primer. Behavior therapy, 51(5), 675-687.
Fei, Z., Yang, E., Li, D. D. U., Butler, S., Ijomah, W., Li, X., & Zhou, H. (2020). Deep convolution network based emotion analysis towards mental health care. Neurocomputing, 388, 212-227.
Balcombe, L., & De Leo, D. (2021). Digital mental health challenges and the horizon ahead for solutions. JMIR Mental Health, 8(3), e26811.
Koppe, G., Meyer-Lindenberg, A., & Durstewitz, D. (2021). Deep learning for small and big data in psychiatry. Neuropsychopharmacology, 46(1), 176-190.
Bruggen, S., & Sah, V. (2025). AI-driven virtual health systems integrating federated learning for decentralized telemedicine. Journal of Nano Molecular Intelligence and Virtual Health Systems, 1(1), 1–12. https://doi.org/10.70023/nmivhs.251101
https://www.kaggle.com/datasets/suchintikasarkar/sentiment-analysis-for-mental-health
Kolenik, T., Schiepek, G., & Gams, M. (2024). Computational psychotherapy system for mental health prediction and behavior change with a conversational agent. Neuropsychiatric Disease and Treatment, 2465-2498.
Kolenik, T. (2025). Intelligent Cognitive System for Computational Psychotherapy with a Conversational Agent for Attitude and Behavior Change in Stress, Anxiety, and Depression. Informatica, 49(2).
Kolenik, T. (2022). Methods in digital mental health: smartphone-based assessment and intervention for stress, anxiety, and depression. In Integrating Artificial Intelligence and IoT for Advanced Health Informatics: AI in the Healthcare Sector (pp. 105-128). Cham: Springer International Publishing.
Kolenik, T., & Gams, M. (2021). Intelligent cognitive assistants for attitude and behavior change support in mental health: state-of-the-art technical review. Electronics, 10(11), 1250.
Kolenik, T., & Gams, M. (2021). Persuasive technology for mental health: One step closer to (mental health care) equality?. IEEE Technology and Society Magazine, 40(1), 80-86.
DOI:
https://doi.org/10.31449/inf.v50i6.9960Downloads
Published
How to Cite
Issue
Section
License
Authors retain copyright in their work. By submitting to and publishing with Informatica, authors grant the publisher (Slovene Society Informatika) the non-exclusive right to publish, reproduce, and distribute the article and to identify itself as the original publisher.
All articles are published under the Creative Commons Attribution license CC BY 3.0. Under this license, others may share and adapt the work for any purpose, provided appropriate credit is given and changes (if any) are indicated.
Authors may deposit and share the submitted version, accepted manuscript, and published version, provided the original publication in Informatica is properly cited.







