The combination of topological data analysis and mathematical modeling improves sleep stage prediction from consumer-grade wearables
Minki P. LeeiD, Dae Wook KimiD, Caleb MayeriD, Olivia WalchiD, Daniel B. ForgeriD
Abstract
Wearable devices have become commonplace tools for tracking behavioral and physiological parameters in real-world settings. Nonetheless, the practical utility of these data for clinical and research applications, such as sleep analysis, is hindered by their noisy, large-scale, and multidimensional characteristics. Here, we develop a neural network algorithm that predicts sleep stages by tracking topological features (TFs) of wearable data and model-driven clock proxies reflecting the circadian propensity for sleep. To evaluate its accuracy, we apply it to motion and heart rate data from the Apple Watch worn by subjects undergoing polysomnography (PSG) and compare the predicted sleep stages with the corresponding ground truth PSG records. We find that TFs and clock proxies can improve the overall performance of wake/REM/NREM sleep classification, particularly in identifying REM and NREM sleep (AUROC/AUPRC improvements > 9% and REM/NREM accuracy improvement " 12%). We find that this improvement is mainly attributed to the heart rate TFs. To confirm this, we compare the heart rate TFs between two groups, expected to have different cardiovascular conditions: younger, healthy subjects from the Apple Watch cohort and elderly subjects from the Multi-ethnic Study of Atherosclerosis cohort. Indeed, TFs largely vary across REM and NREM sleep in younger individuals while the variations disappear in elderly individuals, explaining the enhanced improvements in REM or NREM sleep classification problems only in the younger individuals. This study demonstrates the benefits of combining topological data analysis and mathematical modeling to extract hidden inputs of neural networks from puzzling wearable data.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 10
- FWCI
- 4.07
- Field percentile
- top 6%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Three-level Sleep Stage Classification Based on Wrist-worn Accelerometry Data Alone
Jian Hu, Haochang Shou·bioRxiv·Aug 10, 2021
- A Personalized and Adaptive Distribution Classification of Actigraphy Segments into Sleep-Wake States
A. Vandegriffe, V. A. Samaranayake, M. Thimgan·bioRxiv·Aug 8, 2023
- PennZzz - an algorithm for estimating behavioral states from wrist-worn accelerometery
Richard McCloskey, Matthew H. Goodman, … Maja Bućan·bioRxiv·Jun 15, 2018
- The potential of ensemble-based automated sleep staging on single-channel EEG signal from a wearable device
Federico Salfi, Domenico Corigliano, … M. Ferrara·Journal of Sleep ResearchPeer-reviewed·Jan 19, 2026
- Automatic sleep stage classification using physiological signals acquired by Dreem headband
S. Bakian Dogaheh, M. H. Moradi·bioRxiv·Oct 5, 2023
- ezscore-f: A Set of Freely Available, Validated Sleep Stage Classifiers for Forehead EEG
William G. Coon, Paul Zerr, … Matthew J. Reid·bioRxiv·Jun 2, 2025