Sleep Apnea Detection Based on Auto-encoder and Hidden Markov Model
Qin Hengji1,2,3, Liu Guanzheng1,2,3#*
1(School of Biomedical Engineering,Sun Yat-sen University,Guangzhou 510006,China) 2(Key Laboratory of Sensing Technology and Biomedical Instrument of Guangdong Province,Guangzhou 510006,China) 3(Guangdong Provincial Engineering and Technology Centre of Advanced and Portable Medical Device,Guangzhou 510006,China)
Abstract:Obstructive sleep apnea (OSA) is prone to cardiovascular complications. As a gold standard for the diagnosis of sleep apnea,polysomnography is expensive and affects the sleep quality of patients. Because of the high coupling between heart and lung,electrocardiogram (ECG) signals are widely used in sleep apnea detection. However,most of the studies based on ECG signals focus on the design of artificial features,relying on the prior knowledge of experts. Methods based on deep learning can reduce human factors during feature extraction. In this study,we proposed a sleep apnea detection method based on auto-encoder and hidden Markov model (HMM). Firstly,a stacked sparse auto-encoder was used to perform semi-supervised feature learning directly from the RR interval sequence. Unsupervised learning was performed during the pre-training phase,and labels were then introduced for supervised learning during the fine-tuning phase. Then,a decision fusion classifier based on support vector machine (SVM) and artificial neural network (ANN) combined with HMM was constructed. HMM introduced the temporal dependence between segments. Decision fusion integrated the advantages between different classifiers. Experimental results based on the sleep data of 70 cases of all-night in PhysioNet′s apnea-ECG database showed that the accuracy,sensitivity and specificity of per-segment OSA detection was 84.7%,88.9% and 82.1% respectively,and per-subject detection accuracy was 100%. Compared with feature engineering,the feature extraction method based on auto-encoder could reduce the limitation of prior knowledge and make the feature extraction process more automatic and intelligent. In addition,compared with the single classifier,the decision fusion classifier not only improved the accuracy of per-segment OSA detection,but also alleviated the imbalance between sensitivity and specificity in detection results.
覃恒基, 刘官正. 基于自编码器和隐马尔可夫模型的睡眠呼吸暂停检测方法[J]. 中国生物医学工程学报, 2020, 39(4): 422-431.
Qin Hengji, Liu Guanzheng. Sleep Apnea Detection Based on Auto-encoder and Hidden Markov Model. Chinese Journal of Biomedical Engineering, 2020, 39(4): 422-431.
[1] Caples SM,Garcia-Touchard A,Somers VK.Sleep-disordered breathing and cardiovascular risk[J].Sleep,2007,30(3):291-303. [2] Cartwright R.Obstructive sleep apnea:A sleep disorder with major effects on health[J].Disease-a-Month,2001,47(4):109-147. [3] 郭柳,嵇学智,孙方清,等.多导睡眠监测(PSG)临床应用[J].中华现代耳鼻喉杂志,2005,2(3):109-110. [4] Thomas RJ,Mietus JE,Peng CK,et al.Differentiating obstructive from central and complex sleep apnea using an automated electrocardiogram-based method[J].Sleep,2007,30(12):1756-1769. [5] Babaeizadeh S,White DP,Pittman SD,et al.Automatic detection and quantification of sleep apnea using heart rate variability[J].Journal of Electrocardiology,2010,43(6):535-541. [6] Varon C,Caicedo A,Testelmans D,et al.A novel algorithm for the automatic detection of sleep apnea from single-lead ECG[J].IEEE Transactions on Biomedical Engineering,2015,62(9):2269-2278. [7] Sharma H,Sharma KK.An algorithm for sleep apnea detection from single-lead ECG using Hermite basis functions[J].Computers in Biology and Medicine,2016,77:116-124. [8] Song Changyue,Liu Kaibo,Zhang Xi,et al.An Obstructive sleep apnea detection approach using a discriminative hidden Markov model from ECG signals[J].IEEE Transactions on Biomedical Engineering,2016,63(7):1532-1542. [9] Bengio Y,Courville A,Vincent P.Representation learning:A review and new perspectives[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2013,35(8):1798-1828. [10] Cheriyadat AM.Unsupervised feature learning for aerial scene classification[J].IEEE Transactions on Geoscience and Remote Sensing,2014,52(1):439-451. [11] Zhang Yan,Zhang Erhu,Chen Wanjun.Deep neural network for halftone image classification based on sparse auto-encoder[J].Engineering Applications of Artificial Intelligence,2016,50(1):245-255. [12] Hinton G,Deng Li,Yu Dong,et al.Deep neural networks for acoustic modeling in speech recognition[J].IEEE Signal Processing Magazine,2012,29(6):82-97. [13] Olshausen BA,Field DJ.Emergence of simple-cell receptive field properties by learning a sparse code for natural images[J].Nature,1996,381(6583):607-609. [14] Xu L,Krzyzak A,Suen CY.Methods of combining multiple classifiers and their applications to handwriting recognition[J].IEEE Transactions on Systems,Man and Cybernetics,1992,22(3):418-435. [15] Penzel T,Moody GB,Mark RG,et al.The apnea-ECG database[C]//27th Annual Meeting of Computers in Cardiology.Cambridge:IEEE,2000:255-258. [16] Goldberger AL,Amaral LAN,Glass L,et al.PhysioBank,PhysioToolkit,and PhysioNet-Components of a new research resource for complex physiologic signals[J].Circulation,2000,101(23):E215-E220. [17] Pan J,Tompkins WJ.A real-time QRS detection algorithm[J].IEEE Transactions on Biomedical Engineering,1985,32(3):230-236. [18] Chen Lili,Zhang Xi,Song Changyue.An automatic screening approach for obstructive sleep apnea diagnosis based on single-lead electrocardiogram[J].IEEE Transactions on Automation Science and Engineering,2015,12(1):106-115. [19] Shin H,Orton MR,Collins DJ,et al.Stacked autoencoders for unsupervised feature learning and multiple organ detection in a pilot study using 4D patient data[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2013,35(8):1930-1943. [20] Raina R,Battle A,Lee H,et al.Self-taught learning:transfer learning from unlabeled data[C]//International Conference on Machine Learning.Corvallis:International Machine Learning Society,2007:759-766. [21] Lee G,Rubinfeld I,Syed Z.Adapting surgical models to individual hospitals using transfer learning[C]//The 12th IEEE International Conference on Data Mining Workshops.Brussels:IEEE,2012:57-63. [22] Hoa Dinh N,Wilkins BA,Cheng Qi,et al.An online sleep apnea detection method based on recurrence quantification analysis[J].IEEE Journal of Biomedical and Health Informatics,2014,18(4):1285-1293. [23] Al-Angari HM,Sahakian AV.Use of sample entropy approach to study heart rate variability in obstructive sleep apnea syndrome[J].IEEE Transactions on Biomedical Engineering,2007,54(10):1900-1904. [24] Sun Y,Kamel MS,Wong AKC,et al.Cost-sensitive boosting for classification of imbalanced data[J].Pattern Recognition,2007,40(12):3358-3378.