Explainable Artificial Intelligence for Identifying Psychological Risk Profiles of Youth Suicidal Ideation: A SHAP-Based Machine Learning Analysis

Authors

    Mariana Coutinho * Department of Clinical Psychology, Federal University of Rio de Janeiro, Rio de Janeiro, Brazil mariana.coutinho@ufrj.br
    Karim Fahmy Department of Clinical Psychology, Cairo University, Giza, Egypt
https://doi.org/10.61838/kman.jayps.4905

Keywords:

Youth suicidal ideation, explainable artificial intelligence, machine learning, SHAP, psychological risk profiles

Abstract

Objective: The objective of this study was to develop and interpret an explainable machine learning model capable of accurately identifying psychological risk profiles associated with suicidal ideation among youth.

Methods and Materials: This study employed a cross-sectional design involving adolescents and young adults recruited from educational settings. Participants completed standardized self-report measures assessing suicidal ideation, depressive and anxiety symptoms, emotional dysregulation, hopelessness, perceived family and peer support, academic stress, bullying exposure, and problematic digital use. Multiple supervised machine learning algorithms were trained to predict suicidal ideation, with model performance evaluated using area under the receiver operating characteristic curve, accuracy, precision, recall, and F1-score. The best-performing ensemble model was selected and interpreted using Shapley Additive Explanations to generate both global feature importance and individual-level explanatory profiles.

Findings: Ensemble-based machine learning models significantly outperformed traditional classifiers, achieving excellent discriminative performance in identifying suicidal ideation. Depressive symptoms, hopelessness, and emotional dysregulation emerged as the strongest positive predictors, while perceived family support demonstrated a robust protective effect. SHAP-based analyses revealed substantial heterogeneity in risk patterns, identifying multiple psychological profiles characterized by internalizing distress, affective instability, interpersonal disconnection, and contextual stress. These profiles explained individual predictions with high transparency, demonstrating that similar levels of suicidal ideation risk can arise from distinct configurations of psychological and social factors.

Conclusion: The findings indicate that explainable artificial intelligence can simultaneously achieve high predictive accuracy and meaningful psychological interpretability in youth suicide risk assessment. SHAP-based machine learning offers a powerful framework for identifying individualized risk profiles.

Downloads

Download data is not yet available.

References

Achterhof, R., Kirtley, O. J., Lafit, G., Hiekkaranta, A. P., Hagemann, N., Karlijn Susanna Francisca Maria, H., Lecei, A., Boets, B., Henquet, C., Schneider, M., Sips, R., Vaessen, T., Winkel, R. v., Viechtbauer, W., Reininghaus, U., & Myin–Germeys, I. (2024). Social Processes as the Missing Link: Cross-Sectionally Testing a Conceptual Model on Social Mediators of Early Psychopathological Development. Psychological medicine, 54(13), 3591-3601. https://doi.org/10.1017/s0033291724001594

Cheung, T., Fong, D., Fan, S., Fong, T. K. H., & Yip, P. S. F. (2020). Suicidality Among Young Adolescents in Secondary Schools in Hong Kong. https://doi.org/10.21203/rs.2.24176/v1

Chiang, S. C., Ting, S. J., & Yu‐Hsien, S. (2024). Emotional Variability and Late Adolescent Suicidal Ideation: Buffering Role of Parent–youth Connectedness. Suicide and Life-Threatening Behavior, 55(2). https://doi.org/10.1111/sltb.13146

Chong, M. K., Hickie, I. B., Ottavio, A., Rogers, D. C., Dimitropoulos, G., LaMonica, H. M., Borgnolo, L. J., McKenna, S., Scott, E., & Iorfino, F. (2024). A Digital Approach for Addressing Suicidal Ideation and Behaviors in Youth Mental Health Services: Observational Study. Journal of medical Internet research, 26, e60879. https://doi.org/10.2196/60879

DeSmet, A., Rodelli, M., Walrave, M., Portzky, G., Dumon, E., & Soenens, B. (2021). The Moderating Role of Parenting Dimensions in the Association Between Traditional or Cyberbullying Victimization and Mental Health Among Adolescents of Different Sexual Orientation. International journal of environmental research and public health, 18(6), 2867. https://doi.org/10.3390/ijerph18062867

DeVille, D. C., Whalen, D. J., Breslin, F. J., Morris, A. S., Khalsa, S. S., Paulus, M. P., & Barch, D. M. (2020). Prevalence and Family-Related Factors Associated With Suicidal Ideation, Suicide Attempts, and Self-Injury in Children Aged 9 to 10 Years. JAMA Network Open, 3(2), e1920956. https://doi.org/10.1001/jamanetworkopen.2019.20956

Dong, X. S., Brooks, R. D., Brown, S. M., & Harris, W. J. (2022). Psychological Distress and Suicidal Ideation Among Male Construction Workers in the United States. American Journal of Industrial Medicine, 65(5), 396-408. https://doi.org/10.1002/ajim.23340

Donnelly, H. K., Richardson, D., & Solberg, S. (2021). Understanding Somatic Symptoms Associated With South Korean Adolescent Suicidal Ideation, Depression, and Social Anxiety. Behavioral Sciences, 11(11), 151. https://doi.org/10.3390/bs11110151

Fearon, D., Luther, A. W., Browne, D. T., Colman, I., Dubin, J. A., Duncan, L., & Ferro, M. A. (2025). Morbidity, Suicidal Ideation and Suicide Attempts Among Youth in Canada: A Nationally-Representative Study: Morbidité, Idées Suicidaires Et Tentatives De Suicide Chez Les Jeunes Au Canada : Une Étude Représentative À L’échelle Nationale. The Canadian Journal of Psychiatry. https://doi.org/10.1177/07067437251343292

Ho, T. C., Gifuni, A. J., & Gotlib, I. H. (2021). Psychobiological Risk Factors for Suicidal Thoughts and Behaviors in Adolescence: A Consideration of the Role of Puberty. Molecular Psychiatry, 27(1), 606-623. https://doi.org/10.1038/s41380-021-01171-5

Hodgins, S., Byrne, T., Spies, M., & Madigan, K. (2020). Knowledge and Confidence of Clinicians in Irish CAMHS When Working With Transgender Youth; And the Factors Clinicians Report Will Assist Them in This Work. Irish Journal of Psychological Medicine, 40(2), 228-237. https://doi.org/10.1017/ipm.2020.24

Jadva, V., Guasp, A., Bradlow, J. H., Bower‐Brown, S., & Foley, S. (2021). Predictors of Self-Harm and Suicide in LGBT Youth: The Role of Gender, Socio-Economic Status, Bullying and School Experience. Journal of Public Health, 45(1), 102-108. https://doi.org/10.1093/pubmed/fdab383

Jenness, J. L., Peverill, M., Miller, A. B., Heleniak, C., Robertson, M. M., Sambrook, K., Sheridan, M. A., & McLaughlin, K. A. (2020). Alterations in Neural Circuits Underlying Emotion Regulation Following Child Maltreatment: A Mechanism Underlying Trauma-Related Psychopathology. Psychological medicine, 51(11), 1880-1889. https://doi.org/10.1017/s0033291720000641

Kemp, K., Poindexter, B., Ng, M. Y., Correia, V. J., Marshall, B. D. L., Koinis‐Mitchell, D., & Tolou‐Shams, M. (2021). Early Identification of Suicide Risk Factors Among Justice-Involved Youth. Criminal Justice and Behavior, 49(5), 730-744. https://doi.org/10.1177/00938548211059504

Kingsbury, M., Hammond, N. G., Johnstone, F. C. W., & Colman, I. (2022). Suicidality Among Sexual Minority and Transgender Adolescents: A Nationally Representative Population-Based Study of Youth in Canada. Canadian Medical Association Journal, 194(22), E767-E774. https://doi.org/10.1503/cmaj.212054

Kreuze, E. (2024). Mental Health and Suicide Among Youth Residing in Frontier and Remote Areas. Journal of Clinical Psychology, 80(7), 1634-1672. https://doi.org/10.1002/jclp.23684

Lawrence, H. R., Burke, T. A., Sheehan, A. E., Pastro, B., Levin, R. Y., Walsh, R. F., Bettis, A. H., & Liu, R. T. (2021). Prevalence and Correlates of Suicidal Ideation and Suicide Attempts in Preadolescent Children: A US Population-Based Study. Translational psychiatry, 11(1). https://doi.org/10.1038/s41398-021-01593-3

Liu, L. (2025). Suicide Ideation Among Justice-Involved Youth: Trauma History, Mental Disorder, and Experiences in Residential Facilities. Criminal Justice Policy Review, 36(3), 79-98. https://doi.org/10.1177/08874034251314047

Lopes, D. S. (2025). Factors Contributing to Increased Mental Health Symptoms and Suicidality Among Sexual and Gender Minority Youth: A Scoping Review of Quantitative Research. Journal of Psychosocial Nursing and Mental Health Services, 1-6. https://doi.org/10.3928/02793695-20250305-01

López, R., Harris, K. M., Seibel, L., Thomas, S. C., Leichtweis, R. N., & Esposito‐Smythers, C. (2024). Trajectories of Adolescent Suicidal Ideation and Depressive Symptoms During Partial Hospitalization: Clinical and Demographic Characteristics as Predictors of Change. Psychological Services, 21(3), 444-453. https://doi.org/10.1037/ser0000796

Morelli, N., Matuszewski, D., Walker, C., Fatima, S., Bridge, A., Klaus, N., Harris, K. J., & Teran, P. (2025). Chronic Suicidality in Youth Admitted for Mental Health Emergencies: A Retrospective Chart Review. Kansas Journal of Medicine, 18(5), 111-114. https://doi.org/10.17161/kjm.vol18.23589

Okechukwu, F. O., Ogba, K. T. U., Nwufo, J. I., Ogba, M. O., Onyekachi, B. N., Nwanosike, C. I., & Onyishi, A. B. (2022). Academic Stress and Suicidal Ideation: Moderating Roles of Coping Style and Resilience. BMC psychiatry, 22(1). https://doi.org/10.1186/s12888-022-04063-2

Ong, M. S., Lakoma, M., Bhosrekar, S. G., Hickok, J., McLean, L., Murphy, M., Poland, R. E., Purtell, N., & Ross‐Degnan, D. (2020). Risk Factors for Suicide Attempt in Children, Adolescents, and Young Adults Hospitalized for Mental Health Disorders. Child and Adolescent Mental Health, 26(2), 134-142. https://doi.org/10.1111/camh.12400

Park, D., & Ha, J. (2023). Factors Influencing Suicidal Ideation in Korean Youth: A Secondary Data Study Using Longitudinal Data From the Korean Youth Panel Survey. Iranian Journal of Public Health. https://doi.org/10.18502/ijph.v52i7.13238

Peng, J., He, M., Guo, Y., Diao, J., Chen, K., Deng, Z. Y., Mo, L., & Gao, R. (2024). Recovery Trajectories of Mental Health Symptoms Among Chinese Adolescents Following the End of COVID-19. Frontiers in Public Health, 12. https://doi.org/10.3389/fpubh.2024.1396911

Price, M. N., Green, A. E., & Dorison, S. H. (2020). Understanding the Mental Health of Transgender and Nonbinary Youth. Journal of Adolescent Health, 66(6), 684-690. https://doi.org/10.1016/j.jadohealth.2019.11.314

Raffagnato, A., Iannattone, S., Fasolato, R., Parolin, E., Ravaglia, B., Biscalchin, G., Traverso, A., Zanato, S., Miscioscia, M., & Gatta, M. (2022). A Pre-Adolescent and Adolescent Clinical Sample Study About Suicidal Ideation, Suicide Attempt, and Self-Harming. European Journal of Investigation in Health Psychology and Education, 12(10), 1441-1462. https://doi.org/10.3390/ejihpe12100100

Torres, M. E., Löwe, B., Schmitz, S., Pienta, J. N., Christina, M. v. d. F. C., & Fiedorowicz, J. G. (2021). Suicide and Suicidality in Somatic Symptom and Related Disorders: A Systematic Review. Journal of psychosomatic research, 140, 110290. https://doi.org/10.1016/j.jpsychores.2020.110290

Xu, Y., & Rahman, Q. (2022). Sexual Orientation Disparities in the Developmental Trajectories of Emotional and Behavioral Difficulties From Childhood to Early Adolescence. Journal of Child Psychology and Psychiatry, 63(12), 1505-1512. https://doi.org/10.1111/jcpp.13603

Additional Files

Published

2025-12-10

Submitted

2025-07-27

Revised

2025-11-09

Accepted

2025-11-16

How to Cite

Coutinho, M., & Fahmy, K. (2025). Explainable Artificial Intelligence for Identifying Psychological Risk Profiles of Youth Suicidal Ideation: A SHAP-Based Machine Learning Analysis. Journal of Adolescent and Youth Psychological Studies (JAYPS), 6(12), 1-11. https://doi.org/10.61838/kman.jayps.4905