Abstract
Sleep staging is a key process for evaluating sleep quality and diagnosing somnipathy-related diseases. Psychologists are required to do the traditional sleep stages identification. The manual work by these experts is often time-consuming and error-prone. In order to improve the performance of such a process, automatic Electroencephalography (EEG) signal analysis using machine learning approaches is often used. In this paper, a transitions-optimized Hidden Markov Model (HMM) model is proposed to improve the accuracy of prediction. Our proposed framework includes 4 key modules: feature extraction, feature selection, classification, and transition optimization. By applying, transition optimization process after a general GMM-HMM classification, our experimental results show a convincing improvement in the accuracy of classification.
Similar content being viewed by others
References
Alickovic E, Subasi A (2018) Ensemble SVM method for automatic sleep stage classification. IEEE Trans Instrum Meas 67(6):1258–1265
Aserinsky E, Kleitman N (1953) Regularly occurring periods of eye motility, and concomitant phenomena, during sleep. Science 118(3062):273–274
Boe AJ, Koch LLM, O’Brien MK, Shawen N, Rogers JA, Lieber RL, Reid KJ, Zee PC, Jayaraman A (2019) Automating sleep stage classification using wireless, wearable sensors. NPJ Digit Med 2(1):1–9
Boostani R, Karimzadeh F, Nami M (2017) A comparative review on sleep stage classification methods in patients and healthy individuals. Comput Methods Prog Biomed 140:77–91
Chen Z, Wu C, Zhang Y, Huang Z, Ran B, Zhong M, Lyu N (2015) Feature selection with redundancy-complementariness dispersion. Knowl-Based Syst 89:203–217
Dargan S, Kumar M, Ayyagari MR, Kumar G (2020) A survey of deep learning and its applications: a new paradigm to machine learning. Arch Comput Methods Eng 27(4):1071–1092
Demuru M, La Cava SM, Pani SM, Fraschini M (2020) A comparison between power spectral density and network metrics: an EEG study. Biomed Signal Process Control 57:101760
Ding K, Lei J, Chan FT, Hui J, Zhang F, Wang Y (2020) Hidden Markov model-based autonomous manufacturing task orchestration in smart shop floors. Robot Comput Integr Manuf 61:101845
Diykh M, Li Y (2016) Complex networks approach for EEG signal sleep stages classification. Expert Syst Appl 63:241–248
Feng F, Zhang Y, Hou J, Cai J, Jiang Q, Li X, Zhao Q, B-a L (2018) Can music improve sleep quality in adults with primary insomnia? A systematic review and network meta-analysis. Int J Nurs Stud 77:189–196
Fraiwan L, Lweesy K, Khasawneh N, Wenz H, Dickhaus H (2012) Automated sleep stage identification system based on time–frequency analysis of a single EEG channel and random forest classifier. Comput Methods Prog Biomed 108(1):10–19
Gharbali AA, Najdi S, Fonseca JM (2018) Investigating the contribution of distance-based features to automatic sleep stage classification. Comput Biol Med 96:8–23
Ghimatgar H, Kazemi K, Helfroush MS, Aarabi A (2019) An automatic single-channel EEG-based sleep stage scoring method based on hidden Markov model. J Neurosci Methods 324:108320
Ghimatgar H, Kazemi K, Helfroush MS, Pillay K, Dereymaker A, Jansen K, De Vos M, Aarabi A (2020) Neonatal EEG sleep stage classification based on deep learning and HMM. J Neural Eng 17(3):036031
Goldberger AL, Amaral LA, Glass L, Hausdorff JM, Ivanov PC, Mark RG, Mietus JE, Moody GB, Peng C-K, Stanley HE (2000) PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation 101 (23):e215-e220
Hsu Y-L, Yang Y-T, Wang J-S, Hsu C-Y (2013) Automatic sleep stage recurrent neural classifier using energy features of EEG signals. Neurocomputing 104:105–114
Hu W, Tian G, Kang Y, Yuan C, Maybank S (2017) Dual sticky hierarchical Dirichlet process hidden Markov model and its application to natural language description of motions. IEEE Trans Pattern Anal Mach Intell 40(10):2355–2373
Hu M, Ji Z, Yan K, Guo Y, Feng X, Gong J, Zhao X, Dong L (2018) Detecting anomalies in time series data via a meta-feature based approach. IEEE Access 6:27760–27776
Hu M, Feng X, Ji Z, Yan K, Zhou S (2019) A novel computational approach for discord search with local recurrence rates in multivariate time series. Inf Sci 477:220–233
İnce R, Adanır SS, Sevmez F (2020) The inventor of electroencephalography (EEG): Hans Berger (1873–1941). Childs Nerv Syst:1–2
Kemp B, Zwinderman AH, Tuk B, Kamphuisen HA, Oberye JJ (2000) Analysis of a sleep-dependent neuronal feedback loop: the slow-wave microcontinuity of the EEG. IEEE Trans Biomed Eng 47(9):1185–1194
Lajnef T, Chaibi S, Ruby P, Aguera P-E, Eichenlaub J-B, Samet M, Kachouri A, Jerbi K (2015) Learning machines and sleeping brains: automatic sleep stage classification using decision-tree multi-class support vector machines. J Neurosci Methods 250:94–105
Li W, Liu T (2019) Time varying and condition adaptive hidden Markov model for tool wear state estimation and remaining useful life prediction in micro-milling. Mech Syst Signal Process 131:689–702
Li X, Cui L, Tao S, Chen J, Zhang X, Zhang G-Q (2017) Hyclasss: a hybrid classifier for automatic sleep stage scoring. IEEE J Biomed Health Inform 22(2):375–385
Li K, Pan W, Li Y, Jiang Q, Liu G (2018) A method to detect sleep apnea based on deep neural network and hidden Markov model using single-lead ECG signal. Neurocomputing 294:94–101
Li C, Luo X, Qi Y, Gao Z, Lin X (2020) A new feature selection algorithm based on relevance, redundancy and complementarity. Comput Biol Med 119:103667
Liang S-F, Kuo C-E, Hu Y-H, Pan Y-H, Wang Y-H (2012) Automatic stage scoring of single-channel sleep EEG by using multiscale entropy and autoregressive models. IEEE Trans Instrum Meas 61(6):1649–1657
Liang S-F, Kuo C-E, Hu Y-H, Cheng Y-S (2012) A rule-based automatic sleep staging method. J Neurosci Methods 205(1):169–176
Loewy J, Stewart K, Dassler A-M, Telsey A, Homel P (2013) The effects of music therapy on vital signs, feeding, and sleep in premature infants. Pediatrics 131(5):902–918
Michielli N, Acharya UR, Molinari F (2019) Cascaded LSTM recurrent neural network for automated sleep stage classification using single-channel EEG signals. Comput Biol Med 106:71–81
Mousavi S, Afghah F, Acharya UR (2019) SleepEEGNet: automated sleep stage scoring with sequence to sequence deep learning approach. PLoS ONE 14(5):e0216456
Nochino T, Ohno Y, Kato T, Taniike M, Okada S (2019) Sleep stage estimation method using a camera for home use. Biomed Eng Lett 9(2):257–265
Nonoue S, Mashita M, Haraki S, Mikami A, Adachi H, Yatani H, Yoshida A, Taniike M, Kato T (2017) Inter-scorer reliability of sleep assessment using EEG and EOG recording system in comparison to polysomnography. Sleep Biol Rhythms 15(1):39–48
Phan H, Andreotti F, Cooray N, Chén OY, De Vos M (2019) SeqSleepNet: end-to-end hierarchical recurrent neural network for sequence-to-sequence automatic sleep staging. IEEE Transactions on Neural Systems and Rehabilitation Engineering 27(3):400–410
Phan H, Mikkelsen K, Chén OY, Koch P, Mertins A, Kidmose P, De Vos M (2020) Personalized automatic sleep staging with single-night data: a pilot study with Kullback–Leibler divergence regularization. Physiol Meas 41(6):064004
Pillay K, Dereymaeker A, Jansen K, Naulaers G, Van Huffel S, De Vos M (2018) Automated EEG sleep staging in the term-age baby using a generative modelling approach. J Neural Eng 15(3):036004
Prucnal M, Polak AG (2017) Effect of feature extraction on automatic sleep stage classification by artificial neural network. Metrology and Measurement Systems 24(2):229–240
Radha M, Fonseca P, Moreau A, Ross M, Cerny A, Anderer P, Long X, Aarts RM (2019) Sleep stage classification from heart-rate variability using long short-term memory neural networks. Sci Rep 9(1):1–11
Razi AP, Einalou Z, Manthouri M (2021) Sleep apnea classification using random Forest via ECG. Sleep Vigilance 5(1):141–146
Reshef DN, Reshef YA, Finucane HK, Grossman SR, McVean G, Turnbaugh PJ, Lander ES, Mitzenmacher M, Sabeti PC (2011) Detecting novel associations in large data sets. Science 334 (6062):1518-1524
Seo H, Back S, Lee S, Park D, Kim T, Lee K (2020) Intra-and inter-epoch temporal context network (IITNet) using sub-epoch features for automatic sleep scoring on raw single-channel EEG. Biomed Signal Process Control 61:102037
Sharma H, Sharma K (2016) An algorithm for sleep apnea detection from single-lead ECG using Hermite basis functions. Comput Biol Med 77:116–124
Supratak A, Dong H, Wu C, Guo Y (2017) DeepSleepNet: a model for automatic sleep stage scoring based on raw single-channel EEG. IEEE Transactions on Neural Systems and Rehabilitation Engineering 25(11):1998–2008
Suraev AS, Marshall NS, Vandrey R, McCartney D, Benson MJ, McGregor IS, Grunstein RR, Hoyos CM (2020) Cannabinoid therapies in the management of sleep disorders: a systematic review of preclinical and clinical studies. Sleep Med Rev 53:101339
Tang H-YJ, McCurry SM, Pike KC, Riegel B, Vitiello MV (2021) Open-loop audio-visual stimulation for sleep promotion in older adults with comorbid insomnia and osteoarthritis pain: results of a pilot randomized controlled trial. Sleep Med 82:37–42
Thompson NC, Greenewald K, Lee K, Manso GF (2020) The computational limits of deep learning. arXiv preprint arXiv:200705558
Tsinalis O, Matthews PM, Guo Y, Zafeiriou S (2016) Automatic sleep stage scoring with single-channel EEG using convolutional neural networks. arXiv preprint arXiv:161001683
Viterbi A (1967) Error bounds for convolutional codes and an asymptotically optimum decoding algorithm. IEEE Trans Inf Theory 13(2):260–269
Walch O, Huang Y, Forger D, Goldstein C (2019) Sleep stage prediction with raw acceleration and photoplethysmography heart rate data derived from a consumer wearable device. Sleep 42(12):zsz180
Wei R, Zhang X, Wang J, Dang X (2018) The research of sleep staging based on single-lead electrocardiogram and deep neural network. Biomed Eng Lett 8(1):87–93
Welch P (1967) The use of fast Fourier transform for the estimation of power spectra: a method based on time averaging over short, modified periodograms. IEEE Transactions on Audio Electroacoustics 15(2):70–73
Wolpert EA (1969) A manual of standardized terminology, techniques and scoring system for sleep stages of human subjects. Arch Gen Psychiatry 20(2):246–247
Xie X, Gu X, Li Y, Ji Z (2021) K-size partial reduct: positive region optimization for attribute reduction. Knowl Based Syst 107253
Zhao R, Xia Y, Wang Q (2021) Dual-modal and multi-scale deep neural networks for sleep staging using EEG and ECG signals. Biomed Signal Process Control 66:102455
Zhou J, Wang G, Liu J, Wu D, Xu W, Wang Z, Ye J, Xia M, Hu Y, Tian Y (2020) Automatic sleep stage classification with single channel EEG signal based on two-layer stacked ensemble model. IEEE Access 8:57283–57297
Acknowledgments
This study is supported by Zhejiang Provincial Key Laboratory of New Network Standards and Technologies (NNST)(No.2013E10012). The authors would like to thank the editor and reviewers for improving the quality of the paper.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Huang, J., Ren, L., Ji, Z. et al. Single-channel EEG automatic sleep staging based on transition optimized HMM. Multimed Tools Appl 81, 43063–43081 (2022). https://doi.org/10.1007/s11042-022-12551-6
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-022-12551-6