» Articles » PMID: 34255713

Predicting Depression From Smartphone Behavioral Markers Using Machine Learning Methods, Hyperparameter Optimization, and Feature Importance Analysis: Exploratory Study

Overview
Date 2021 Jul 13
PMID 34255713
Citations 34
Authors
Affiliations
Soon will be listed here.
Abstract

Background: Depression is a prevalent mental health challenge. Current depression assessment methods using self-reported and clinician-administered questionnaires have limitations. Instrumenting smartphones to passively and continuously collect moment-by-moment data sets to quantify human behaviors has the potential to augment current depression assessment methods for early diagnosis, scalable, and longitudinal monitoring of depression.

Objective: The objective of this study was to investigate the feasibility of predicting depression with human behaviors quantified from smartphone data sets, and to identify behaviors that can influence depression.

Methods: Smartphone data sets and self-reported 8-item Patient Health Questionnaire (PHQ-8) depression assessments were collected from 629 participants in an exploratory longitudinal study over an average of 22.1 days (SD 17.90; range 8-86). We quantified 22 regularity, entropy, and SD behavioral markers from the smartphone data. We explored the relationship between the behavioral features and depression using correlation and bivariate linear mixed models (LMMs). We leveraged 5 supervised machine learning (ML) algorithms with hyperparameter optimization, nested cross-validation, and imbalanced data handling to predict depression. Finally, with the permutation importance method, we identified influential behavioral markers in predicting depression.

Results: Of the 629 participants from at least 56 countries, 69 (10.97%) were females, 546 (86.8%) were males, and 14 (2.2%) were nonbinary. Participants' age distribution is as follows: 73/629 (11.6%) were aged between 18 and 24, 204/629 (32.4%) were aged between 25 and 34, 156/629 (24.8%) were aged between 35 and 44, 166/629 (26.4%) were aged between 45 and 64, and 30/629 (4.8%) were aged 65 years and over. Of the 1374 PHQ-8 assessments, 1143 (83.19%) responses were nondepressed scores (PHQ-8 score <10), while 231 (16.81%) were depressed scores (PHQ-8 score ≥10), as identified based on PHQ-8 cut-off. A significant positive Pearson correlation was found between screen status-normalized entropy and depression (r=0.14, P<.001). LMM demonstrates an intraclass correlation of 0.7584 and a significant positive association between screen status-normalized entropy and depression (β=.48, P=.03). The best ML algorithms achieved the following metrics: precision, 85.55%-92.51%; recall, 92.19%-95.56%; F1, 88.73%-94.00%; area under the curve receiver operating characteristic, 94.69%-99.06%; Cohen κ, 86.61%-92.90%; and accuracy, 96.44%-98.14%. Including age group and gender as predictors improved the ML performances. Screen and internet connectivity features were the most influential in predicting depression.

Conclusions: Our findings demonstrate that behavioral markers indicative of depression can be unobtrusively identified from smartphone sensors' data. Traditional assessment of depression can be augmented with behavioral markers from smartphones for depression diagnosis and monitoring.

Citing Articles

Forecasting mental states in schizophrenia using digital phenotyping data.

Jean T, Guay Hottin R, Orban P PLOS Digit Health. 2025; 4(2):e0000734.

PMID: 39919138 PMC: 11805420. DOI: 10.1371/journal.pdig.0000734.


Investigating Smartphone-Based Sensing Features for Depression Severity Prediction: Observation Study.

Terhorst Y, Messner E, Opoku Asare K, Montag C, Kannen C, Baumeister H J Med Internet Res. 2025; 27:e55308.

PMID: 39883512 PMC: 11826944. DOI: 10.2196/55308.


The help-seeking process and predictors of mental health care use among individuals with depressive symptoms: a machine learning approach.

Juergensen V, Peter L, Steyrl D, Lor C, Bui A, McLaren T Front Public Health. 2024; 12:1504720.

PMID: 39635206 PMC: 11615672. DOI: 10.3389/fpubh.2024.1504720.


Predicting Depressive Symptoms Using GPS-Based Regional Data in Germany With the CORONA HEALTH App During the COVID-19 Pandemic: Cross-Sectional Study.

Edler J, Winter M, Steinmetz H, Cohrdes C, Baumeister H, Pryss R Interact J Med Res. 2024; 13:e53248.

PMID: 39625745 PMC: 11653045. DOI: 10.2196/53248.


The Relation Between Passively Collected GPS Mobility Metrics and Depressive Symptoms: Systematic Review and Meta-Analysis.

Terhorst Y, Knauer J, Philippi P, Baumeister H J Med Internet Res. 2024; 26:e51875.

PMID: 39486026 PMC: 11568401. DOI: 10.2196/51875.


References
1.
Wshah S, Skalka C, Price M . Predicting Posttraumatic Stress Disorder Risk: A Machine Learning Approach. JMIR Ment Health. 2019; 6(7):e13946. PMC: 6681635. DOI: 10.2196/13946. View

2.
Gaskin C, Happell B . Power of mental health nursing research: a statistical analysis of studies in the International Journal of Mental Health Nursing. Int J Ment Health Nurs. 2012; 22(1):69-75. DOI: 10.1111/j.1447-0349.2012.00845.x. View

3.
Birnbaum M, Kulkarni P, Van Meter A, Chen V, Rizvi A, Arenare E . Utilizing Machine Learning on Internet Search Activity to Support the Diagnostic Process and Relapse Detection in Young Individuals With Early Psychosis: Feasibility Study. JMIR Ment Health. 2020; 7(9):e19348. PMC: 7492982. DOI: 10.2196/19348. View

4.
Burns M, Begale M, Duffecy J, Gergle D, Karr C, Giangrande E . Harnessing context sensing to develop a mobile intervention for depression. J Med Internet Res. 2011; 13(3):e55. PMC: 3222181. DOI: 10.2196/jmir.1838. View

5.
Lepine J, Briley M . The increasing burden of depression. Neuropsychiatr Dis Treat. 2011; 7(Suppl 1):3-7. PMC: 3131101. DOI: 10.2147/NDT.S19617. View