Machine Learning for Passive Mental Health Symptom Prediction: Generalization Across Different Longitudinal Mobile Sensing Studies
Overview
Affiliations
Mobile sensing data processed using machine learning models can passively and remotely assess mental health symptoms from the context of patients' lives. Prior work has trained models using data from single longitudinal studies, collected from demographically homogeneous populations, over short time periods, using a single data collection platform or mobile application. The generalizability of model performance across studies has not been assessed. This study presents a first analysis to understand if models trained using combined longitudinal study data to predict mental health symptoms generalize across current publicly available data. We combined data from the CrossCheck (individuals living with schizophrenia) and StudentLife (university students) studies. In addition to assessing generalizability, we explored if personalizing models to align mobile sensing data, and oversampling less-represented severe symptoms, improved model performance. Leave-one-subject-out cross-validation (LOSO-CV) results were reported. Two symptoms (sleep quality and stress) had similar question-response structures across studies and were used as outcomes to explore cross-dataset prediction. Models trained with combined data were more likely to be predictive (significant improvement over predicting training data mean) than models trained with single-study data. Expected model performance improved if the distance between training and validation feature distributions decreased using combined versus single-study data. Personalization aligned each LOSO-CV participant with training data, but only improved predicting CrossCheck stress. Oversampling significantly improved severe symptom classification sensitivity and positive predictive value, but decreased model specificity. Taken together, these results show that machine learning models trained on combined longitudinal study data may generalize across heterogeneous datasets. We encourage researchers to disseminate collected de-identified mobile sensing and mental health symptom data, and further standardize data types collected across studies to enable better assessment of model generalizability.
A systematic review of passive data for remote monitoring in psychosis and schizophrenia.
Bladon S, Eisner E, Bucci S, Oluwatayo A, Martin G, Sperrin M NPJ Digit Med. 2025; 8(1):62.
PMID: 39870797 PMC: 11772847. DOI: 10.1038/s41746-025-01451-2.
Beyond Detection: Towards Actionable Sensing Research in Clinical Mental Healthcare.
Adler D, Yang Y, Viranda T, Xu X, Mohr D, VAN Meter A Proc ACM Interact Mob Wearable Ubiquitous Technol. 2024; 8(4).
PMID: 39639863 PMC: 11620792. DOI: 10.1145/3699755.
Design Guidelines for Improving Mobile Sensing Data Collection: Prospective Mixed Methods Study.
Slade C, Benzo R, Washington P J Med Internet Res. 2024; 26:e55694.
PMID: 39556828 PMC: 11632896. DOI: 10.2196/55694.
Shvetcov A, Funke Kupper J, Zheng W, Slade A, Han J, Whitton A Front Psychiatry. 2024; 15:1422027.
PMID: 39252756 PMC: 11381371. DOI: 10.3389/fpsyt.2024.1422027.
Nepal S, Liu W, Pillai A, Wang W, Vojdanovski V, Huckins J Proc ACM Interact Mob Wearable Ubiquitous Technol. 2024; 8(1).
PMID: 39086982 PMC: 11290409. DOI: 10.1145/3643501.