Document Type
Article
Abstract
Children's ambulatory sleep is commonly measured via actigraphy. However, traditional actigraphy measured sleep (e.g., Sadeh algorithm) struggles to predict wake (i.e., specificity, values typically < 70) and cannot predict sleep stages. Long short-term memory (LSTM) is a machine learning algorithm that may address these deficiencies. This study evaluated the agreement of LSTM sleep estimates from actigraphy and heartrate (HR) data with polysomnography (PSG). Children (N = 238, 5–12 years,52.8% male, 50% Black 31.9% White) participated in an overnight laboratory polysomnography. Participants were referred be-cause of suspected sleep disruptions. Children wore an ActiGraph GT9X accelerometer and two of three consumer wearables(i.e., Apple Watch Series 7, Fitbit Sense, Garmin Vivoactive 4) on their non-dominant wrist during the polysomnogram. LSTM estimated sleep versus wake and sleep stage (wake, not-REM, REM) using raw actigraphy and HR data for each 30-s epoch. Logistic regression and random forest were also estimated as a benchmark for performance with which to compare the LSTM results. A 10-fold cross-validation technique was employed, and confusion matrices were constructed. Sensitivity and specificity were calculated to assess the agreement between research-grade and consumer wearables with the criterion polysomnography. For sleep versus wake classification, LSTM outperformed logistic regression and random forest with accuracy ranging from 94.1to 95.1, sensitivity ranging from 94.9 to 95.9 across different devices, and specificity ranging from 84.5 to 89.6. The addition of HR improved the prediction of sleep stages but not binary sleep versus wake. LSTM is promising for predicting sleep and sleep staging from actigraphy data, and HR may improve sleep stage prediction.
Digital Object Identifier (DOI)
Publication Info
Published in Journal of Sleep Research, 2025, pages e70149-.
Rights
© 2025 The Author(s). Journal of Sleep Research published by John Wiley & Sons Ltd on behalf of European Sleep Research Society. This is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited.
APA Citation
Weaver, R. G., White, J. W., Finnegan, O., Yang, H., Zhong, Z., Kiely, K., Jones, C., Tong, Y., Nelakuditi, S., Ghosal, R., Brown, D. E., Pate, R., Welk, G. J., de Zambotti, M., Wang, Y., Burkart, S., Adams, E. L., Armstrong, B., & Beets, M. W. (2025). Predicting Sleep and Sleep Stage in Children Using Actigraphy and Heartrate via a Long Short‐Term Memory Deep Learning Algorithm: A Performance Evaluation. Journal of Sleep Research. https://doi.org/10.1111/jsr.70149
Included in
Biostatistics Commons, Computer Sciences Commons, Engineering Commons, Epidemiology Commons, Exercise Science Commons