RL-AMHA: A Reinforcement Learning-Based Adaptive System for Personalized Mental Health Education and Intervention
Abstract
Effective mental health education requires personalized recommendations and intervention strategies that align with an individual's psychological condition and learning preferences. This study introduces a Reinforcement Learning-Based Adaptive Mental Health Advisor (RL-AMHA) that selects instructional content and self-care interventions using a PPO agent and actor-critic neural architecture. The agent uses self-reports, in-app behavior, and contextual cues from a mobile mental health platform. It was trained on 1,200 anonymized user sessions using log data and validated questionnaire scores, after ethics approval and informed consent. The experiment contrasts RL-AMHA with a static rule-based curriculum and a supervised recommendation model that predicts content based on past clicks. All models share the same content pool and interaction constraints; PPO hyperparameters (learning rate, discount factor, clipping range, batch size) were tweaked on a validation split, and 500 episodes were trained until the average episodic reward converged. RL-AMHA improves engagement rate from 75.2% to 88.1% (+2.9%), user satisfaction from 4.21 to 4.85 (+0.64 on a 5-point scale), and weekly self-care activity frequency from 9.4 to 13.1 (+39%) compared to the baseline. Additionally, it enhances stress-reduction scores by 18.6% and increases continuous engagement time from 21.3 to 29.0 minutes. With minimal implementation costs, RL-AMHA demonstrates scalability, adaptability, and effectiveness for long-term psychological support across mobile health, e-learning, and clinical decision-support environments.References
Saleem, M., Kühne, L., De Santis, K. K., Christianson, L., Brand, T., & Busse, H. (2021). Understanding engagement strategies in digital interventions for mental health promotion: scoping review. JMIR mental health, 8(12), e30000.
DOI: 10.2196/30000
Balaskas, A., Schueller, S. M., Cox, A. L., & Doherty, G. (2021). Ecological momentary interventions for mental health: A scoping review. PloS one, 16(3), e0248152. DOI: 10.1371/journal.pone.0248152
Ahad, A. A., Sanchez-Gonzalez, M., & Junquera, P. (2023). Understanding and addressing mental health stigma across cultures for improving psychiatric care: A narrative review. Cureus, 15(5).
doi: 10.7759/cureus.39549
Buselli, R., Corsi, M., Veltri, A., Baldanzi, S., Chiumiento, M., Del Lupo, E., ... & Cristaudo, A. (2021). Mental health of Health Care Workers (HCWs): a review of organizational interventions put in place by local institutions to cope with new psychosocial challenges resulting from COVID-19. Psychiatry research, 299, 113847.
DOI: 10.1016/j.psychres.2021.113847
Thornicroft, G., Sunkel, C., Aliev, A. A., Baker, S., Brohan, E., El Chammay, R., ... & Winkler, P. (2022). The Lancet Commission on ending stigma and discrimination in mental health. The Lancet, 400(10361), 1438-1480. doi: 10.1016/S0140-6736(22)01470-2.
Fleming, W. J. (2024). Employee well‐being outcomes from individual‐level mental health interventions: Cross‐sectional evidence from the United Kingdom. Industrial Relations Journal, 55(2), 162-182. https://doi.org/10.1111/irj.12418
Boucher, E. M., Harake, N. R., Ward, H. E., Stoeckl, S. E., Vargas, J., Minkel, J., ... & Zilca, R. (2021). Artificially intelligent chatbots in digital mental health interventions: a review. Expert review of medical devices, 18(sup1), 37-49. DOI: 10.1080/17434440.2021.2013200
Fusar‐Poli, P., Correll, C. U., Arango, C., Berk, M., Patel, V., & Ioannidis, J. P. (2021). Preventive psychiatry: a blueprint for improving the mental health of young people. World Psychiatry, 20(2), 200-221. DOI: 10.1002/wps.20869
Hua, Y., Liu, F., Yang, K., Li, Z., Na, H., Sheu, Y. H., ... & Torous, J. (2025). Large language models in mental health care: a scoping review. Current Treatment Options in Psychiatry, 12(1), 1-18. https://doi.org/10.1007/s40501-025-00363-y
Borghouts, J., Eikey, E., Mark, G., De Leon, C., Schueller, S. M., Schneider, M., ... & Sorkin, D. H. (2021). Barriers to and facilitators of user engagement with digital mental health interventions: systematic review. Journal of medical Internet research, 23(3), e24387. DOI: 10.2196/24387
Merino, M., Tornero-Aguilera, J. F., Rubio-Zarapuz, A., Villanueva-Tobaldo, C. V., Martín-Rodríguez, A., & Clemente-Suárez, V. J. (2024, July). Body perceptions and psychological well -being: a review of the impact of social media and physical measurements on self-esteem and mental health with a focus on body image satisfaction and its relationship with cultural and gender factors. In Healthcare (Vol. 12, No. 14, p. 1396). MDPI. https://doi.org/10.3390/healthcare12141396
Lattie, E. G., Stiles-Shields, C., & Graham, A. K. (2022). An overview of and recommendations for more accessible digital mental health services. Nature Reviews Psychology, 1(2), 87-100. https://doi.org/10.1038/s44159-021-00003-1
D. Zaçe, I. Hoxhaj, A. Orfino, A. M. Viteritti, L. Janiri, and M. L. Di Pietro, “Interventions to address mental health issues in healthcare workers during infectious disease outbreaks: A systematic review,” Journal of Psychiatric Research, vol. 136, pp. 319–333, Apr. 2021, doi: https://doi.org/10.1016/j.jpsychires.2021.02.019.
D. Z. Q. Gan, L. McGillivray, J. Han, H. Christensen, and M. Torok, “Effect of Engagement With Digital Interventions on Mental Health Outcomes: A Systematic Review and Meta-Analysis,” Frontiers in Digital Health, vol. 3, Nov. 2021, doi: https://doi.org/10.3389/fdgth.2021.764079.
T. J. Philippe et al., “Digital Health Interventions for Delivery of Mental Health Care: Systematic and Comprehensive Meta-Review (Preprint),” JMIR Mental Health, vol. 9, no. 5, 2021, doi: https://doi.org/10.2196/35159.
Mazlan, I., Abdullah, N., & Ahmad, N. (2023). Exploring the impact of hybrid recommender systems on personalized mental health recommendations. International Journal of Advanced Computer Science and Applications, 14(6), 935-944.
DOI: 10.14569/IJACSA.2023.0140699
Mazlan, I. B., Abdullah, N., Ahmad, N., & Harun, S. Z. (2024). A Review of Personalized Recommender System for Mental Health Interventions. International Journal of Advanced Computer Science & Applications, 15(10). DOI: 10.14569/IJACSA.2024.0151041
Kazi, F. F., & Sandbulte, J. (2023). Examining a social-based system with personalized recommendations to promote mental health for college students. Smart health, 28, 100385. DOI:10.1016/j.smhl.2023.100385
Singh, V., Kumar, A., & Gupta, S. (2022). Mental health prevention and promotion—A narrative review. Frontiers in psychiatry, 13, 898009. https://doi.org/10.3389/fpsyt.2022.898009
Worsley, J. D., Pennington, A., & Corcoran, R. (2022). Supporting mental health and wellbeing of university and college students: A systematic review of review-level evidence of interventions. PLoS one, 17(7), e0266725. DOI: 10.1371/journal.pone.0266725
Hornstein, S., Zantvoort, K., Lueken, U., Funk, B., & Hilbert, K. (2023). Personalization strategies in digital mental health interventions: a systematic review and conceptual framework for depressive symptoms. Frontiers in digital health, 5, 1170002. DOI: 10.3389/fdgth.2023.1170002
Kirkbride, J. B., Anglin, D. M., Colman, I., Dykxhoorn, J., Jones, P. B., Patalay, P., ... & Griffiths, S. L. (2024). The social determinants of mental health and disorder: evidence, prevention and recommendations. World psychiatry, 23(1), 58-90. DOI: 10.1002/wps.21160
Mutschler, C., Bellamy, C., Davidson, L., Lichtenstein, S., & Kidd, S. (2022). Implementation of peer support in mental health services: A systematic review of the literature. Psychological Services, 19(2), 360. DOI: 10.1037/ser0000531
https://www.kaggle.com/datasets/ziya07/student-mental-health-and-resilience-dataset
DOI:
https://doi.org/10.31449/inf.v50i8.11347Downloads
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.







