Deep learning for automated sleep staging using instantaneous heart rate

Clinical sleep evaluations currently require multimodal data collection and manual review by human experts, making them expensive and unsuitable for longer term studies. Sleep staging using cardiac rhythm is an active area of research because it can be measured much more easily using a wide variety of both medical and consumer-grade devices. In this study, we applied deep learning methods to create an algorithm for automated sleep stage scoring using the instantaneous heart rate (IHR) time series extracted from the electrocardiogram (ECG). We trained and validated an algorithm on over 10,000 nights of data from the Sleep Heart Health Study (SHHS) and Multi-Ethnic Study of Atherosclerosis (MESA). The algorithm has an overall performance of 0.77 accuracy and 0.66 kappa against the reference stages on a held-out portion of the SHHS dataset for classifying every 30 s of sleep into four classes: wake, light sleep, deep sleep, and rapid eye movement (REM). Moreover, we demonstrate that the algorithm generalizes well to an independent dataset of 993 subjects labeled by American Academy of Sleep Medicine (AASM) licensed clinical staff at Massachusetts General Hospital that was not used for training or validation. Finally, we demonstrate that the stages predicted by our algorithm can reproduce previous clinical studies correlating sleep stages with comorbidities such as sleep apnea and hypertension as well as demographics such as age and gender.

[1]  Qiao Li,et al.  You Snooze, You Win: the PhysioNet/Computing in Cardiology Challenge 2018 , 2018, 2018 Computing in Cardiology Conference (CinC).

[2]  J. Samet,et al.  The Sleep Heart Health Study: design, rationale, and methods. , 1997, Sleep.

[3]  T. Balkin,et al.  A systematic review and meta-analysis of sleep architecture and chronic traumatic brain injury. , 2018, Sleep medicine reviews.

[4]  C. Siengsukon,et al.  Sleep Parameters, Functional Status, and Time Post-Stroke are Associated with Offline Motor Skill Learning in People with Chronic Stroke , 2015, Front. Neurol..

[5]  A. Schlögl,et al.  Interrater reliability between scorers from eight European sleep laboratories in subjects with different sleep disorders , 2004, Journal of sleep research.

[6]  R. Kronmal,et al.  Multi-Ethnic Study of Atherosclerosis: objectives and design. , 2002, American journal of epidemiology.

[7]  R. Engel,et al.  The correlation of heart and respiratory frequency in natural sleep of man and their relation to dream content. , 1971, Electroencephalography and Clinical Neurophysiology.

[8]  Ronald M. Aarts,et al.  Sleep stage classification from heart-rate variability using long short-term memory neural networks , 2019, Scientific Reports.

[9]  Willis J. Tompkins,et al.  A Real-Time QRS Detection Algorithm , 1985, IEEE Transactions on Biomedical Engineering.

[10]  M. Bonnet,et al.  Heart rate variability: sleep stage, time of night, and arousal influences. , 1997, Electroencephalography and clinical neurophysiology.

[11]  Heiga Zen,et al.  WaveNet: A Generative Model for Raw Audio , 2016, SSW.

[12]  P. Anderer,et al.  Sleep classification according to AASM and Rechtschaffen & Kales: effects on sleep scoring parameters. , 2009, Sleep.

[13]  A. Welch,et al.  Variations of heart rate during sleep as a function of the sleep cycle. , 1973, Electroencephalography and clinical neurophysiology.

[14]  Susan Redline,et al.  Underdiagnosis of Sleep Apnea Syndrome in U.S. Communities , 2002, Sleep and Breathing.

[15]  Karen Ritchie,et al.  Sleep and depression. , 2005, The Journal of clinical psychiatry.

[16]  Atul Malhotra,et al.  Sleep staging based on autonomic signals: a multi-center validation study. , 2011, Journal of clinical sleep medicine : JCSM : official publication of the American Academy of Sleep Medicine.

[17]  B. Högl,et al.  Sleep in Parkinson’s disease , 2019, Neuropsychopharmacology.

[18]  Vladlen Koltun,et al.  Multi-Scale Context Aggregation by Dilated Convolutions , 2015, ICLR.

[19]  Song Li,et al.  Alteration in sleep architecture and electroencephalogram as an early sign of Alzheimer's disease preceding the disease pathology and cognitive decline , 2019, Alzheimer's & Dementia.

[20]  Z. Tomori,et al.  Do Differences in Sleep Architecture Exist between Persons with Type 2 Diabetes and Nondiabetic Controls? , 2010, Journal of diabetes science and technology.

[21]  Hilla Peretz,et al.  Ju n 20 03 Schrödinger ’ s Cat : The rules of engagement , 2003 .

[22]  R. Rosenberg,et al.  The American Academy of Sleep Medicine inter-scorer reliability program: sleep stage scoring. , 2013, Journal of clinical sleep medicine : JCSM : official publication of the American Academy of Sleep Medicine.

[23]  Catherine P. Jayapandian,et al.  Scaling Up Scientific Discovery in Sleep Medicine: The National Sleep Research Resource. , 2016, Sleep.

[24]  R. J. Sullivan,et al.  Sleep in the laboratory and sleep at home: comparisons of older insomniacs and normal sleepers. , 1997, Sleep.

[25]  Haoqi Sun,et al.  Expert-level sleep scoring with deep neural networks , 2018, J. Am. Medical Informatics Assoc..

[26]  S. Cash,et al.  Obstructive Sleep Apnea Alters Sleep Stage Transition Dynamics , 2010, PloS one.

[27]  Qichen Li,et al.  Deep learning in the cross-time frequency domain for sleep staging from a single-lead electrocardiogram , 2018, Physiological measurement.

[28]  Z Beattie,et al.  Estimation of sleep stages in a healthy adult population from optical plethysmography and accelerometer signals , 2017, Physiological measurement.

[29]  Michael Labanowski,et al.  Sleep Stage Scoring , 2015 .

[30]  Guo-Qiang Zhang,et al.  The National Sleep Research Resource: towards a sleep data commons , 2018, BCB.

[31]  S. Redline,et al.  The effects of age, sex, ethnicity, and sleep-disordered breathing on sleep architecture. , 2004, Archives of internal medicine.