Key result
HRV-based random forest classifier achieves ~80% sleep staging accuracy, outperforming BLSTM models.
Why the study?
Estimation of HRV indices requires outlier removal and ectopic beat correction, and existing classifiers often ignore the temporal relationship among sleep epochs when classifying sleep stages.
Can artificial intelligence models using heart rate variability features accurately classify sleep stages?
Observational (n=688)
Yes
Can artificial intelligence models using heart rate variability features accurately classify sleep stages?
Absolute Event Rate: 79.6% vs 74.7%
An AI-based random forest classifier using heart rate variability features can accurately classify sleep stages, offering a potential tool for automated, population-wide sleep analysis.
Supports ECG-HRV AI for scalable sleep staging research; leaves open prospective validation before clinical use.
Background Some artificial intelligence models use heart rate variability (HRV) features to classify sleep stages. Estimation of HRV indices requires the removal of outliers and correction of ectopic beats from the electrocardiography (ECG) data. In addition, sleep epochs bear a temporal relationship to each other, while classifiers treat epochs as independent entities. To address this, we propose a bidirectional long short-term (BLSTM) architecture and a random forest classifier (RFC) for the classification of 5 sleep stages, using HRV features and sleep epoch index. Methods Polysomnography data of 645 subjects from the ‘You Snooze You Win: The PhysioNet/Computing in Cardiology Challenge 2018’ dataset were selected. ECG data were corrected for outliers and ectopic beats using linear interpolation. Time, frequency, and non-linear domains’ HRV indices were determined and fed into the models. Results The RFC and BLSTM models obtained validation classification accuracy of 79.6 (1.6) and 74.70 (1.05), respectively, with RFC outperforming BLSTM. Further, the RFC model was validated with polysomnography data of 43 subjects from the Haaglanden Medisch Centrum dataset and obtained an accuracy of 78.9% with Cohen’s kappa of 0.70 and macro F1 score of 0.789. We also demonstrated the importance of a proper pre-processing pipeline and incorporating the epoch index as a temporal feature for training the classification model. Conclusion Automated analysis of sleep data from diverse centres has potential to provide insights into population-wide sleep patterns and disease stratification, enabling targeted interventions and public health education.
No takes yet. Share an insight, caveat, or question.
Chakraborty et al. (2026) conducted an observational in Sleep staging (n=688). Random forest classifier using HRV features and sleep epoch index vs. Bidirectional long short-term memory (BLSTM) model was evaluated on Validation classification accuracy for 5 sleep stages. A random forest classifier using heart rate variability features and sleep epoch index achieved a validation classification accuracy of 79.6% for 5 sleep stages, outperforming a BLSTM model.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: