Generalizability of clinical prediction models in mental health
Concerns about the generalizability of machine learning models in mental health arise, partly due to sampling effects and data disparities between research cohorts and real-world populations. We aimed to investigate whether a machine learning model trained solely on easily accessible and low-cost clinical data can predict depressive symptom severity in unseen, independent datasets from various research and real-world clinical contexts. This observational multi-cohort study included 3021 participants (62.03% females, M<sub>Age</sub> = 36.27 years, range 15-81) from ten European research and clinical settings, all diagnosed with an affective disorder. We firstly compared research and real-world inpatients from the same treatment center using 76 clinical and sociodemographic variables. An elastic net algorithm with ten-fold cross-validation was then applied to develop a sparse machine learning model for predicting depression severity based on the top five features (global functioning, extraversion, neuroticism, emotional abuse in childhood, and somatization). Model generalizability was tested across nine external samples. The model reliably predicted depression severity across all samples (r = 0.60, SD = 0.089, p < 0.0001) and in each individual external sample, ranging in performance from r = 0.48 in a real-world general population sample to r = 0.73 in real-world inpatients. These results suggest that machine learning models trained on sparse clinical data have the potential to predict illness severity across diverse settings, offering insights that could inform the development of more generalizable tools for use in routine psychiatric data analysis.
Authors
- Ronny Redlich (ORCID: https://orcid.org/0000-0002-7018-4525)
- Alessandro Bertolino (ORCID: https://orcid.org/0000-0002-1251-1380)
- Andreas Jansen (ORCID: https://orcid.org/0000-0002-3140-8207)
- Ulrike Buhlmann (ORCID: https://orcid.org/0000-0003-4997-3236)
- Benjamín Straube (ORCID: https://orcid.org/0000-0003-4391-1720)
- Lena Florentine Köhler
- Franco Fabbro (ORCID: https://orcid.org/0000-0003-3476-6867)
- Janik Goltermann (ORCID: https://orcid.org/0000-0003-3087-1002)
- Rogério Blitz (ORCID: https://orcid.org/0000-0002-4505-4593)
- Susanne L. Meinert (ORCID: https://orcid.org/0000-0003-2177-7161)
- Esther Zwiky (ORCID: https://orcid.org/0000-0002-6733-8087)
- M. Rau (ORCID: https://orcid.org/0009-0000-8040-4926)
- Sharmili Edwin Thanarajah (ORCID: https://orcid.org/0000-0003-3608-1474)
- Matthias A. Reinhard (ORCID: https://orcid.org/0000-0002-8374-5467)
- Katharina Thiel (ORCID: https://orcid.org/0000-0001-8297-1094)
- Ramona Leenings
- Nils R. Winter (ORCID: https://orcid.org/0000-0002-6241-1492)
- Eva Meisenzahl‐Lechner
- Maike Richter
- Florian Thomas‐Odenthal (ORCID: https://orcid.org/0000-0003-4912-8307)
- Nina Alexander (ORCID: https://orcid.org/0009-0002-7412-0163)
- Daniel Emden (ORCID: https://orcid.org/0000-0001-7459-6634)
- Tim Hahn (ORCID: https://orcid.org/0000-0001-6541-3795)
- Rachel Upthegrove (ORCID: https://orcid.org/0000-0001-8204-5103)
- Igor Nenadić (ORCID: https://orcid.org/0000-0002-0749-7473)
- Nils Opel (ORCID: https://orcid.org/0000-0003-4749-3298)
- Frederike Stein (ORCID: https://orcid.org/0000-0002-5052-6022)
- Paolo Brambilla (ORCID: https://orcid.org/0000-0002-4021-8456)
- Paula Usemann (ORCID: https://orcid.org/0009-0005-4566-0058)
- Udo Dannlowski (ORCID: https://orcid.org/0000-0002-0623-3759)
- Tilo T. J. Kircher (ORCID: https://orcid.org/0000-0002-2514-2625)
- Nexhmedin Morina (ORCID: https://orcid.org/0000-0002-2331-9140)
- Frank Padberg (ORCID: https://orcid.org/0000-0001-7638-8310)
- Janka Massag (ORCID: https://orcid.org/0000-0002-0995-0593)
- Anna Kraus (ORCID: https://orcid.org/0000-0003-2627-4563)
- Katharina Brosch (ORCID: https://orcid.org/0000-0002-0526-8095)
- Rafael Mikolajczyk (ORCID: https://orcid.org/0000-0003-1271-7204)
- Stefan Borgwardt (ORCID: https://orcid.org/0000-0002-5792-3987)
- Mitja D. Back (ORCID: https://orcid.org/0000-0003-2186-1558)
- Joseph Kambeitz (ORCID: https://orcid.org/0000-0002-8988-3959)
- Lea Teutenberg (ORCID: https://orcid.org/0009-0002-7783-8461)
- Nikolaos Koutsouleris (ORCID: https://orcid.org/0000-0001-6825-6262)
- Rebekka Lencer (ORCID: https://orcid.org/0000-0003-4032-7297)
- Janette Ratzsch (ORCID: https://orcid.org/0009-0002-7607-2302)
- Navid Schürmeyer
- Renata Falguera
- Hamidreza Jamalabadi
- Tiana Borgers
- Kira Flinkenflügel (ORCID: https://orcid.org/0000-0001-7738-5429)
- Raimo K. R. Salonkangas
Institutions
- Goethe University Frankfurt (DE)
- University of Udine (IT)
- Feinstein Institute for Medical Research (US)
- University of Turku (FI)
- Philipps University of Marburg (DE)
- University of Cologne (DE)
- King's College London (GB)
- University of Basel (CH)
- University of Milan (IT)
- Bielefeld University (DE)
- University of Münster (DE)
- LMU Klinikum (DE)
- Centre for Mental Health (GB)
- University of Oxford (GB)
- Max Planck Institute for Metabolism Research (DE)
- University Hospital Frankfurt (DE)
- Jena University Hospital (DE)
- Max Planck Institute of Psychiatry (DE)
- University Hospital Cologne (DE)
- Heinrich Heine University Düsseldorf (DE)
- University of Bari Aldo Moro (IT)
- Martin Luther University Halle-Wittenberg (DE)
- University of Birmingham (GB)
- Ludwig-Maximilians-Universität München (DE)
Publication Details
- Journal
- Molecular Psychiatry
- Published
- 2025-03-19
- DOI
- https://doi.org/10.1038/s41380-025-02950-0
- Citations
- 15
- Primary Topic
- Mental Health Research Topics
- Type
- article
- Field-Weighted Citation Impact
- 31.77
Funders
- European Commission
- Deutsche Forschungsgemeinschaft
- Bundesministerium für Bildung und Forschung
- Leibniz-Gemeinschaft