A Construction Method for Automatic Sleep Staging and Use Thereof
20220323000 · 2022-10-13
Assignee
Inventors
Cpc classification
A61B5/374
HUMAN NECESSITIES
A61B5/7246
HUMAN NECESSITIES
A61B5/4809
HUMAN NECESSITIES
A61B5/7264
HUMAN NECESSITIES
International classification
Abstract
The present invention provides a construction method for automatic sleep staging and use thereof. The construction method for automatic sleep staging comprises: acquiring a plurality of sets of PSG signals and manual sleep information of PSG signals; pre-analyzing to decompose the original time series in the PSG signals into a set of pseudo-intrinsic mode functions (pseudo-IMFs); assembling the pseudo-IMFs to obtain m sets of time series; analyzing by multiscale entropy (MSE), to calculate the entropy values of the m sets of time series on n coarse-graining timescales, thus obtaining an entropy matrix with m*n elements; establishing a correlation coefficient matrix between the levels of consciousness and the elements in the entropy matrix, and finding the coarse-graining timescale and filtering timescale corresponding to the most significantly positively correlated element or the most significantly negatively correlated element in the correlation coefficient matrix; and calculating the entropy value on the coarse-graining timescale and filtering timescale corresponding to the most significantly positively correlated element or the most significantly negatively correlated element, and assessing the sleep state according to the entropy value.
Claims
1. A construction method for automatic sleep staging, wherein it comprises the following steps: acquiring a plurality of sets of polysomnography (PSG) signals and manual sleep information of PSG signals; pre-analyzing to decompose the original time series of each stage in the PSG signals into a set of intrinsic mode functions (IMFs) or pseudo-intrinsic mode functions (pseudo-IMFs); assembling the IMFs or pseudo-IMFs to obtain m sets of time series; analyzing by multiscale entropy (MSE), to calculate the entropy values of the in sets of time series on n coarse-graining timescales, thus obtaining an entropy matrix with m*n elements; defining the level of consciousness according to the manual sleep information; establishing a correlation coefficient matrix between the level of consciousness and the elements in the entropy matrix, and finding the coarse-graining timescale and filtering timescale corresponding to the most significantly positively correlated element or the most significantly negatively correlated element in the correlation coefficient matrix, wherein the sampling timescale is coarse-graining timescale; and calculating the entropy value on the coarse-graining timescale and filtering timescale corresponding to the most significantly positively correlated element or the most significantly negatively correlated element, and assessing the sleep state according to the entropy value.
2. The construction method for automatic sleep staging of claim 1, wherein the original time series of each stage in the PSG signals is decomposed into a set of IMFs using the mode decomposition method, and the mode decomposition method is one of the following methods: an empirical mode decomposition method, an ensemble empirical mode decomposition method, and a conjugate adaptive dyadic masking empirical mode decomposition method.
3. The construction method for automatic sleep staging of claim 1, wherein the original time series of each stage in the PSG signals is decomposed into a set of pseudo-IMFs using a set of high-pass filters, and the cut-off frequencies of the high-pass filters are 32 Hz, 16 Hz, 8 Hz, 4 Hz, 2 Hz, and 1 Hz, respectively.
4. The construction method for automatic sleep staging of claim 1, wherein the PSG signals comprise at least one of the following Electroencephalogram (EEG) signals: Fp4-A1, F4-A1, C4-A1, P4-A1, and O2-A1.
5. The construction method for automatic sleep staging of claim 1, wherein the level of consciousness is defined according to the manual sleep information, and the level of consciousness is used to reflect the degree of wakefulness during sleep, wherein a wake stage is quantified as 6, a rapid eye movement (REM) stage is quantified as 5, a non-rapid eye movement 1 (NREM1) stage is quantified as 4, an NREM2 stage is quantified as 3, an NREM3 stage is quantified as 2, and an NREM4 stage is quantified as 1.
6. The construction method for automatic sleep staging of claim 1, wherein the correlation coefficient matrix between the level of consciousness and the elements in the entropy matrix is established based on Pearson coefficient.
7. The construction method for automatic sleep staging of claim 1, wherein when assessing the sleep state according to the entropy value on the coarse-graining timescale and filtering timescale corresponding to the most significantly positively correlated element or the most significantly negatively correlated element, the threshold between different sleep states is calculated using the artificial intelligence (AI) method.
8. A method for automatic sleep staging, wherein it is a use of the method of claim 1, and it comprises the following steps: acquiring PSG signals of a subject; decomposing the PSG signals of the subject into original time series of a plurality of stages; decomposing the original time series of a stage into a set of IMFs or pseudo-IMFs; calculating the entropy value of the subject on the coarse-graining timescale and filtering timescale corresponding to the most significantly positively correlated element or the most significantly negatively correlated element of claim 1; and assessing the sleep state of the subject at the stage according to the entropy value.
9. The method for automatic sleep staging of claim 8, wherein the PSG signals comprise at least one of the following Electroencephalogram (EEG) signals: Fp4-A1, F4-A1, C4-A1, P4-A1, and O2-A1.
10. The method for automatic sleep staging of claim 8, wherein when decomposing the PSG signals of the subject into original time series of a plurality of stages, the time of each stage is 30 seconds.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
DETAILED DESCRIPTION OF THE INVENTION
[0029] In the following, with the accompanying drawings and preferred embodiments of the present invention, the technical means adopted by the present invention to achieve the intended purposes of the invention are further described.
[0030]
[0031] Step 120, decompose the original time series of each stage in the PSG signals into a set of IMFs or pseudo-IMFs. In the PSG recordings, sleep is divided into 30 seconds per stage, and sleep states are then analyzed. Therefore, when we establish an automatic sleep staging method in the present invention, we also analyze a stage of 30 seconds, and decompose the original time series of each stage in the PSG signals into a set of IMFs or pseudo-IMFs. The essence of the pre-analysis is to decompose the original time series into a set of independent narrow bands and detrended zero-mean IMFs or pseudo-IMFs with dyadic frequency bands.
[0032] This step is essential, for the entropy is computed from probability density function of the data. But the probability density can only be performed on data with no trend. When decomposing the original time series, the mode decomposition method can be used. EMD is an ideal dyadic filter bank to adaptively decompose a nonlinear time series into a set of IMFs. The mode decomposition method refers to any mode decomposition method that can obtain the IMF components in the present invention, such as empirical mode decomposition (EMD), ensemble empirical mode decomposition (EEMD) or conjugate adaptive dyadic masking empirical mode decomposition (CADM-EMD).
[0033] In the present invention, we also provide an alternative method to overcome the shortcomings of mode decomposition method for sleep staging. The mode decomposition method used for sleep staging has the following shortcomings: Firstly, the mode-mixing problem is hard to be totally resolved unless expensive computational and carefully designed masking methods are used in the enhanced algorithms. Otherwise, the resulting IMFs might have mis-matched intrinsic frequency bands of different IMFs in different sleep stages. For example, the distribution of instantaneous frequency of IMF 1 from an EEG signal recorded on a sleep stage of NREM1 is different from that of EEG signal recorded on a sleep stage of NREM4. Secondly, it is not easy to align the resulting frequency bands from the IMFs with the commonly defined bands for EEG signals. For example, the commonly defined delta band is for 0.5 to 4 Hz, theta band for 4 to 8 Hz, alpha band for 8 to 16 Hz, beta band for 16 to 30 Hz, and gamma band for 30 to 60 Hz. These frequency bands are similar but not exactly the same. To facilitate comparisons with the commonly defined frequency bands, we can simulate a predetermined (but not adaptive) filter bank to extract a set of pseudo-IMF functions from an EEG signal in an alternative method of EMD. And thirdly, for those unfamiliar with EMD, the filter method is easier to implement. In the alternative method of the present invention, a low-pass filter with cutoff frequency of 64 Hz is used to remove the high-frequency noise from the time series firstly. Then, a set of high-order high-pass filters with cutoff frequencies of 32, 16, 8, 4, 2, 1 Hz in sequence are used to extract the first six IMFs. Theoretically, the frequency bands of first six IMFs decomposed by the alternative method are 32-64 Hz (similar to gamma band), 16-32 Hz (beta band), 8-16 Hz (alpha band), 4-8 Hz (theta band), 2-4 Hz (delta band), and 1-2 Hz (low delta band), respectively, as shown in Table 1.
TABLE-US-00001 TABLE 1 Filtered component Frequency range Frequency band pseudo-IMF1 32-64 Hz Gamma band (γ) pseudo-IMF2 16-32 Hz Beta band (β) pseudo-IMF3 8-16 Hz Alpha band (α) pseudo-IMF4 4-8 Hz Theta band (θ) pseudo-IMF5 2-4 Hz Delta band (δ) pseudo-IMF6 1-2 Hz Low delta band (Lδ)
[0034] By using the pseudo-IMFs obtained by the filter method, the problem that the frequency bands from the IMFs are not easy to align with the general EEG frequency bands can be solved well.
[0035] Step 121 is assembling the decomposed IMFs or pseudo-IMFs to obtain m sets of time series. These sets of filtered time series can be reconstructed using the various assembles of the IMFs or pseudo-IMFs into a new assembly of m-set of detrended zero-mean time series, which present the original data from different perspective points, such as only the high frequency components, or any specific selected frequency bands. As shown in
[0036] Step 130 is analyzing by multiscale entropy (MSE), to calculate the entropy values of the m sets of time series obtained in step 121 on n coarse-graining timescales respectively, thus obtaining an entropy matrix with m*n elements. As shown in
[0037] Step 140 is establishing a correlation coefficient matrix between the level of consciousness and the elements in the entropy matrix, and finding the coarse-graining timescale and filtering timescale corresponding to the most significantly positively correlated element or the most significantly negatively correlated element in the correlation coefficient matrix. The level of consciousness is defined according to the manual sleep information of PSG signals. In order to establish the relationship between the level of consciousness and the entropy value, firstly define the discrete consciousness level (DCL) in sleep according to the manual scored sleep stages, and the level of consciousness is used to reflect the degree of wakefulness during sleep. A wake stage representing the highest level of consciousness is quantified as 6, a rapid eye movement (REM) stage is quantified as 5, an NREM1 stage is quantified as 4, an NREM2 stage is quantified as 3, an NREM3 stage is quantified as 2, and an NREM4 stage representing the lowest level of consciousness is quantified as 1. On average for each subject, there will be nearly 1000 epochs over a night of sleep. This formed a time series with the above defined magnitude designated as DCL series. Next, correlation between DCL series and the time series of each iMSE matrix element was examined. We found that some elements are positively correlated to the DCL in sleep, and some of the others are negatively correlated based on Pearson correlation coefficient. The correlation coefficient matrixes between the DCL and the individual elements in five entropy matrixes for five channels of EEG recordings are shown in
[0038] Step 150 is calculating the entropy value on the coarse-graining timescale and filtering timescale corresponding to the most significantly positively correlated element or the most significantly negatively correlated element, and determining the sleep state according to the entropy value. In the present invention, one can also select the entropy values of several sampling scale and filtering timescale positions near the most significantly positively correlated element or the most significantly negatively correlated element to increase the adaptability of this automatic sleep staging method.
[0039] In order to verify whether the value of the discrete consciousness level is reasonable, we studied whether the complexity measure carried out in the intrinsic multi-scale entropy is consistent with the value of the discrete consciousness level. It should be pointed out that the aforementioned discrete level of consciousness (DCL) with values from 1 to 6 according to the manual sleep stages is not a linear scale. However, it is certainly true that the consciousness level of NREM3 is theoretically higher than that of NREM4, but there is no linear relationship between the consciousness levels of NREM4 and NREM3. It is logic to define the consciousness of wake stage as the highest level in sleep cycle, and the consciousness levels for four NREM sleep stages should be in a sequence of NREM1>NREM2>NREM3>NREM4. Therefore, PEDCL is defined as a practical entropy measure with positive correlation to the consciousness level in sleep. Now, it is critical to verify whether the complexity measure via iMSE agrees with this consciousness designation. The results of an intra-subject statistical comparison for six sleep stages are given in
[0040] Through the present invention, we can establish an automatic sleep staging method, which only needs to measure the entropy value of a subject on the optimal coarse-graining timescale and filtering timescale, that is, automatic sleep staging can be performed through the entropy value. This method will greatly reduce the amount of calculation of sleep staging with MSE, and further improve the speed of automatic sleep staging.
[0041] As shown in
[0042] In order to overcome individual differences and different threshold values between different sleep states, the present invention also provides an artificial intelligence method for assisting sleep staging. This artificial intelligence method uses a two-layer feed-forward pattern-recognition neural network model in the Matlab toolbox. A total of 200 entropy values out of the five entropy matrixes for five different EEG channels was picked as the inputs of the neural network model, and four different sleep stages were defined as slow-wave sleep (SWS, including NREM3 and NREM4), light sleep (NREM1 and NREM2), REM, and wake stages for the training target of model. The performance of automatic sleep staging can be presented in the confusion matrix as shown in Table 2. The corrective percentages for four classes are 88.6, 85.8, 84.2, and 81.8% as the diagonal elements in the confusion matrix respectively. The consistency of the above four state classifications and target classifications are all greater than 80%. Therefore, the automatic sleep staging method provided by the present invention has a good accuracy rate, and the output results are highly matched with the manual scored sleep states.
TABLE-US-00002 TABLE 2 Target class Output class Slow wave sleep Light sleep REM Wake Slow wave sleep 88.6% 6.0% 0.4% 0.9% Light sleep 11.1% 85.8% 14.5% 6.9% REM 2.3% 7.4% 84.2% 10.4% Wake 0.0% 0.9% 0.9% 81.8%
[0043] The above are only the preferred embodiments of the present invention, and do not limit the present invention in any form. Although the present invention has been disclosed as above in preferred embodiments, it is not intended to limit the present invention. Anyone who is familiar with the field, without departing from the scope of the technical solution of the present invention, can use the technical content disclosed above to make slight changes or modifications into equivalent embodiments with equivalent changes. Any simple modifications, equivalent changes and variations made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still fall within the scope of the technical solution of the present invention.