Predicting functional outcome using machine learning and large language models: A transdiagnostic approach in a young, help-seeking population

Research output: Preprint/Documentation/ReportPreprint

Contributors

Abstract

Background: Functional impairments associated with mental health conditions are on the rise. Predicting functional outcomes may improve the targeting of preventive interventions. While prognostic models have primarily focused on psychosis, early recognition services require a transdiagnostic approach.
Objective: Predict global functioning within 2-year follow-up using baseline clinical and structural MRI data in a populationbased sample of young, help-seeking individuals presenting with affective and anxiety symptoms as well as ADHD.
Methods: We classified 357 help-seeking individuals aged 18-35 years recruited from 9 sites as “impaired” (Global Assessment of Functioning (GAF)?60; N=228) or “non-impaired” (GAF>60; N=129) at year one and/or year two follow-up. GAF classification group status at follow up was predicted using linear support vector machine (SVM), decision tree and large
language model (LLM) Llama-3 using clinical assessments and/or structural MRI. Leave-one-site-out (SVM) or external sample (LLM) were used for validation.
Results: SVM achieved balanced accuracy 69.2% using clinical features only. Items related to baseline occupational functioning, interpersonal relationships, cognitive functioning, psychotic and affective symptoms as well as presence of anxiety disorder were most predictive. The decision tree further reduced the feature set to 5 predictive items achieving balanced accuracy 76.6%. Although amygdala and hippocampal subregions achieved balanced accuracy 57.1%, structural MRI did not improve the overall prediction. Llama-3 performed comparably well to SVM, (balanced accuracy 72.6%).
Conclusions: Machine learning demonstrated good performance in predicting global functioning. Interestingly, the out-of-thebox LLM performed comparably well without being trained or fine-tuned, highlighting the potential of leveraging free-text data for mental health prognosis.

Details

Original languageEnglish
Number of pages43
Publication statusPublished - 26 Sept 2025
No renderer: customAssociatesEventsRenderPortal,dk.atira.pure.api.shared.model.researchoutput.WorkingPaper

External IDs

ORCID /0000-0002-3415-5583/work/203813742
ORCID /0000-0002-0374-342X/work/203813784
ORCID /0000-0001-8870-0041/work/203814147
ORCID /0000-0002-2666-859X/work/203814164
ORCID /0000-0001-5099-0274/work/203814183
ORCID /0000-0002-6808-2968/work/203814498
ORCID /0000-0002-3730-5348/work/203814554

Keywords