1.Automatic sleep staging based on power spectral density and random forest.
Journal of Biomedical Engineering 2023;40(2):280-285
The method of using deep learning technology to realize automatic sleep staging needs a lot of data support, and its computational complexity is also high. In this paper, an automatic sleep staging method based on power spectral density (PSD) and random forest is proposed. Firstly, the PSDs of six characteristic waves (K complex wave, δ wave, θ wave, α wave, spindle wave, β wave) in electroencephalogram (EEG) signals were extracted as the classification features, and then five sleep states (W, N1, N2, N3, REM) were automatically classified by random forest classifier. The whole night sleep EEG data of healthy subjects in the Sleep-EDF database were used as experimental data. The effects of using different EEG signals (Fpz-Cz single channel, Pz-Oz single channel, Fpz-Cz + Pz-Oz dual channel), different classifiers (random forest, adaptive boost, gradient boost, Gaussian naïve Bayes, decision tree, K-nearest neighbor), and different training and test set divisions (2-fold cross-validation, 5-fold cross-validation, 10-fold cross-validation, single subject) on the classification effect were compared. The experimental results showed that the effect was the best when the input was Pz-Oz single-channel EEG signal and the random forest classifier was used, no matter how the training set and test set were transformed, the classification accuracy was above 90.79%. The overall classification accuracy, macro average F1 value, and Kappa coefficient could reach 91.94%, 73.2% and 0.845 respectively at the highest, which proved that this method was effective and not susceptible to data volume, and had good stability. Compared with the existing research, our method is more accurate and simpler, and is suitable for automation.
Humans
;
Random Forest
;
Bayes Theorem
;
Sleep Stages
;
Sleep
;
Electroencephalography/methods*
2.Automatic sleep staging algorithm for stochastic depth residual networks based on transfer learning.
Yunzhi TIAN ; Qiang ZHOU ; Wan LI
Journal of Biomedical Engineering 2023;40(2):286-294
The existing automatic sleep staging algorithms have the problems of too many model parameters and long training time, which in turn results in poor sleep staging efficiency. Using a single channel electroencephalogram (EEG) signal, this paper proposed an automatic sleep staging algorithm for stochastic depth residual networks based on transfer learning (TL-SDResNet). Firstly, a total of 30 single-channel (Fpz-Cz) EEG signals from 16 individuals were selected, and after preserving the effective sleep segments, the raw EEG signals were pre-processed using Butterworth filter and continuous wavelet transform to obtain two-dimensional images containing its time-frequency joint features as the input data for the staging model. Then, a ResNet50 pre-trained model trained on a publicly available dataset, the sleep database extension stored in European data format (Sleep-EDFx) was constructed, using a stochastic depth strategy and modifying the output layer to optimize the model structure. Finally, transfer learning was applied to the human sleep process throughout the night. The algorithm in this paper achieved a model staging accuracy of 87.95% after conducting several experiments. Experiments show that TL-SDResNet50 can accomplish fast training of a small amount of EEG data, and the overall effect is better than other staging algorithms and classical algorithms in recent years, which has certain practical value.
Humans
;
Sleep Stages
;
Algorithms
;
Sleep
;
Wavelet Analysis
;
Electroencephalography/methods*
;
Machine Learning
3.Automatic sleep staging model based on single channel electroencephalogram signal.
Haowei ZHANG ; Zhe XU ; Chengmei YUAN ; Caojun JI ; Ying LIU
Journal of Biomedical Engineering 2023;40(3):458-464
Sleep staging is the basis for solving sleep problems. There's an upper limit for the classification accuracy of sleep staging models based on single-channel electroencephalogram (EEG) data and features. To address this problem, this paper proposed an automatic sleep staging model that mixes deep convolutional neural network (DCNN) and bi-directional long short-term memory network (BiLSTM). The model used DCNN to automatically learn the time-frequency domain features of EEG signals, and used BiLSTM to extract the temporal features between the data, fully exploiting the feature information contained in the data to improve the accuracy of automatic sleep staging. At the same time, noise reduction techniques and adaptive synthetic sampling were used to reduce the impact of signal noise and unbalanced data sets on model performance. In this paper, experiments were conducted using the Sleep-European Data Format Database Expanded and the Shanghai Mental Health Center Sleep Database, and achieved an overall accuracy rate of 86.9% and 88.9% respectively. When compared with the basic network model, all the experimental results outperformed the basic network, further demonstrating the validity of this paper's model, which can provide a reference for the construction of a home sleep monitoring system based on single-channel EEG signals.
China
;
Sleep Stages
;
Sleep
;
Electroencephalography
;
Databases, Factual
4.Role of Cannabinoid CB1 Receptor in Object Recognition Memory Impairment in Chronically Rapid Eye Movement Sleep-deprived Rats.
Kaveh SHAHVEISI ; Seyedeh MARZIYEH HADI ; Hamed GHAZVINI ; Mehdi KHODAMORADI
Chinese Medical Sciences Journal 2023;38(1):29-37
Objective We aimed to investigate whether antagonism of the cannabinoid CB1 receptor (CB1R) could affect novel object recognition (NOR) memory in chronically rapid eye movement sleep-deprived (RSD) rats.Methods The animals were examined for recognition memory following a 7-day chronic partial RSD paradigm using the multiple platform technique. The CB1R antagonist rimonabant (1 or 3 mg/kg, i.p.) was administered either at one hour prior to the sample phase for acquisition, or immediately after the sample phase for consolidation, or at one hour before the test phase for retrieval of NOR memory. For the reconsolidation task, rimonabant was administered immediately after the second sample phase.Results The RSD episode impaired acquisition, consolidation, and retrieval, but it did not affect the reconsolidation of NOR memory. Rimonabant administration did not affect acquisition, consolidation, and reconsolidation; however, it attenuated impairment of the retrieval of NOR memory induced by chronic RSD.Conclusions These findings, along with our previous report, would seem to suggest that RSD may affect different phases of recognition memory based on its duration. Importantly, it seems that the CB1R may, at least in part, be involved in the adverse effects of chronic RSD on the retrieval, but not in the acquisition, consolidation, and reconsolidation, of NOR memory.
Rats
;
Animals
;
Rimonabant/pharmacology*
;
Memory
;
Sleep, REM
;
Receptors, Cannabinoid
;
Cannabinoids/pharmacology*
5.Automated detection of sleep-arousal using multi-scale convolution and self-attention mechanism.
Fan LI ; Yan XU ; Bin ZHANG ; Fengyu CONG
Journal of Biomedical Engineering 2023;40(1):27-34
In clinical, manually scoring by technician is the major method for sleep arousal detection. This method is time-consuming and subjective. This study aimed to achieve an end-to-end sleep-arousal events detection by constructing a convolutional neural network based on multi-scale convolutional layers and self-attention mechanism, and using 1 min single-channel electroencephalogram (EEG) signals as its input. Compared with the performance of the baseline model, the results of the proposed method showed that the mean area under the precision-recall curve and area under the receiver operating characteristic were both improved by 7%. Furthermore, we also compared the effects of single modality and multi-modality on the performance of the proposed model. The results revealed the power of single-channel EEG signals in automatic sleep arousal detection. However, the simple combination of multi-modality signals may be counterproductive to the improvement of model performance. Finally, we also explored the scalability of the proposed model and transferred the model into the automated sleep staging task in the same dataset. The average accuracy of 73% also suggested the power of the proposed method in task transferring. This study provides a potential solution for the development of portable sleep monitoring and paves a way for the automatic sleep data analysis using the transfer learning method.
Sleep
;
Sleep Stages
;
Arousal
;
Data Analysis
;
Electroencephalography
6.Study on the method of polysomnography sleep stage staging based on attention mechanism and bidirectional gate recurrent unit.
Ying LIU ; Changle HE ; Chengmei YUAN ; Haowei ZHANG ; Caojun JI
Journal of Biomedical Engineering 2023;40(1):35-43
Polysomnography (PSG) monitoring is an important method for clinical diagnosis of diseases such as insomnia, apnea and so on. In order to solve the problem of time-consuming and energy-consuming sleep stage staging of sleep disorder patients using manual frame-by-frame visual judgment PSG, this study proposed a deep learning algorithm model combining convolutional neural networks (CNN) and bidirectional gate recurrent neural networks (Bi GRU). A dynamic sparse self-attention mechanism was designed to solve the problem that gated recurrent neural networks (GRU) is difficult to obtain accurate vector representation of long-distance information. This study collected 143 overnight PSG data of patients from Shanghai Mental Health Center with sleep disorders, which were combined with 153 overnight PSG data of patients from the open-source dataset, and selected 9 electrophysiological channel signals including 6 electroencephalogram (EEG) signal channels, 2 electrooculogram (EOG) signal channels and a single mandibular electromyogram (EMG) signal channel. These data were used for model training, testing and evaluation. After cross validation, the accuracy was (84.0±2.0)%, and Cohen's kappa value was 0.77±0.50. It showed better performance than the Cohen's kappa value of physician score of 0.75±0.11. The experimental results show that the algorithm model in this paper has a high staging effect in different populations and is widely applicable. It is of great significance to assist clinicians in rapid and large-scale PSG sleep automatic staging.
Humans
;
Polysomnography
;
China
;
Sleep Stages
;
Sleep
;
Algorithms
7.Rapid Eye Movement Sleep Consolidates Social Memory.
Jingkai FAN ; Fang ZHOU ; Junqiang ZHENG ; Han XU
Neuroscience Bulletin 2023;39(10):1598-1600
8.Dopamine Control of REM Sleep and Cataplexy.
Chujun ZHANG ; Luyan HUANG ; Min XU
Neuroscience Bulletin 2022;38(12):1617-1619
9.Intelligence-aided diagnosis of Parkinson's disease with rapid eye movement sleep behavior disorder based on few-channel electroencephalogram and time-frequency deep network.
Weifeng ZHONG ; Zhi LI ; Yan LIU ; Chenchen CHENG ; Yue WANG ; Li ZHANG ; Shulan XU ; Xu JIANG ; Jun ZHU ; Yakang DAI
Journal of Biomedical Engineering 2021;38(6):1043-1053
Aiming at the limitations of clinical diagnosis of Parkinson's disease (PD) with rapid eye movement sleep behavior disorder (RBD), in order to improve the accuracy of diagnosis, an intelligent-aided diagnosis method based on few-channel electroencephalogram (EEG) and time-frequency deep network is proposed for PD with RBD. Firstly, in order to improve the speed of the operation and robustness of the algorithm, the 6-channel scalp EEG of each subject were segmented with the same time-window. Secondly, the model of time-frequency deep network was constructed and trained with time-window EEG data to obtain the segmentation-based classification result. Finally, the output of time-frequency deep network was postprocessed to obtain the subject-based diagnosis result. Polysomnography (PSG) of 60 patients, including 30 idiopathic PD and 30 PD with RBD, were collected by Nanjing Brain Hospital Affiliated to Nanjing Medical University and the doctor's detection results of PSG were taken as the gold standard in our study. The accuracy of the segmentation-based classification was 0.902 4 in the validation set. The accuracy of the subject-based classification was 0.933 3 in the test set. Compared with the RBD screening questionnaire (RBDSQ), the novel approach has clinical application value.
Electroencephalography
;
Humans
;
Intelligence
;
Parkinson Disease/diagnosis*
;
Polysomnography
;
REM Sleep Behavior Disorder/diagnosis*
10.The accuracy and influencing factors of sleep staging based on single-channel EEG via a deep neural network.
Xiang GAO ; Yan Ru LI ; Guo Dong LIN ; Ming Kai XU ; Xiao Qing ZHANG ; Yun Han SHI ; Wen XU ; Xing Jun WANG ; De Min HAN
Chinese Journal of Otorhinolaryngology Head and Neck Surgery 2021;56(12):1256-1262
Objective: To investigate theaccuracy of artificial intelligence sleep staging model in patients with habitual snoring and obstructive sleep apnea hypopnea syndrome (OSAHS) based on single-channel EEG collected from different locations of the head. Methods: The clinical data of 114 adults with habitual snoring and OSAHS who visited to the Sleep Medicine Center of Beijing Tongren Hospital from September 2020 to March of 2021 were analyzed retrospectively, including 93 males and 21 females, aging from 20 to 64 years old. Eighty-five adults with OSAHS and 29 subjects with habitual snoring were included. Sleep staging analysis was performed on the single lead EEG signals of different locations (FP2-M1, C4-M1, F3-M2, ROG-M1, O1-M2) using the deep learning segmentation model trained by previous data. Manual scoring results were used as the gold standard to analyze the consistency rate of results and the influence of different categories of disease. Results: EEG data in 124 747 30-second epochs were taken as the testing dataset. The model accuracy of distinguishing wake/sleep was 92.3%,92.6%,93.5%,89.2% and 83.0% respectively,based on EEG channel Fp2-M1, C4-M1, F3-M2, REOG-M1 or O1-M2. The mode accuracy of distinguishing wake/REM/NREM and wake/REM/N1-2/SWS , was 84.7% and 80.1% respectively based on channel Fp2-M1, which located in forehead skin. The AHI calculated based on total sleep time derived from the model and gold standard were 13.6[4.30,42.5] and 14.2[4.8,42.7], respectively (Z=-2.477, P=0.013), and the kappa coefficient was 0.977. Conclusions: The autonomic sleep staging via a deep neural network model based on forehead single-channel EEG (Fp2-M1) has a good consistency in the identification sleep stage in a population with habitual snoring and OSAHS with different categories. The AHI calculated based on this model has high consistency with manual scoring.
Adult
;
Artificial Intelligence
;
Electroencephalography
;
Female
;
Humans
;
Male
;
Middle Aged
;
Neural Networks, Computer
;
Retrospective Studies
;
Sleep
;
Sleep Stages
;
Young Adult

Result Analysis
Print
Save
E-mail