Predicting sleep based on physical activity, light exposure, and Heart rate variability data using wearable devices

Ann Med. 2024 Dec;56(1):2405077. doi: 10.1080/07853890.2024.2405077. Epub 2024 Sep 19.

Abstract

Objective: We aimed to improve the performance of sleep prediction algorithms by increasing the data amount, adding variables reflecting psychological state, and adjusting the data length.

Materials and methods: We used ActiGraph GT3X+® and Galaxy Watch Active2 to collect physical activity and light exposure data. We collected heart rate variability (HRV) data with the Galaxy Watch. We evaluated the performance of sleep prediction algorithms based on different data sources (wearable devices only, sleep diary only, or both), data lengths (1, 2, or 3 days), and analysis methods. We defined the target outcome, 'good sleep', as ≥90% sleep efficiency.

Results: Among 278 participants who denied having sleep disturbance, we used data including 2136 total days and nights from 230 participants. The performance of the sleep prediction algorithms improved with an increased amount of data and added HRV data. The model with the best performance was the extreme gradient boosting model; XGBoost, using both sources combined data with HRV, and 2-day data (accuracy=.85, area under the curve =.80).

Conclusions: The results show that the performance of the sleep prediction models improved by increasing the data amount and adding HRV data. Further studies targeting insomnia patients and applied researches on non-pharmacological insomnia treatment are needed.

Keywords: Sleep; actigraphy; deep learning; machine learning; sleep prediction; wearable device.

MeSH terms

  • Actigraphy* / instrumentation
  • Adult
  • Algorithms*
  • Exercise* / physiology
  • Female
  • Heart Rate* / physiology
  • Humans
  • Male
  • Middle Aged
  • Sleep* / physiology
  • Wearable Electronic Devices*
  • Young Adult

Grants and funding

This study was funded by the Basic Science Research Program through the National Research Foundation of Korea of the Ministry of Science, ICT & Future Planning, Republic of Korea (Grant number: 2022R1A2B5B03002611 to Eun Lee); the Intelligence Information Expansion Support System for Private Organizations supervised by the National IT Industry Promotion Agency (grant number A0602-19-1020 to Eun Lee); and a Ministry of Trade, Industry and Energy Grant funded by the Korean government (Medical Device R&D Platform Project, project number 10060085 to Sang Eun Lee). There were no other sources of financial support for this study. The funding sources were not involved in study design, data collection, or manuscript preparation.