Digital biomarkers of mood disorders and symptom change


Current approaches to psychiatric assessment are resource-intensive, requiring time-consuming evaluation by a trained clinician. Development of digital biomarkers holds promise for enabling scalable, time-sensitive, and cost-effective assessment of both psychiatric diagnosis and symptom change. The present study aimed to identify robust digital biomarkers of diagnostic status and changes in symptom severity over ~2 weeks, through re-analysis of public-use actigraphy data collected in patients with major depressive or bipolar disorder and healthy controls. Results suggest that participants’ diagnostic group status (i.e., mood disorder, control) can be predicted with a high degree of accuracy (predicted correctly 89% of the time, kappa = 0.773), using features extracted from actigraphy data alone. Results also suggest that actigraphy data can be used to predict symptom change across ~2 weeks (r = 0.782, p = 1.04e-05). Through inclusion of digital biomarkers in our statistical model, which are generalizable to new samples, the results may be replicated by other research groups in order to validate and extend this work.


Mood disorders (i.e., major depressive disorder [MDD], bipolar I, bipolar II) occur in 12% of the population in their lifetime, resulting in substantial functional and economic burden.1 To reduce burden, it is critical to diagnose and monitor mood disorders using widely accessible methods, which enable timely detection of clinical deterioration. However, standard clinical assessments require time-consuming and resource-heavy evaluation by a trained specialist.

Use of passive digital biomarkers offers an alternative approach to assess mood disorders that is scalable, unobtrusive, time-sensitive, and cost-effective. Movement data from actigraphs (which measure gross motor activity from a sensor typically worn on the wrist, capturing both activity and rest) may be especially useful for detecting MDD or bipolar disorders, because these disorders are characterized by notable increases (i.e., in bipolar disorder) or decreases (i.e., in MDD) in goal-directed behavior, energy level, and movement, in addition to disruption in sleep— behavioral shifts which are likely to be captured via actigraph.

A small base of research has explored using actigraphy data for mood disorder diagnosis.2,3 One investigation used daytime and nighttime movement data from actigraphs worn on wrists of patients with primary bipolar disorder or MDD and controls to classify participants’ diagnostic group (kappa = 0.443, accuracy = 72.7%), using support vector machines (a machine-learning algorithm, which attempts to create the greatest difference between groups on dimensional hyperplanes).4 However, the authors utilized features that were context-dependent (data were directly referenced to time within study, e.g., movement on minute 1 within the study), rather than time-relative (e.g., the consistency of movement between 1 day to the next on average within the sample). This limits the generalizability of their methods to new samples, because linking data to absolute time does not allow for generalization to shorter or larger timespans. Indeed, most such studies to date yield only modest results3 and oftentimes are not replicable. Moreover, while most biomarker research has focused on detecting diagnosis, very few studies have aimed to detect symptom change.3 Developing unobtrusive, timely methods to detect symptom change has potential to enable just-in-time interventions to prevent clinical deterioration as a next step.

To extend current research, we re-analyzed public-use data4 using novel methods, with the aim of identifying digital biomarkers of MDD and bipolar disorder diagnostic status and changes in symptom severity over ~2 weeks. We sought to use methods that are generalizable to new samples, so that results may be replicated by other research groups.


Using actigraphy features alone, the machine-learning algorithm correctly predicted the diagnostic status 89% of the time (p = 5.5e-07), with a corresponding Cohen’s kappa of 0.773, sensitivity of 0.937, and specificity of 0.826 (see Fig. 1). The correlation between predicted and actual change in depression severity was strong (r = 0.782, p = 1.04e-05; see Fig. 2).

Fig. 1

This plot depicts the predictions the confusion matrix between the predicted group (i.e., control or patient) and the observed reference group

Fig. 2

This plot depicts the predicted and actual pre–post difference scores in depressive symptoms that were sample-standardized for visualization for each of the 23 patients


The present study aimed to identify digital biomarkers of MDD and bipolar disorder. Up to 2 weeks of actigraphy data distinguished patients from healthy controls with high accuracy. The current approach substantially improved upon earlier results,4 and it classified diagnostic status more accurately than published inter-reliability rates for second raters using the SCID-I/P.10 Results suggest that unobtrusive, passive actigraphy data hold potential to supplement traditional diagnostic assessments of MDD and bipolar disorder. By reducing reliance on resource-intensive assessment approaches in favor of low-burden, low-cost digital data, it may be possible to detect MDD and bipolar disorder earlier and more broadly.

Results also showed that actigraphy data predicted the majority of variation in patients’ depression severity over ~2 weeks. Whereas most digital biomarker research has focused on diagnostics,3 use of passive monitoring to detect symptom change may enable just-in-time interventions as a next step. For example, temporally sensitive detection of clinical deterioration via passive sensors could be used to alert the patient and suggest use of therapeutic skills (e.g., behavioral activation), as well as to alert the clinician, prompting timely clinical intervention.

In addition to the strong predictive ability of our model, another strength of the present approach was its use of features that are generalizable, so that methods may be replicated in new samples. The field is in early stages of using passive data to enhance diagnostics. As such, this early study should also be interpreted bearing in mind its limitations. We elected to examine MDD and bipolar disorder together, rather than dividing them into smaller groups, to enhance power. On one hand, our ability to differentiate one’s broad mood disorder status from healthy controls points to detection of potential transdiagnostic characteristics, enhancing the generalizability of results. Alternatively, predicting patients with MDD separately from those with bipolar disorder may enhance detection accuracy further, as a next step in a larger sample. Additionally, because the public-use dataset did not report participants’ medication data or other treatment received, we were unable to assess how study movement might have been related to medication or psychotherapy. Further, five patients were in an inpatient facility during data collection, which likely constricted their movement. Finally, diagnostic status was established at baseline; it is possible that prospective studies designed to predict later diagnostic status would yield different results. Although chances of overfitting are reduced using LOOCV and boosting models,11 current results are preliminary and require replication by independent research groups, in larger samples. If replicated, results suggest that passive digital assessment show promise for reducing the burden of MDD and bipolar disorder.



Twenty-three patients (22% inpatient, 78% outpatient, MAge = 42.8, SDAge = 11.0, 65% with primary MDD, 30% with primary bipolar II, and 4% with primary bipolar I, 57% male, 13% currently working) were invited to participate by study staff when they came for clinical care in the medical setting and 32 controls (MAge = 38.2, SDAge = 13.0, 37.5% male) without a history of mood or psychotic symptoms were invited to participate by study staff from hospital employee, university, or primary care settings.5 Fifteen patients received antidepressants, and some were co-medicated with lithium, mood stabilizers, antipsychotics, anxiolytics, or hypnotics. Eight patients did not use psychotropic medications. All participants were consented and the study received local ethics committee approval (REK III, Health -West, Norway).6 Data were collected from May 2002 through February 2006.

Clinical assessment

Participants were assessed for mood disorder diagnosis by a psychiatrist using the Structured Clinical Interview for DSM-IV (SCID-I).6 The psychiatrist also administered the Montgomery-Asberg Depression Scale (MADRS) to patients, to assess depressive symptoms before and after the actigraphy study.6 Change was evaluated using pre-post difference scores in depressive symptoms and were then sample-standardized for graphical visualization.


Participants wore an actigraph on their right wrist (actiwatch) for up to 2 weeks, to continuously monitor movement. Actigraphs were worn at all times, except when bathing. The sampling frequency was 32 Hz and movements of ≥0.05 g were recorded. Voltage of movement was recorded for each minute. A timeframe of 2 weeks was selected balancing device battery life and amount of time considered sufficient, as an early study on motor activation.5

Planned analyses

Prior to analyses, features were extracted from actigraphy data to form a set of generalizable digital biomarkers. Digital biomarkers included person-level measures of (1) movement intensity distribution (i.e., minimum, maximum, mean, median, modal, skewness, kurtosis, and 1st–99th quantiles), (2) movement intensity variability (i.e., root mean-square of successive differences [RMSSD] between movement 1 to 2 min later, which is an index of sharp shifts in movement across short time intervals), and the standard deviation of movement), (3) autoregressive lags of movement intensity (i.e., consistency of movement 1 to 100 min later across a smooth continuum using the differential time-varying effect model),7 and (4) oscillatory pattern (i.e., spectral densities of the movement patterns), resulting in a total of 9929 features. Features were not reliant on absolute time in the study, but rather used relative time differences among patterns in the data. Biomarkers were created based on the minimum number of minutes of actigraphy data that were available for all participants (i.e., all participants had 19,299 min of actigraphy data), and consequently, there was no missing data in any derived biomarkers.

Results were analyzed using extreme gradient boosting (xgboost), which is a tree-based boosting system8 that offers high precision.9 Diagnostic group membership (i.e., patient, control) and change in depressive symptoms were predicted from the digital biomarkers. Model regularization methods, leave-one-out cross-validation (LOOCV), and permutation tests controlled for overfitting. Primary outcome measures were percentage of diagnostic agreement, sensitivity, specificity, and Cohen’s kappa when predicting diagnostic group membership, and the correlation between predicted and actual values for change in depressive symptoms (i.e., the models predicted pre-post difference scores, then standardized to sample z-scores for visualization).

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary.

Data availability

Data and scripts used to reproduce results are available at


  1. 1.

    Kessler, R. C. et al. The global burden of mental disorders: an update from the WHO World Mental Health (WMH) Surveys. Epidemiol. Psichiatr. Soc. 18, 23–33 (2009).

  2. 2.

    Mohr, D. C., Zhang, M. & Schueller, S. M. Personal sensing: understanding mental health using ubiquitous sensors and machine learning. Annu Rev. Clin. Psychol. 13, 23–47 (2017).

  3. 3.

    Torous, J. & Powell, A. C. Current research and trends in the use of smartphone applications for mood disorders. Internet Interv. 2, 169–173 (2015).

  4. 4.

    Garcia-Ceja, E. et al. Motor Activity Based Classification of Depression in Unipolar and Bipolar Patients in Proceedings of the 9th ACM on Multimedia Systems Conference (ACM). Accessed on 5 September 2018.

  5. 5.

    Garcia-Ceja, E. Personal Communication [11/1/2018].

  6. 6.

    Berle, J. O., Hauge, E. R., Oedegaard, K. J., Holsten, F. & Fasmer, O. B. Actigraphic registration of motor activity reveals a more structured behavioural pattern in schizophrenia than in major depression. BMC Res. Notes 3, 149–149 (2010).

  7. 7.

    Jacobson, N. C., Chow, S. M. & Newman, M. G. The differential time-varying effect model (DTVEM): a tool for diagnosing and modeling time lags in intensive longitudinal data. Behav. Res. Methods (2018).

  8. 8.

    Chen, T. & Guestrin, C. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794). ACM, San Francisco, California, 2016).

  9. 9.

    Nielsen, D. Why Does XGBoost Win “Every” Machine Learning Competition? Master of Science thesis, Norwegian University of Science and Techology (2016).

  10. 10.

    Chmielewski, M., Clark, L. A., Bagby, R. M. & Watson, D. Method matters: understanding diagnostic reliability in DSM-IV and DSM-5. J. Abnorm. Psychol. 124, 764–769 (2015).

  11. 11.

    Schapire, R. E. in Proceedings of the 16th international joint conference on Artificial intelligence, Dean, T. (ed.). Vol. 2, 1401–1406 (Morgan Kaufmann Publishers Inc., Stockholm, Sweden, 1999).

Download references


This work was based on a public-use dataset that was funded from legacy of Gerda Meyer Nyquist Gulbrandson & Gerdt Meyer Nyquist and from Western Norway Regional Health Authority.

Author information

All authors contributed to the study design, result interpretation, and paper revisions. Mr. Jacobson conducted the data cleaning and data analysis. Mr. Jacobson and Dr. Weingarden drafted the paper. All authors approved the completed version.

Correspondence to Nicholas C. Jacobson.

Ethics declarations

Competing interests

Mr. Jacobson is the owner of a free application published on the Google Play Store entitled “Mood Triggers”. He does not receive any direct or indirect revenue from his ownership of the application (i.e., the application is free, there are no advertisements, and the data is only being used for research purposes). Drs. Weingarden and Wilhelm have received salary support from Telefonica Alpha, Inc. Dr. Wilhelm is a presenter for the Massachusetts General Hospital Psychiatry Academy in educational programs supported through independent medical education grants from pharmaceutical companies. Dr. Wihelm has received royalties from Elsevier Publications, Guilford Publications, New Harbinger Publications, and Oxford University Press. Dr. Wilhelm has also received speaking honoraria from various academic institutions and foundations, including the International Obsessive Compulsive Disorder Foundation and the Tourette Association of America. In addition, she received payment from the Association for Behavioral and Cognitive Therapies for her role as a Associate Editor for the Behavior Therapy journal, as well as from John Wiley & Sons, Inc. for her role as a Associate Editor for the journal Depression & Anxiety.

Additional information

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

Supplementary information

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 license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license 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 license, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Jacobson, N.C., Weingarden, H. & Wilhelm, S. Digital biomarkers of mood disorders and symptom change. npj Digital Med 2, 3 (2019).

Download citation

Further reading