Automatic identification of rapid eye movement sleep based on random forest using heart rate variability

Abstract There is broad evidence that the abnormality of rapid eye movement (REM) sleep may be an indicator of some diseases. The scientific identification of REM sleep thus plays a vital role in sleep medicine. Since the activity of autonomic nervous system (ANS) which can be reflected in heart rate variability (HRV) was associated with sleep states, we aimed to develop an automatic REM detecting system based on HRV analysis and machine learning. HRV signals which derived from 45 healthy participants were adopted and 69 HRV features were extracted and fed into a random forest (RF) classifier. We compared different strategies for the segmentation of HRV time series. The results showed a relative good classification performance by segmenting the whole record into overlapping sections, suggesting that the Surrounding Strategy overwhelms the Truncating one in RF based REM identification. Moreover, the classification performance exhibited a non-monotonic trend along with the length of the symmetric surrounding window. When there was 390 data points in such a window, we got the best performance to distinguish REM and non-REM sleeps with an accuracy of 0.84, a sensitivity of 0.80, a specificity of 0.88, a positive predictive value of 0.90, a negative predictive value of 0.85 and a kappa coefficient of 0.68. Our study showed the promising application of HRV-based methods in REM detecting, and furthermore, we threw light on the scientific segmentation of HRV signals in sleep staging. As the Surrounding strategy proposed in this study makes it possible to produce enough learning samples, our results may bring more impetus on machine learning-based algorithm, such as deep learning in this field.

[1]  Karen J. Reynolds,et al.  Heart rate variability indices for very short-term (30 beat) analysis. Part 1: survey and toolbox , 2013, Journal of Clinical Monitoring and Computing.

[2]  Anna M. Bianchi,et al.  Processing of Signals Recorded Through Smart Devices: Sleep-Quality Assessment , 2010, IEEE Transactions on Information Technology in Biomedicine.

[3]  T. Takishima,et al.  Upper airway muscle activity during REM and non-REM sleep of patients with obstructive apnea. , 1994, Chest.

[4]  Roberto Sassi,et al.  The addition of entropy-based regularity parameters improves sleep stage classification based on heart rate variability , 2015, Medical & Biological Engineering & Computing.

[5]  Matteo Matteucci,et al.  Sleep staging from Heart Rate Variability: time-varying spectral features and Hidden Markov Models , 2010 .

[6]  M. Younes The case for using digital EEG analysis in clinical sleep medicine , 2017, Sleep Science and Practice.

[7]  Daniel J Buysse Sleep health: can we define it? Does it matter? , 2014, Sleep.

[8]  Yoshifumi Tanaka,et al.  Heart Rate Variability during Chemical Thoracic Sympathectomy , 1998, Anesthesiology.

[9]  S. Nemati,et al.  A comparison of entropy approaches for AF discrimination , 2018, Physiological measurement.

[10]  Matteo Matteucci,et al.  Sleep Staging Based on Signals Acquired Through Bed Sensor , 2010, IEEE Transactions on Information Technology in Biomedicine.

[11]  I. Antelmi,et al.  Influence of age, gender, body mass index, and functional capacity on heart rate variability in a cohort of subjects without heart disease. , 2004, The American journal of cardiology.

[12]  Jean-Michel Poggi,et al.  Variable selection using random forests , 2010, Pattern Recognit. Lett..

[13]  Meng Xiao,et al.  Sleep stages classification based on heart rate variability and random forest , 2013, Biomed. Signal Process. Control..

[14]  Claudio A. Perez,et al.  Extracting Fuzzy Rules From Polysomnographic Recordings for Infant Sleep Classification , 2006, IEEE Transactions on Biomedical Engineering.

[15]  L. Bergfeldt,et al.  Power spectral and Poincaré plot characteristics in sinus node dysfunction. , 2003, Journal of applied physiology.

[16]  Kai Spiegelhalder,et al.  Sleep changes in the disorder of insomnia: a meta-analysis of polysomnographic studies. , 2014, Sleep medicine reviews.

[17]  E. Cauter,et al.  Estimating cardiac autonomic activity during sleep: impedance cardiography, spectral analysis, and Poincaré plots , 2004, Clinical Neurophysiology.

[18]  Dimitrios I. Fotiadis,et al.  Modifications of the construction and voting mechanisms of the Random Forests Algorithm , 2013, Data Knowl. Eng..

[19]  J. Floras Clinical aspects of sympathetic activation and parasympathetic withdrawal in heart failure. , 1993, Journal of the American College of Cardiology.

[20]  Y. Laryushina,et al.  Nonlinear analyses of heart rate variability in hypertension. , 2018, Annales de cardiologie et d'angeiologie.

[21]  J. R. Landis,et al.  The measurement of observer agreement for categorical data. , 1977, Biometrics.

[22]  Yue-Shi Lee,et al.  Cluster-based under-sampling approaches for imbalanced data distributions , 2009, Expert Syst. Appl..

[23]  L. Findley,et al.  Apnea duration and hypoxemia during REM sleep in patients with obstructive sleep apnea. , 1985, Chest.

[24]  Homer Nazeran,et al.  Automatic sleep staging using empirical mode decomposition, discrete wavelet transform, time-domain, and nonlinear dynamics features of heart rate variability signals , 2013, Comput. Methods Programs Biomed..

[25]  Claude Gronfier,et al.  Dynamic heart rate variability: a tool for exploring sympathovagal balance continuously during sleep in men. , 1998, American journal of physiology. Heart and circulatory physiology.

[26]  Quoc V. Le,et al.  On optimization methods for deep learning , 2011, ICML.

[27]  D. Skene,et al.  Evidence for the efficacy of melatonin in the treatment of primary adult sleep disorders. , 2017, Sleep medicine reviews.

[28]  W C Orr,et al.  Heart rate variability during waking and sleep in healthy males and females. , 1999, Sleep.

[29]  Kwang Suk Park,et al.  REM sleep estimation based on autonomic dynamics using R–R intervals , 2017, Physiological measurement.

[30]  S. Nevsimalova,et al.  Spectral analysis of heart rate variability in sleep. , 2005, Physiological Research.

[31]  Ning Wang,et al.  Adaptive network-based fuzzy inference system with leave-one-out cross-validation approach for prediction of surface roughness , 2011 .

[32]  Friedrich Teuscher,et al.  How robust are tests for two independent samples , 2007 .

[33]  A. Malliani,et al.  Heart rate variability. Standards of measurement, physiological interpretation, and clinical use , 1996 .

[34]  Yalcin Isler,et al.  Combining classical HRV indices with wavelet entropy measures improves to performance in diagnosing congestive heart failure , 2007, Comput. Biol. Medicine.

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

[36]  K. Reynolds,et al.  Heart rate variability indices for very short-term (30 beat) analysis. Part 2: validation , 2013, Journal of Clinical Monitoring and Computing.

[37]  A. Malliani,et al.  Power spectrum analysis of heart rate variability: a tool to explore neural regulatory mechanisms. , 1994, British heart journal.

[38]  Leo Breiman,et al.  Random Forests , 2001, Machine Learning.

[39]  Giulio Tononi,et al.  Antidepressant effects of selective slow wave sleep deprivation in major depression: a high-density EEG investigation. , 2011, Journal of psychiatric research.