25 February 2022 in IEEE Transactions on Instrumentation and Measurement
Automatic sleep stage classification has gained much attention in recent researches. Various classification algorithms have been proposed for automatic sleep staging, including deep neural networks and traditional machine learning models. However, the output of those models has unreasonable sleep stage transitions, as temporal dependency of sleep stage label of adjacent data segment is ignored. In this paper, we propose a novel sleep stage contextual refinement algorithm based on conditional random fields (CRFs). The algorithm works as a post-processing step to rectify the hypnogram produced by sleep staging pre-classifiers. Unreasonable sleep stage transitions can be corrected via our algorithm to further improve the classification performance. We utilize CNN based, CNN-LSTM based, random forest, and two existing sleep staging models UTSN and UTSN-L as pre-classifiers. Our algorithm is evaluated on three sleep datasets, Sleep-EDF-20, DRM-SUB and SVUH-UCD datasets. Results demonstrate our CRF contextual refinement algorithm can improve the classification performance of five sleep staging pre-classifiers, including overlapping based and non-overlapping based models, and the algorithm works both on healthy subjects and patients with sleep disorder. When using CNN as pre-classifiers, our algorithm improves the overall accuracy and macro F1-score by 2.5%, 4.7% on Sleep-EDF-20, by 3.6%, 6.6% on DRM-SUB, and by 5.5%, 7.8% on SVUH-UCD dataset.
25 September 2020 in IEEE Access
Sleep arousals is a type of sleep disorder, which refers to the phenomenon of waking up and falling asleep again. Monitoring the number and duration of sleep arousals is a crucial aspect of sleep quality assessment. The detection of sleep arousals caused by apnea is relatively easy, and existing methods have been able to give high quality results. However, sleep arousals caused by non-apnea remains an ongoing challenge, and this is also the subject of PhysioNet Computing in Cardiology Challenge 2018. We proposed a non-apnea sleep arousals automatic detection algorithm based on polysomnography (PSG) data. We took 8 most representative signals selected from the 13 channels of PSG signals as input, conducted preliminary classification through multiple convolutional neural networks, and then sent the initial results to the random forest module for ensemble voting, and obtained the final judgment. We carried out some experiments using the CinC 2018 database. We grouped the original dataset reasonably, and based on each group of data, we trained a corresponding CNN, ensuring the balance of positive and negative samples during the training. Our 4-fold cross validation results for the AUROC and AUPRC were 0.953 and 0.552, which were better than the results of the team which ranked first in the CinC 2018.