Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

npj Mental Health Research
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. npj mental health research
  3. articles
  4. article
Evaluating model generalizability for suicide attempt risk prediction: traditional machine vs deep learning
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 30 April 2026

Evaluating model generalizability for suicide attempt risk prediction: traditional machine vs deep learning

  • Nicholas Josselyn1,2,
  • Sahil Sawant1,2,3,
  • Rachel E. Davis-Martin2,
  • Elke A. Rundensteiner1,4,
  • Ben S. Gerber2,
  • Bo Wang2,
  • Anthony J. Rothschild2,
  • Emmanuel Agu1,4,
  • Edwin D. Boudreaux2 &
  • …
  • Feifan Liu2 

npj Mental Health Research , Article number:  (2026) Cite this article

  • 2184 Accesses

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Computational biology and bioinformatics
  • Health care
  • Mathematics and computing
  • Medical research

Abstract

Suicide remains a leading cause of death and a significant public health concern in the United States. A majority (83%) of suicide decedents had a healthcare visit within the prior 365 days, presenting unique opportunities to utilize healthcare data for AI-based interventions. While previous works applied machine learning (ML) to analyze healthcare records for suicide attempt risk prediction (SARP), they lack external validation. Additionally, advantages of deep learning (DL) over ML for tabular SARP remains understudied. We performed external validation of a state-of-the-art SARP model from the Mental Health Research Network using over 750,000 UMass Memorial Health patient encounters. We further compared ML vs DL, assessing cross-setting healthcare generalizability. We found existing models did not generalize well, ML significantly outperformed DL on most metrics, and DL achieved higher sensitivity. These findings underscore the need for developing robust, generalizable SARP models for diverse healthcare contexts, improving identification of individuals at risk.

Similar content being viewed by others

Low responsiveness of machine learning models to critical or deteriorating health conditions

Article Open access 11 March 2025

A proof-of-concept machine learning model for short-term suicide risk stratification in depressed youth

Article Open access 19 March 2026

Global performance of machine learning models to predict all-cause mortality: systematic review and meta-analysis

Article Open access 27 November 2025

Acknowledgements

This material is based upon work supported by the National Science Foundation under Grant NRT-HDR-2021871 and the National Institutes of Health under Grants R01MH118220 and P50MH129701. In addition, we would like to thank the DAISY Research Lab and Academic & Research Computing group at Worcester Polytechnic Institute for their support and computational resources provided, respectively.

Author information

Authors and Affiliations

  1. Data Science, Worcester Polytechnic Institute, Worcester, MA, USA

    Nicholas Josselyn, Sahil Sawant, Elke A. Rundensteiner & Emmanuel Agu

  2. University of Massachusetts Chan Medical School, Worcester, MA, USA

    Nicholas Josselyn, Sahil Sawant, Rachel E. Davis-Martin, Ben S. Gerber, Bo Wang, Anthony J. Rothschild, Edwin D. Boudreaux & Feifan Liu

  3. Exeliq Consulting Inc., Schaumburg, IL, USA

    Sahil Sawant

  4. Computer Science, Worcester Polytechnic Institute, Worcester, MA, USA

    Elke A. Rundensteiner & Emmanuel Agu

Authors
  1. Nicholas Josselyn
    View author publications

    Search author on:PubMed Google Scholar

  2. Sahil Sawant
    View author publications

    Search author on:PubMed Google Scholar

  3. Rachel E. Davis-Martin
    View author publications

    Search author on:PubMed Google Scholar

  4. Elke A. Rundensteiner
    View author publications

    Search author on:PubMed Google Scholar

  5. Ben S. Gerber
    View author publications

    Search author on:PubMed Google Scholar

  6. Bo Wang
    View author publications

    Search author on:PubMed Google Scholar

  7. Anthony J. Rothschild
    View author publications

    Search author on:PubMed Google Scholar

  8. Emmanuel Agu
    View author publications

    Search author on:PubMed Google Scholar

  9. Edwin D. Boudreaux
    View author publications

    Search author on:PubMed Google Scholar

  10. Feifan Liu
    View author publications

    Search author on:PubMed Google Scholar

Corresponding author

Correspondence to Feifan Liu.

Ethics declarations

Competing interests

Author F.L. is an Associated Editor of npj Mental Health Research. F.L. was not involved in the journal’s review of, or decisions related to, this manuscript. The other authors declare no competing financial or non-financial interests.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Supplementary information (download PDF )

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Josselyn, N., Sawant, S., Davis-Martin, R.E. et al. Evaluating model generalizability for suicide attempt risk prediction: traditional machine vs deep learning. npj Mental Health Res (2026). https://doi.org/10.1038/s44184-026-00209-2

Download citation

  • Received: 14 December 2025

  • Accepted: 16 April 2026

  • Published: 30 April 2026

  • DOI: https://doi.org/10.1038/s44184-026-00209-2

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Download PDF

Advertisement

Explore content

  • Research articles
  • Reviews & Analysis
  • News & Comment
  • Collections
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • Aims & Scope
  • Journal Information
  • Content types
  • Open Access Fees and Funding
  • About the Editors
  • Contact
  • Calls for Papers
  • Editorial policies
  • Journal Metrics
  • 5 Questions with Our New Editor-in-Chief

Publish with us

  • For Authors and Referees
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

npj Mental Health Research (npj Mental Health Res)

ISSN 2731-4251 (online)

nature.com footer links

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing AI and Robotics

Sign up for the Nature Briefing: AI and Robotics newsletter — what matters in AI and robotics research, free to your inbox weekly.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing: AI and Robotics