Wearable Data From Subjects Playing Super Mario, Taking University Exams, or Performing Physical Exercise Help Detect Acute Mood Disorder Episodes via Self-Supervised Learning: Prospective, Exploratory, Observational Study.

Filippo Corponi, Bryan M Li, Gerard Anmella, Clàudia Valenzuela-Pascual, Ariadna Mas, Isabella Pacchiarotti, Marc Valentí, Iria Grande, Antoni Benabarre, Marina Garriga, Eduard Vieta, Allan H Young, Stephen M Lawrie, Heather C Whalley, Diego Hidalgo-Mazzei, Antonio Vergari
Author Information
  1. Filippo Corponi: School of Informatics, University of Edinburgh, Edinburgh, United Kingdom. ORCID
  2. Bryan M Li: School of Informatics, University of Edinburgh, Edinburgh, United Kingdom. ORCID
  3. Gerard Anmella: Bipolar and Depressive Disorders Unit, Department of Psychiatry and Psychology, Hospital Clínic de Barcelona, Barcelona, Spain. ORCID
  4. Clàudia Valenzuela-Pascual: Bipolar and Depressive Disorders Unit, Department of Psychiatry and Psychology, Hospital Clínic de Barcelona, Barcelona, Spain. ORCID
  5. Ariadna Mas: Bipolar and Depressive Disorders Unit, Department of Psychiatry and Psychology, Hospital Clínic de Barcelona, Barcelona, Spain. ORCID
  6. Isabella Pacchiarotti: Bipolar and Depressive Disorders Unit, Department of Psychiatry and Psychology, Hospital Clínic de Barcelona, Barcelona, Spain. ORCID
  7. Marc Valentí: Bipolar and Depressive Disorders Unit, Department of Psychiatry and Psychology, Hospital Clínic de Barcelona, Barcelona, Spain. ORCID
  8. Iria Grande: Bipolar and Depressive Disorders Unit, Department of Psychiatry and Psychology, Hospital Clínic de Barcelona, Barcelona, Spain. ORCID
  9. Antoni Benabarre: Bipolar and Depressive Disorders Unit, Department of Psychiatry and Psychology, Hospital Clínic de Barcelona, Barcelona, Spain. ORCID
  10. Marina Garriga: Bipolar and Depressive Disorders Unit, Department of Psychiatry and Psychology, Hospital Clínic de Barcelona, Barcelona, Spain. ORCID
  11. Eduard Vieta: Bipolar and Depressive Disorders Unit, Department of Psychiatry and Psychology, Hospital Clínic de Barcelona, Barcelona, Spain. ORCID
  12. Allan H Young: Institute of Psychiatry, Psychology and Neuroscience, King's College London, London, United Kingdom. ORCID
  13. Stephen M Lawrie: Division of Psychiatry, Centre for Clinical Brain Sciences, University of Edinburgh, Edinburgh, United Kingdom. ORCID
  14. Heather C Whalley: Division of Psychiatry, Centre for Clinical Brain Sciences, University of Edinburgh, Edinburgh, United Kingdom. ORCID
  15. Diego Hidalgo-Mazzei: Bipolar and Depressive Disorders Unit, Department of Psychiatry and Psychology, Hospital Clínic de Barcelona, Barcelona, Spain. ORCID
  16. Antonio Vergari: School of Informatics, University of Edinburgh, Edinburgh, United Kingdom. ORCID

Abstract

BACKGROUND: Personal sensing, leveraging data passively and near-continuously collected with wearables from patients in their ecological environment, is a promising paradigm to monitor mood disorders (MDs), a major determinant of the worldwide disease burden. However, collecting and annotating wearable data is resource intensive. Studies of this kind can thus typically afford to recruit only a few dozen patients. This constitutes one of the major obstacles to applying modern supervised machine learning techniques to MD detection.
OBJECTIVE: In this paper, we overcame this data bottleneck and advanced the detection of acute MD episodes from wearables' data on the back of recent advances in self-supervised learning (SSL). This approach leverages unlabeled data to learn representations during pretraining, subsequently exploited for a supervised task.
METHODS: We collected open access data sets recording with the Empatica E4 wristband spanning different, unrelated to MD monitoring, personal sensing tasks-from emotion recognition in Super Mario players to stress detection in undergraduates-and devised a preprocessing pipeline performing on-/off-body detection, sleep/wake detection, segmentation, and (optionally) feature extraction. With 161 E4-recorded subjects, we introduced E4SelfLearning, the largest-to-date open access collection, and its preprocessing pipeline. We developed a novel E4-tailored transformer (E4mer) architecture, serving as the blueprint for both SSL and fully supervised learning; we assessed whether and under which conditions self-supervised pretraining led to an improvement over fully supervised baselines (ie, the fully supervised E4mer and pre-deep learning algorithms) in detecting acute MD episodes from recording segments taken in 64 (n=32, 50%, acute, n=32, 50%, stable) patients.
RESULTS: SSL significantly outperformed fully supervised pipelines using either our novel E4mer or extreme gradient boosting (XGBoost): n=3353 (81.23%) against n=3110 (75.35%; E4mer) and n=2973 (72.02%; XGBoost) correctly classified recording segments from a total of 4128 segments. SSL performance was strongly associated with the specific surrogate task used for pretraining, as well as with unlabeled data availability.
CONCLUSIONS: We showed that SSL, a paradigm where a model is pretrained on unlabeled data with no need for human annotations before deployment on the supervised target task of interest, helps overcome the annotation bottleneck; the choice of the pretraining surrogate task and the size of unlabeled data for pretraining are key determinants of SSL success. We introduced E4mer, which can be used for SSL, and shared the E4SelfLearning collection, along with its preprocessing pipeline, which can foster and expedite future research into SSL for personal sensing.

Keywords

References

  1. Sensors (Basel). 2023 Jun 23;23(13): [PMID: 37447697]
  2. Health Informatics J. 2022 Oct-Dec;28(4):14604582221137537 [PMID: 36317536]
  3. Epilepsia. 2020 Nov;61 Suppl 1:S25-S35 [PMID: 32497269]
  4. Comput Methods Programs Biomed. 2021 Nov;212:106461 [PMID: 34736174]
  5. IEEE Trans Pattern Anal Mach Intell. 2024 Apr 10;PP: [PMID: 38598381]
  6. Front Psychiatry. 2020 Dec 18;11:584711 [PMID: 33391050]
  7. Sensors (Basel). 2022 Oct 24;22(21): [PMID: 36365837]
  8. Sci Data. 2022 Jun 1;9(1):255 [PMID: 35650267]
  9. Sci Data. 2022 Sep 1;9(1):537 [PMID: 36050312]
  10. NPJ Digit Med. 2023 Apr 26;6(1):74 [PMID: 37100953]
  11. Bipolar Disord. 2009 Aug;11(5):453-73 [PMID: 19624385]
  12. Heliyon. 2020 Feb 04;6(2):e03274 [PMID: 32055728]
  13. NPJ Digit Med. 2021 Jun 2;4(1):89 [PMID: 34079049]
  14. Br J Psychiatry. 1978 Nov;133:429-35 [PMID: 728692]
  15. NPJ Digit Med. 2023 Mar 24;6(1):51 [PMID: 36964203]
  16. Curr Psychiatry Rep. 2022 Oct;24(10):523-528 [PMID: 36001220]
  17. Annu Rev Clin Psychol. 2017 May 8;13:23-47 [PMID: 28375728]
  18. Epilepsia. 2021 Apr;62(4):960-972 [PMID: 33619751]
  19. Int J Environ Res Public Health. 2018 Sep 17;15(9): [PMID: 30227658]
  20. J Healthc Eng. 2022 Apr 18;2022:4653923 [PMID: 35480146]
  21. Psychol Med. 2023 Sep;53(12):5636-5644 [PMID: 36146953]
  22. Arch Psychiatr Nurs. 2020 Dec;34(6):449-457 [PMID: 33280665]
  23. J Neurol Neurosurg Psychiatry. 1960 Feb;23:56-62 [PMID: 14399272]
  24. PLoS One. 2015 Nov 16;10(11):e0142533 [PMID: 26569414]
  25. Transl Psychiatry. 2024 Mar 26;14(1):161 [PMID: 38531865]
  26. Psychiatr Serv. 2018 Jun 1;69(6):710-713 [PMID: 29540118]
  27. Pharmacoeconomics. 2021 Jun;39(6):653-665 [PMID: 33950419]
  28. Int J Bipolar Disord. 2016 Dec;4(1):19 [PMID: 27613276]
  29. Sensors (Basel). 2019 Jul 12;19(14): [PMID: 31336894]
  30. Lancet. 2021 Nov 6;398(10312):1700-1712 [PMID: 34634250]
  31. J Psychiatr Res. 2017 Jan;84:169-173 [PMID: 27743529]
  32. JMIR Mhealth Uhealth. 2023 May 4;11:e45405 [PMID: 36939345]
  33. IEEE Access. 2020;8:27074-27085 [PMID: 33747669]
  34. BMJ. 2021 Oct 7;375:n2439 [PMID: 34620691]
  35. J Affect Disord. 2019 Jun 15;253:257-269 [PMID: 31060012]
  36. NPJ Digit Med. 2019 Feb 1;2:3 [PMID: 31304353]
  37. BMC Psychiatry. 2018 Jan 25;18(1):22 [PMID: 29370787]
  38. Arch Comput Methods Eng. 2023;30(4):2761-2775 [PMID: 36713767]
  39. Sci Data. 2022 Jun 2;9(1):261 [PMID: 35654857]

MeSH Term

Humans
Supervised Machine Learning
Prospective Studies
Wearable Electronic Devices
Male
Female
Mood Disorders
Adult
Exercise
Universities

Word Cloud

Created with Highcharts 10.0.0dataSSLsupervisedlearningdetectionpretrainingE4mersensingMDunlabeledtaskfullypatientscanacuteself-supervisedrecordingpersonalpreprocessingpipelinesegmentscollectedparadigmmoodmajorwearablebottleneckepisodesopenaccessSuperMariointroducedE4SelfLearningcollectionnoveltransformern=3250%XGBoostsurrogateusedBACKGROUND:Personalleveragingpassivelynear-continuouslywearablesecologicalenvironmentpromisingmonitordisordersMDsdeterminantworldwidediseaseburdenHowevercollectingannotatingresourceintensiveStudieskindthustypicallyaffordrecruitdozenconstitutesoneobstaclesapplyingmodernmachinetechniquesOBJECTIVE:paperovercameadvancedwearables'backrecentadvancesapproachleverageslearnrepresentationssubsequentlyexploitedMETHODS:setsEmpaticaE4wristbandspanningdifferentunrelatedmonitoringtasks-fromemotionrecognitionplayersstressundergraduates-anddevisedperformingon-/off-bodysleep/wakesegmentationoptionallyfeatureextraction161E4-recordedsubjectslargest-to-datedevelopedE4-tailoredarchitectureservingblueprintassessedwhetherconditionsledimprovementbaselinesiepre-deepalgorithmsdetectingtaken64stableRESULTS:significantlyoutperformedpipelinesusingeitherextremegradientboosting:n=33538123%n=31107535%n=29737202%correctlyclassifiedtotal4128performancestronglyassociatedspecificwellavailabilityCONCLUSIONS:showedmodelpretrainedneedhumanannotationsdeploymenttargetinteresthelpsovercomeannotationchoicesizekeydeterminantssuccesssharedalongfosterexpeditefutureresearchWearableDataSubjectsPlayingTakingUniversityExamsPerformingPhysicalExerciseHelpDetectAcuteMoodDisorderEpisodesviaSelf-SupervisedLearning:ProspectiveExploratoryObservationalStudydeepdisordertime-seriesclassification

Similar Articles

Cited By