Next Article in Journal
Probabilistic Models with Deep Neural Networks
Next Article in Special Issue
Short-Term HRV Analysis Using Nonparametric Sample Entropy for Obstructive Sleep Apnea
Previous Article in Journal
No Statistical-Computational Gap in Spiked Matrix Models with Generative Network Priors
Previous Article in Special Issue
Assessment of Nocturnal Autonomic Cardiac Imbalance in Positional Obstructive Sleep Apnea. A Multiscale Nonlinear Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Multi-Class Automatic Sleep Staging Method Based on Photoplethysmography Signals

College of Electronic Engineering, Heilongjiang University, Harbin 150080, China
*
Author to whom correspondence should be addressed.
Entropy 2021, 23(1), 116; https://doi.org/10.3390/e23010116
Submission received: 8 December 2020 / Revised: 8 January 2021 / Accepted: 10 January 2021 / Published: 18 January 2021
(This article belongs to the Special Issue Entropy and Sleep Disorders II)

Abstract

:
Automatic sleep staging with only one channel is a challenging problem in sleep-related research. In this paper, a simple and efficient method named PPG-based multi-class automatic sleep staging (PMSS) is proposed using only a photoplethysmography (PPG) signal. Single-channel PPG data were obtained from four categories of subjects in the CAP sleep database. After the preprocessing of PPG data, feature extraction was performed from the time domain, frequency domain, and nonlinear domain, and a total of 21 features were extracted. Finally, the Light Gradient Boosting Machine (LightGBM) classifier was used for multi-class sleep staging. The accuracy of the multi-class automatic sleep staging was over 70%, and the Cohen’s kappa statistic k was over 0.6. This also showed that the PMSS method can also be applied to stage the sleep state for patients with sleep disorders.

1. Introduction

Sleep plays a very important role in our daily life and is closely related to the operation of many physiological systems in the body. Poor sleep quality not only affects people’s daily life but also causes insomnia, narcolepsy, and other sleep disorders [1]. These acquired sleep disorders and congenital disorders are highly correlated with the duration of each sleep phase [2]. Not only that, sleep staging has been used to monitor the physiological status of some diseases in intensive care units, such as stroke, cardiovascular and cerebrovascular diseases, etc.
In the early study of sleep staging criteria, researchers divided sleep into non-rapid eye movement (NREM), wake, and rapid eye movement (REM) stages, and labelled rapid eye movement (REM) according to the state of the brain, blood pressure, heart rate, oxygen content in the blood, energy consumption, and other indicators of REM [3]. With the development of modern technology and further research on sleep, the non-rapid eye movement phase has been refined into sleep 1 (s1), sleep 2 (s2), sleep 3 (s3), and sleep 4 (s4) [4,5]. Among them, s1 and s2 are collectively referred to as light sleep, and s3 and s4 are collectively referred to as slow-wave sleep [6]. At present, the international standard staged sleep activity into five phases: REM, NREM I (N1), NREM II (N2), NREM III (N3), and wake (W) [7]. It is derived from researchers’ use of polysomnography (PSG) and the American Academy of Sleep Medicine (AASM) sleep scores and related event rulebook divisions [8,9]. The “gold standard” for assessing the sleep stage is a sleep staging method based on PSG technology consisting of multiple digital signals, including electroencephalogram (EEG), electrocardiogram (ECG), leg and chin electromyography (EMG), electrooculogram (EOG), respiration, oxygen saturation, and airflow. PSG technology is usually performed by multiple certified researchers by analyzing PSG signals for sleep staging at 30 s intervals [10].
Traditionally, sleep physiologists perform sleep staging by visually examining PSG signals. This method not only consumes expensive human resources but also relies on the professional level and experience of the evaluator [11]. In recent years, automatic sleep staging technology has liberated the limitations of manpower and improved the efficiency of sleep staging, which has become the main direction of people’s research at this stage and has achieved good results. In the early stage of the development of automatic sleep staging technology, researchers mainly used a combination of physiological signals to perform sleep staging, and the accuracy rate of 5-class sleep staging could reach more than 92% [12,13]. To reduce the impact of data collection on the subjects, the researchers turned to single-channel EEG signals, single-channel EOG signals, and single-channel ECG signals. Hassan and Bhuiyan used single-channel EEG signals to perform 5-class sleep staging with an accuracy of 91% [14]. Rahman et al. used single-channel EOG signals with over 90% accuracy for 5-class sleep [15]. Yücelbaş et al., Yoon et al., and Xiao et al. used ECG signals for 3-class sleep staging with an accuracy of more than 87% [7,16,17]. However, the above methods will affect the sleep state of subjects during the physiological signal collection process, and some methods must be performed in professional environments such as hospitals. To this end, Fonseca et al. and Beattie et al. tried to use the PPG signal extracted by the optical sensor for sleep staging and demonstrated the feasibility of the approach [18,19]. High-precision sleep staging and home sleep monitoring methods that reduce the impact on subjects become the next major goals for sleep staging researchers.
Here, the PMSS (PPG-based multi-class automatic sleep staging) method was proposed on a single-channel optical PPG signal for sleep staging. With less impact on the subjects during data collection, mobile monitoring and home monitoring can be easily achieved. In the CAP sleep database [20,21], PSG signals from more than 27,000 periods of 27 subjects were used to extract PPG signals as data, and the process of collecting physiological signal data would not affect the subjects’ natural sleep and will not cause psychological distress to the subjects. After preprocessing the data, feature extraction was performed from the frequency domain, time domain, and nonlinear domain. Finally, the Light Gradient Boosting Machine (LightGBM) classification model was used to perform sleep staging according to multiple classification principles. The classification results are described based on various indicators such as confusion matrix, accuracy rate, recall rate, F1 value, and Cohen’s kappa statistic. The method in this paper is suitable for family monitoring of different subjects, and the obtained results are equivalent to the results of PSG signal sleep staging.

2. Materials and Methods

PPG, based on a reflection-type detector based on an LED light source, measures the attenuation of reflected light, some of which is absorbed by human blood vessels and tissues. The pulse state of the blood vessel is then recorded, and the pulse wave is plotted. PPG signal can extract physiological signals such as heart rate, SpO2, and heart rate variability. This PPG-based test is usually applied to the fingertips, so it is safe, painless, and contains all the information needed for sleep staging and long-term monitoring. It is the first choice for portable sleep staging.
The PPG data collected in the CAP sleep database was abstracted to verify the PMSS method. The CAP sleep database is a collection of 108 polysomnography records registered by the Ospidere Marjorie Sleep Disorders Center in Palma, Italy. Using the Rechtschaffen and Kales (R&K) guidelines [8] and the AASM guidelines [9], several experts annotated all PSG records for a sleep phase every 30s and assigned the sleep phase to each data epoch. Due to the lack of PPG signal data in the PSG signal of 108 subjects, the sleep data of 27 subjects without PPG signal loss were used in this experiment, including 4 healthy subjects, 8 patients with REM sleep behavior disorder, 10 patients with nocturnal frontal lobe epilepsy, and 5 patients with insomnia. The subject information was extracted as shown in Table 1.
In this study, small changes in PPG signals at different sleep stages were used to conduct multi-class sleep staging. Since there was be a lot of interference in the collection process of physiological signals, this study first preprocessed the PPG signals. Then, the features extracted from time-domain features, nonlinear-domain features, and heart rate variability signals were prepared for the preprocessed signals. Then, the frequency-domain features of heart rate variability were extracted. Finally, the extracted features were put into the machine learning model for sleep staging. The basic flow is shown in Figure 1, and the details of each step are described below.

2.1. Preprocessing of Raw Data

For noise, such as baseline drift and power frequency interference of PPG signal, the wavelet transform method was adopted in this experiment, and the BiOR3.5 wavelet was selected for filtering. At the same time, the 6 classification tags in the original data were converted into a multimodal tag, as shown in Figure 2. In addition, this study still used the division of sleep stage every 30 s in the original data and manually deleted some data without sleep state annotations, and finally obtained 27,333 sleep state data.

2.2. Feature Extraction Process

In this experiment, all features were extracted from the PPG signal, and these features can be divided into, time-domain features, frequency-domain features, and nonlinear domain features.

2.2.1. Time-Domain Feature Extraction of PPG Signal

The time-domain characteristics of the PPG signal can intuitively reflect the changes of sleep stage with time. The time-domain features extracted in this paper are shown in Table 2, where Z stands for PPG data.

2.2.2. Frequency-Domain Features

The frequency-domain characteristics of the heart rate variability signal extracted from the PPG signal clearly reflect the activity of the human autonomic nervous system. The features include the frequency band power of each frequency band of heart rate variability. According to the PPG signal, the R-R intervals can be accurately obtained, thereby reliably obtaining heart rate variability. Heart rate variability is usually obtained by ECG signals. In this study, there is a strong correlation between the heart rate variability signals obtained by PPG signals and the heart rate variability signals extracted by ECG signals using PSG datasets, which has also been proven by some scholars [22]. The frequency band of heart rate variability can be divided into low frequency (LF.0.04–0.15) and high frequency, (HF.0.15–0.4), where LF can be further divided into true low frequency (TLF.0.04–0.1) and medium frequency (MF.0.1–0.15). The power of LF and HF bands is related to the regulation of the sympathetic nervous system (SNS) and parasympathetic nervous system (PNS), respectively.

2.2.3. Nonlinear Features

The information extracted by frequency-domain features and time-domain features was still limited, so this experiment introduced many advanced nonlinear feature extraction methods to further extract PPG signal features. Since the PPG signal sampling time at each sleep stage is only 30 s, this paper adopted a nonlinear feature extraction method suitable for short-term PPG signals. These methods included, approximate entropy (ApEn), sample entropy (SampEn), fuzzy entropy permutation entropy, and recurrence Plot.
In order to solve the difficulty of solving entropy in chaos, Pincus proposed the concept of ApEn analysis: an indicator used to measure the complexity of time series from nonlinear time series [23,24]. The theoretical implementation of the ApEn algorithm is shown below:
Perform m-dimensional spatial reconstruction on an N-dimensional time series u 1 , u 2 , , u N obtained by sampling at equal time intervals. The reconstructed i-th vector is expressed as Equation (1):
X i = u i , u i + 1 , , u i + m 1
For 1 i N m + 1 , calculate the number of vectors that satisfy the following Formula (2). Given the threshold r, usually r  =  0.1~0.25 SD (SD is the standard deviation of the sequence X i :
C i m r = n u m b e r   o f   x j   s u c h   t h a t   d X i , X j r / N M + 1
where d X i , X j represents the maximum distance between X i and X j , m is the pre-selected mode dimension. ApEn is calculated as:
Φ m r = 1 N m + 1 i = 1 N m + 1 C i m l n
A p E n = Φ m r Φ m + 1 r
During the calculation of ApEn, the m is set as 2 and the r is 0.15 SD.
SampEn is also a method to describe the complexity of time series, which is improved based on the ApEn method [25]. It has applications in assessing the complexity of physiological time series and diagnosing pathological state. The SampEn algorithm steps for an original time series u 1 , u 2 , , u N are as follows:
Firstly, using the original time series construct a set of m dimensional vectors, where X i = u i , u i + 1 , , u i + m 1 . For 1 i N m + 1 , calculate the number of vectors that satisfy the following formula [26,27,28]. Define the function:
B i m r = number   of   X j   such   that   d X i , X j r N m + 1 , j i
B m r = ( N m + 1 ) 1 i = 1 N m + 1 B i m r
Then, define another function, let k = m + 1:
A i k r =   number   of   X j   such   that   d X i , X j r N m + 1 , j i
A k r = ( N k + 1 ) 1 i = 1 N k + 1 B i k r
For a finite dataset, the SampEn is estimated as follows:
SampEn   = l n A k r / B m r
Fuzzy entropy is similar to the physical meaning of ApEn and SampEn. It measures the magnitude of the probability that the new model produces. The larger the measure, the greater the probability that the new pattern will produce, meaning that the sequence complexity is greater. The fuzzy entropy algorithm steps for an original time series u 1 , u 2 , , u N are as follows [29,30]:
Firstly, using the original time series construct a set of m dimensional vectors, where X i = u i , u i + 1 , , u i + m 1 1 m j = 0 m 1 u i + j , j = 1 , 2 , , N m + 1 . Then, add fuzzy membership function:
A x = 1 , x = 0 e x p l n ( 2 ) x r 2 , x > 0
A i j m = e x p l n ( 2 ) * d i j m r 2 , j = 1 , 2 , , N m + 1 ,   and   j i
C i m r = 1 N m j = 1 , j i N m + 1 A i j m
Φ m r = 1 N m + 1 i = 1 N m + 1 C i m r
Therefore, the fuzzy entropy of the original time series is as follows:
FuzzyEn   m , r = l i m N ln Φ m r ln Φ m + 1 r
For a finite dataset, the fuzzy entropy is estimated as follows:
FuzzyEn   m , r , N = ln Φ m r ln Φ m + 1 r
where d i j m = d X i , X j represents the maximum absolute distance between the window vectors X i and X j , r is the similar tolerance limit, and m is the preselected modal size. The paper takes m = 2 and r = 0.15 S D .
The permutation entropy is the same as the ApEn, SampEn, and fuzzy entropy mentioned above, and is an indicator for measuring the complexity of time series. The difference is that it introduces the idea of permutation when calculating the complexity between reconstructed subsequences [31]. The permutation entropy algorithm steps for an original time series u 1 , u 2 , , u N are as follows: First, phase space reconstruction of time series X (phase space size is denoted as m) yields a matrix: rearrange the ascending order of each row of the reconstructed matrix, and if the same two values are encountered, arrange them according to the subscript, thus generating a sequence of symbols. Finally, the number of occurrences of row subscript order is calculated as the row probability, and the entropy of arrangement is the sum of the entropy of all rows in the time series.
The recurrence plot method is an innovative tool for analyzing periodicity and nonlinearity of time series, and it can dig out the internal structure of time series. The recursive graph is used in the experimental data by Eckmann et al. [32,33] and its definition is as follows:
R i , j = Θ ε i x i x j , x i R m , i , j = 1 , , N
Recurrence rate is the density of recursive points in a recursive graph, which is the percentage of recursive points (the proportion of the total number of black points in the recursive graph); determinism is the percentage of recursive points that form a diagonal in the recursive graph (the proportion of black points on the line segment that constitutes the parallel diagonal direction). The measure is defined as follows:
D E T = l = l m i n N l i , j N R i , j

2.2.4. Summary of PPG Features

A total of 27 features were explored and are summarized in Table 3.

2.3. Classification Procedures

Following the completion of the above preparation phase, the feature dataset was standardized and subjected to leave-one-out cross-validation. Afterward, the datasets were classified by using the LightGBM and the sleep staging process was performed.
LightGBM is a gradient lifting algorithm based on Gradient Boosting Decison Tree (GBDT) [34]. Its main improvement measures include histogram algorithm and leaf-wise decision tree growth strategy with depth limitation. The decision tree submodel in LightGBM splits the nodes by tiling. Therefore, compared with XGBoost [35], its computational cost is small. We must control the depth of the tree and the minimum data of each leaf node to avoid the fitting phenomenon. The histogram-based decision tree algorithm divides the feature values into multiple kegs and then searches for optimal partitions on those buckets, thereby reducing storage and computational costs. This enhances the robustness to noise while ensuring good evaluation accuracy and training speed. It is proposed to solve the problems encountered by GBDT in massive data so that GBDT can be better applied to reality.
First, given the training set X = ( x i , y i ) i = 1 n , the purpose of the LightGBM algorithm is to find a suitable p ¯ x , as close as possible to p * ( x ) , to minimize the expected value of the specific loss function L y , p x , as follows:
p ¯ x = a r g m i n   p E y , X L y , p x
LightGBM integrates a large number of T-regression trees t = 1 T p t X , which can be approximated to the final model:
p T X = t = 1 T p t X
The regression tree should be represented as W q x , q 1 , 2 , , J where   J is the number of leaves, q is the decision rule of the tree, and w is a vector of leaf node sample weights. Hence, LightGBM is trained in the following form:
φ t = i = 1 n L y i , P t 1 x i + p t x i
The objective function is a fast approximate-place Newton method. For the sake of simplicity, the constant term in (21) is removed and the formula becomes:
φ t i = 1 n L g i , p t x i + 1 2 h i p t 2 x i
where g i represents first-order statistics of loss function, h i represents second-order statistics of loss function, and I j is the sample set of the leaf j , and then (22) can represent the following formula:
φ t = i = 1 j i I j g i w j + 1 2 i I j h i + γ w j 2
For the structure q(x) of the tree, the optimal leaf weight fraction of each leaf node w j * and the extreme value of φ T * can be solved as:
w j * = i I j g i i I j h i + γ
φ T * = 1 2 j = 1 J i I j g i 2 i I j h i + γ
φ T * is an important scoring function of the tree structure q, then the objective function can be expressed as:
G = 1 2 i I L g i 2 i I L h i + γ + i I R g i 2 i I R h I + γ + i I g i 2 i I h i + γ
where I L and I R are the left and right branches of the sample set, and LightGBM will allow the tree to grow vertically, which will be more efficient when processing large amounts of data.

2.4. Decision Mechanism

In the field of machine learning, accuracy is the most basic statistical classification evaluation indicator, but it cannot fully demonstrate model performance. In order to visualize the performance of the sleep staging algorithm objectively and comprehensively, the confusion matrix, recall rate and F1 score were used as evaluation criteria. In addition to statistical criteria, Cohen’s kappa coefficient is used to represent the correlation of sleep staging results [36].

3. Results and Discussion

This study used PPG data extracted from the CAP sleep database, which was derived from 27 subjects, 4 of whom were healthy, 5 had insomnia, 10 had nocturnal frontal lobe epilepsy, and 8 had REM behavior disorder. First of all, 27,333 periods were obtained after data preprocessing such as data cleaning, data filtering, and data denoising. In order to make the final result more authoritative, this study performed a balanced processing of various types of data according to multimodal staging criteria.
After preprocessing, this study extracted features from the time domain, frequency domain, and nonlinear domain and obtained 21 features in total. After effective features were determined, the feature dataset were normalized, and the dataset was divided using the 10-fold cross-validation method. Finally, the training set was used to train the LightGBM classifier for sleep staging, the validation set was used to adjust the model, and the test set was used to evaluate the model according to the above evaluation criteria.
In this experiment, four evaluation indexes including accuracy, recall rate, F1 score, and Cohen’s kappa statistic k were used to evaluate the performance of the model. The results of multi-class sleep staging in the test dataset are shown in Table 4. Among them, the accuracy rate of the 3-class was higher than 86%, and Cohen’s kappa statistic k was also higher than 0.79, which was highly similar to the expert scoring results. The sleep staging results of the 4-class and the 5-class were slightly inferior to the sleep staging results of the 3-class, but the accuracy rate was also higher than 72% and the Cohen’s kappa statistic k coefficient was also higher than 0.6, which basically meets the accuracy requirements of most sleep staging scenes. From the experimental results, the PMSS method still lacks the ability of multi-class sleep classification compared with the ability of multi-class sleep staging using EEG signals. However, compared with other single-channel physiological signals for sleep classification, such as ECG and respiratory signals, the accuracy was significantly improved.
The divided test dataset contained a mixed dataset of some data from healthy subjects, insomnia subjects, nocturnal frontal lobe epilepsy subjects, and REM behavior disorder subjects. In order to verify the classifying ability of the experimental model for subjects with sleep disorders, this article used four different health conditions of the subject data to perform 4-class sleep staging. The results of sleep staging are shown in Figure 3. Among them, the sleep staging ability is the best for healthy people, with an accuracy rate of more than 80%. The sleep staging ability of the subjects with the disease was decreased, but the consistency is more than 0.60. It can be concluded that the model is still suitable for sleep staging of subjects with sleep disorders.
Compared with articles using PPG signals for sleep classification in recent years, this experiment only uses single-channel PPG signals as classification data and does not require the assistance of other signals, which greatly reduces the impact of the experiment on the subjects’ natural sleep. Judging from the classification results, the accuracy and Cohen’s kappa statistic k of sleep staging in 3-class, 4-class, and 5-class in this experiment are higher than those of the current study of sleep classification using PPG signals. Not only that, the experimental sleep classification model has a strong generalization ability and can meet the sleep staging needs of patients with sleep diseases. Nevertheless, this experiment still encountered some problems. The collection of PPG signals is based on the principle of light reflection. Therefore, when this method is used at a high light intensity, large errors will occur, which will become a problem to be solved in the next step.

4. Conclusions

PMSS method was proposed with only PPG signal used to stage the sleeping status. PMSS method can achieve 3-class, 4-class, and 5-class sleep staging, and the results of multi-class sleep staging are highly consistent with the results of manual sleep staging conducted by several experts based on PSG signals. The reason is that because PPG signals can extract HRV signals and SpO2 signals, they have all the information of these signals. At the same time, these signals have been recognized by many scholars as suitable for sleep staging. It is well understood that PPG signals can be obtained in sleep staging experiments. In addition, this method can also achieve a consistent result on PPG data of subjects with sleep disorders. Therefore, this study believes that the PMSS method has generalization ability and can be applied to home sleep monitoring for patients with sleep disorders and healthy subjects, greatly reducing human resource consumption and reducing the impact on the subject during sleep monitoring. In the next step of this study, considering the accuracy of this method, we will try to apply this method to the diagnosis of sleep disorders.

Author Contributions

The contributions of the authors are provided below. Formal analysis, X.Z.; funding acquisition, G.S.; investigation, X.Z. and G.S.; resources, G.S.; writing—original draft, X.Z.; writing—review & editing, X.Z. and G.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the HLJU Heilongjiang University, grant number JM201911.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

Publicly available datasets were analyzed in this study. This data can be found here: https://www.physionet.org/content/capslpdb/1.0.0/.

Acknowledgments

The authors acknowledge the support of Heilongjiang University.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Stephansen, J.B.; Olesen, A.N.; Olsen, M.; Ambati, A.; Leary, E.B.; Moore, H.; Carrillo, O.; Lin, L.; Han, F.; Yan, H.; et al. Neural network analysis of sleep stages enables efficient diagnosis of narcolepsy. Nat. Commun. 2018, 9, 5229. [Google Scholar] [CrossRef] [Green Version]
  2. Krieger, A.C. Social and Economic Dimensions of Sleep Disorders, An Issue of Sleep Medicine Clinics, E-Book; Elsevier: Amsterdam, The Netherlands, 2017. [Google Scholar]
  3. Algın, D.; Akdağ, G.; Erdinç, O. Kaliteli uyku ve uyku bozukluklari/Quality sleep and sleep disorders. Osmangazi Tıp Dergisi 2016, 38, 29–34. [Google Scholar]
  4. Steriade, M.M.; McCarley, R.W. Brainstem Control of Wakefulness and Sleep; Springer: Berlin, Germany, 2013. [Google Scholar]
  5. Rechtschaffen, A. A manual for standardized terminology, techniques and scoring system for sleep stages in human subjects. Brain Inf. Serv. 1968, 22–34. [Google Scholar]
  6. Fonseca, P.; Long, X.; Radha, M.; Haakma, R.; Aarts, R.M. Rolink, J. Sleep stage classification with ECG and respiratory effort. Physiol. Meas. 2015, 36, 2027. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Xiao, M.; Yan, H.; Song, J.Z.; Yang, Y.Z.; Yang, X.L. Sleep stages classification based on heart rate variability and random forest. Biomed. Signal Process. Control 2013, 8, 624–633. [Google Scholar] [CrossRef]
  8. Hori, T.; Sugita, Y.; Koga, E.; Shirakawa, S. Proposed supplements and amendments to ‘a manual of standardized terminology, techniques and scoring system for sleep stages of human subjects’, the Rechtschaffen & Kales (1968) standard. Psychiatry Clin. Neurosci. 2001, 55, 305–310. [Google Scholar] [PubMed] [Green Version]
  9. Berry, R.B.; Budhiraja, R.; Gottlieb, D.J.; Gozal, D.; Iber, C.; Kapur, V.K.; Marcus, C.L.; Mehra, R.; Parthasarathy, S.; Quan, S.F.; et al. Rules for scoring respiratory events in sleep: Update of the 2007 AASM manual for the scoring of sleep and associated events. J. Clin. Sleep Med. 2012, 8, 597–619. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  10. Spriggs, W. Essentials of Polysomnography; Jones & Bartlett Publishers: Mississauga, ON, Canada, 2009. [Google Scholar]
  11. Penzel, T.; Conradt, R. Computer based sleep recording and analysis. Sleep Med. Rev. 2000, 4, 131–148. [Google Scholar] [CrossRef]
  12. Dimitriadis, S.I.; Salis, C.; Linden, D. A novel, fast and efficient single-sensor automatic sleep-stage classification based on complementary cross-frequency coupling estimates. Clin. Neurophysiol. 2018, 129, 815–828. [Google Scholar] [CrossRef]
  13. Wang, G.; Teng, C.; Li, K.; Zhang, Z.L.; Yan, X.G. The removal of EOG artifacts from EEG signals using independent component analysis and multivariate empirical mode decomposition. IEEE J. Biomed. Health Inform. 2015, 20, 1301–1308. [Google Scholar] [CrossRef]
  14. Hassan, A.R.; Bhuiyan, M.I.H. A decision support system for automatic sleep staging from EEG signals using tunable Q-factor wavelet transform and spectral features. J. Neurosci. Methods 2016, 271, 107–118. [Google Scholar] [CrossRef] [PubMed]
  15. Rahman, M.M.; Bhuiyan MI, H.; Hassan, A.R. Sleep stage classification using single-channel EOG. Comput. Biol. Med. 2018, 102, 211–220. [Google Scholar] [CrossRef]
  16. Yoon, H.; Hwang, S.H.; Choi, J.W.; Deong, D.U.; Park, K.S. REM sleep estimation based on autonomic dynamics using R–R intervals. Physiol. Meas. [CrossRef]
  17. Yücelbaş, Ş.; Yücelbaş, C.; Tezel, G.; Özşen, S.; Yosunkaya, Ş. Automatic sleep staging based on SVD, VMD, HHT and morphological features of single-lead ECG signal. Expert Syst. Appl. 2018, 102, 193–206. [Google Scholar] [CrossRef]
  18. Beattie, Z.; Oyang, Y.; Statan, A.; Ghoreyshi, A.; Pantelopoulos, A.; Russell, A.; Heneghan, C. Estimation of sleep stages in a healthy adult population from optical plethysmography and accelerometer signals. Physiol Meas. 2017, 38, 1968–1979. [Google Scholar] [CrossRef]
  19. Fonseca, P.; Weysen, T.; Goelema, M.S.; Møst, E.I.S.; Radha, M.; Scheurleer, C.L.; Heuvel, L.; Aarts, R.M. Validation of Photoplethysmography-Based Sleep Staging Compared With Polysomnography in Healthy Middle-Aged Adults. Sleep 2017, 7, zsx097. [Google Scholar] [CrossRef]
  20. Terzano, M.G.; Parrino, L.; Smerieri, A.; Chervin, R.; Chokroverty, S.; Guilleminault, C.; Hirshkowitz, M.; Mahowald, M.; Moldofsky, H.; Rosa, A.; et al. Atlas, rules, and recording techniques for the scoring of cyclic alternating pattern (CAP) in human sleep. Sleep Med. 2002, 3, 187–199. [Google Scholar] [CrossRef]
  21. Goldberger, A.L.; Amaral, L.A.N.; Glass, L.; Hausdorff, J.M.; Ivanov, P.C.; Mark, R.G.; Mietus, J.E.; Moody, G.B.; Peng, C.K.; Stanley, H.E. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation 2000, 101, e215–e220. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  22. Electrophysiology, Task Force of the European Society of Cardiology the North American Society of Pacing. Heart rate variability: Standards of measurement, physiological interpretation, and clinical use. Circulation 1996, 93, 1043–1065. [Google Scholar] [CrossRef] [Green Version]
  23. Pincus, S. Approximate entropy (ApEn) as a complexity measure. Chaos Interdiscip. J. Nonlinear Sci. 1995, 5, 110–117. [Google Scholar] [CrossRef] [PubMed]
  24. Zhang, Z.; Chen, Z.; Zhou, Y.; Du, S.H.; Zhang, Y.; Mei, T.; Tian, X.H. Construction of rules for seizure prediction based on approximate entropy. Clin. Neurophysiol. 2014, 125, 1959–1966. [Google Scholar] [CrossRef] [PubMed]
  25. Yoo, C.S.; Yi, S.H. Effects of detrending for analysis of heart rate variability and applications to the estimation of depth of anesthesia. J. Korean Phys. Soc. 2004, 44, 561. [Google Scholar]
  26. Pham, T.D. Time-shift multiscale entropy analysis of physiological signals. Entropy 2017, 19, 257. [Google Scholar] [CrossRef]
  27. Costa, M.; Peng, C.K.; Goldberger, A.L.; Hausdorff, J.M. Multiscale entropy analysis of human gait dynamics. Phys. A Stat. Mech. Appl. 2003, 330, 53–60. [Google Scholar] [CrossRef]
  28. Pincus, S.M.; Gladstone, I.M.; Ehrenkranz, R.A. A regularity statistic for medical data analysis. J. Clin. Monit. 1991, 7, 335–345. [Google Scholar] [CrossRef]
  29. Chen, W.; Wang, Z.; Xie, H.; Yu, W. Characterization of surface EMG signal based on fuzzy entropy. IEEE Trans. Neural Syst. Rehabil. Eng. 2007, 15, 266–272. [Google Scholar] [CrossRef]
  30. Chen, W.; Zhuang, J.; Yu, W.; Wang, Z. Measuring complexity using fuzzyen, apen, and sampen. Med Eng. Phys. 2009, 31, 61–68. [Google Scholar] [CrossRef]
  31. Bandt, C.; Pompe, B. Permutation entropy: A natural complexity measure for time series. Phys. Rev. Lett. 2002, 88, 174102. [Google Scholar] [CrossRef]
  32. Webber, C.L., Jr.; Marwan, N. Recurrence Quantification Analysis; Springer: Cham, Switzerland, 2006. [Google Scholar]
  33. Eckmann, J.P.; Kamphorst, S.O.; Ruelle, D. Recurrence Plots of Dynamical Systems. Europhys. Lett. 1987, 4, 17. [Google Scholar] [CrossRef] [Green Version]
  34. Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.Y. Lightgbm: A highly efficient gradient boosting decision tree. Advances in Neural Information Processing Systems. 2017; pp. 3146-3154. In Advances in Neural Information Processing Systems; Curran Associates Inc.: Red Hook, NY, USA.
  35. Chen, T.; Guestrin, C. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd ACM Sigkdd International Conference on Knowledge Discovery and Data Mining, ACM, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar]
  36. Landis, J.R.; Koch, G.G. The measurement of observer agreement for categorical data. Biometrics 1977, 33, 159–174. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Flow diagram of automatic sleep staging mechanism.
Figure 1. Flow diagram of automatic sleep staging mechanism.
Entropy 23 00116 g001
Figure 2. Multimodal sleep staging.
Figure 2. Multimodal sleep staging.
Entropy 23 00116 g002
Figure 3. The ability of the model to classify data of different diseases.
Figure 3. The ability of the model to classify data of different diseases.
Entropy 23 00116 g003
Table 1. Subject’s personal information.
Table 1. Subject’s personal information.
PathologyMaleFemaleAgeIdentification Number
No pathology1328–35n2, n3, n5, n11
Nocturnal frontal lobe Epilepsy5514–41nfle1–nfle10
Insomnia1447–64ins2, ins5–ins8
REM behavior disorder7170–82ins2–ins9
Table 2. The symbols and meanings of time-domain features.
Table 2. The symbols and meanings of time-domain features.
NameMeaningFormula
Med_PPGmedian M e d i a n   ( Z i )
Max_PPGmaximum value M a x   ( Z i )
Min_PPGminimum value M i n   ( Z i )
Dif_PPGdifference between the maximum and the minimum M a x   ( Z i ) M i n   ( Z i )
Var_PPGvariance 1 n j = 0 n 1   ( Z i j Z i ¯ ) 2
Ske_PPGCoefficient of skewness E [ Z i j m r ) 3
Kur_PPGCoefficient of kurtosis E [ Z i j m r ) 4
Mean_PPGmean value 1 n j = 0 n 1 Z i j
En1st_PPGComentropy of first order difference C o m e n t r o p y 1 s t
En2nd_PPGComentropy of Second order difference C o m e n t r o p y 2 n d
En1st_2nd_PPGComentropy of first-order difference divided by entropy of second-order difference C o m e n t r o p y 1 s t C o m e n t r o p y 2 n d
Table 3. Summary of photoplethysmography (PPG) features.
Table 3. Summary of photoplethysmography (PPG) features.
CategoryNameNumber
Time domainMad_PPG, Max_PPG, Min_PPG,
Dif_PPG, Var_PPG, Ske_PPG,
Kur_PPG, Mean_PPG, En1st_PPG, En2st_ PPG, En1st_2st_PPG
11
Frequency domainLF_power, TLF_power, HF_power, MF_power4
Nonlinear analysis ApEn , SampEn , FuzzyEn , PerEn ,   D E T , Recurrence Rate6
In total 21
Table 4. Confounding matrix and evaluation index of multiple sleep stages.
Table 4. Confounding matrix and evaluation index of multiple sleep stages.
3-Class
Predicted result by the proposed method
Clinical analysis result WNREMREMPrecisionRecallF1-score
W34236140.820.870.84
NREM51353140.850.840.85
REM26243400.920.870.90
Accuracy: 0.8625Cohen’s kappa statistic k: 0.79
4-Class
Predicted result by the proposed method
Clinical analysis result WLSSWSREMPrecisionRecallF1-score
W360252060.810.880.84
LS3627640340.700.720.71
SWS2548308400.780.730.75
REM2143292890.860.760.77
Accuracy: 0.7706Cohen’s kappa statistic k: 0.69
5-Class
Predicted result by the proposed method
Clinical analysis result WN1N2N3REMPrecisionRecallF1-score
W19311114110.780.840.81
N11138716220.750.400.52
N213415621100.680.760.72
N312139156130.680.710.69
REM18717231600.740.710.73
Accuracy: 0.7217Cohen’s kappa statistic k: 0.64
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhao, X.; Sun, G. A Multi-Class Automatic Sleep Staging Method Based on Photoplethysmography Signals. Entropy 2021, 23, 116. https://doi.org/10.3390/e23010116

AMA Style

Zhao X, Sun G. A Multi-Class Automatic Sleep Staging Method Based on Photoplethysmography Signals. Entropy. 2021; 23(1):116. https://doi.org/10.3390/e23010116

Chicago/Turabian Style

Zhao, Xiangfa, and Guobing Sun. 2021. "A Multi-Class Automatic Sleep Staging Method Based on Photoplethysmography Signals" Entropy 23, no. 1: 116. https://doi.org/10.3390/e23010116

APA Style

Zhao, X., & Sun, G. (2021). A Multi-Class Automatic Sleep Staging Method Based on Photoplethysmography Signals. Entropy, 23(1), 116. https://doi.org/10.3390/e23010116

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop