Skip to main content

Automatic Sleep Scoring Toolbox and Its Application in Sleep Apnea

  • Conference paper
  • First Online:
E-Business and Telecommunications (ICETE 2019)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1247))

Included in the following conference series:

Abstract

Sleep scoring is a fundamental but time-consuming process in any sleep laboratory. Automatic sleep scoring is crucial and urgent to help address the increasing unmet needs for sleep research. Therefore, this paper aims to develop an automatic sleep scoring toolbox with the capability of multi-signal processing. The toolbox allows the user to choose signal types and the number of target classes. In addition, a user-friendly interface is provided to display sleep structures and related sleep parameters. The proposed approach employs several automatic processes including signal preprocessing, feature extraction and classification in order to save labor costs without compromising accuracy. For the phase of feature extraction, a huge number of features are considered including statistical characters, frequency characters, time-frequency characters, fractal characters, entropy characters and nonlinear characters. Their contribution to distinguishing between different sleep stages are compared in this article. The classifier we used for sleep stages discrimination is the random forest algorithm. The performance of the proposed approach is tested on the patients with sleep apnea by assessing accuracy, sensitivity and precision. The model achieves an accuracy of 82% to 86% for patients with varying degrees of sleep-disordered breathing, which indicates that sleep-disordered breathing does not significantly affect the performance of the proposed model. The proposed automatic scoring toolbox would alleviate the burden of the physicians, speed up sleep scoring, and expedite sleep research.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Strine, T.W., Chapman, D.P.: Associations of frequent sleep insufficiency with health-related quality of life and health behaviors. Sleep Med. 6, 23–27 (2005). https://doi.org/10.1016/j.sleep.2004.06.003

    Article  Google Scholar 

  2. Pagel, J.F., Pandi-Perumal, S.R.: Primary Care Sleep Medicine: A Practical Guide. Springer, Heidelberg (2014)

    Google Scholar 

  3. Nano, M.-M., Long, X., Werth, J., Aarts, R.M., Heusdens, R.: Sleep apnea detection using time-delayed heart rate variability. In: 2015 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, pp. 7679–7682 (2015). https://doi.org/10.1109/EMBC.2015.7320171

  4. Schluter, T., Conrad, S.: An approach for automatic sleep stage scoring and apnea-hypopnea detection. In: 2010 IEEE 10th International Conference on Data Mining (ICDM), pp. 230–241. IEEE (2010)

    Google Scholar 

  5. Rechtschaffen, A., Kales, A.: A Manual of Standardized Terminology, Techniques and Scoring System for Sleep Stages of Human Subjects. US Natl. Inst. Heal, Washington DC (1968)

    Google Scholar 

  6. Berry, R.B., et al.: Rules for scoring respiratory events in sleep: update of the 2007 AASM manual for the scoring of sleep and associated events. J. Clin. Sleep Med. 8, 597–619 (2012). https://doi.org/10.5664/jcsm.2172

    Article  Google Scholar 

  7. Hassan, A.R., Bhuiyan, M.I.H.: A decision support system for automatic sleep staging from EEG signals using tunable Q-factor wavelet transform and spectral features. J. Neurosci. Methods 271, 107–118 (2016). https://doi.org/10.1016/j.jneumeth.2016.07.012

    Article  Google Scholar 

  8. Faust, O., Razaghi, H., Barika, R., Ciaccio, E.J., Acharya, U.R.: A review of automated sleep stage scoring based on physiological signals for the new millennia. Comput. Methods Programs Biomed. 176, 81–91 (2019). https://doi.org/10.1016/j.cmpb.2019.04.032

    Article  Google Scholar 

  9. Boostani, R., Karimzadeh, F., Nami, M.: A comparative review on sleep stage classification methods in patients and healthy individuals. Comput. Methods Programs Biomed. 140, 77–91 (2017). https://doi.org/10.1016/j.cmpb.2016.12.004

    Article  Google Scholar 

  10. Khalighi, S., Sousa, T., Pires, G., Nunes, U.: Automatic sleep staging: a computer assisted approach for optimal combination of features and polysomnographic channels. Expert Syst. Appl. 40, 7046–7059 (2013). https://doi.org/10.1016/j.eswa.2013.06.023

    Article  Google Scholar 

  11. Şen, B., Peker, M., Çavuşoǧlu, A., Çelebi, F.V.: A comparative study on classification of sleep stage based on EEG signals using feature selection and classification algorithms. J. Med. Syst. 38, 18 (2014). https://doi.org/10.1007/s10916-014-0018-0

    Article  Google Scholar 

  12. Hassan, A.R., Bhuiyan, M.I.H.: Computer-aided sleep staging using complete ensemble empirical mode decomposition with adaptive noise and bootstrap aggregating. Biomed. Signal Process. Control 24, 1–10 (2016). https://doi.org/10.1016/j.bspc.2015.09.002

    Article  Google Scholar 

  13. Hassan, A.R., Hassan Bhuiyan, M.I.: Automatic sleep scoring using statistical features in the EMD domain and ensemble methods. Biocybern. Biomed. Eng. 36, 248–255 (2016). https://doi.org/10.1016/j.bbe.2015.11.001

    Article  Google Scholar 

  14. Li, Y., Yingle, F., Gu, L., Qinye, T.: Sleep stage classification based on EEG hilbert-huang transform. In: 2009 4th IEEE Conference Industrial Electronics and Applications ICIEA 2009, pp. 3676–3681 (2009). https://doi.org/10.1109/ICIEA.2009.5138842

  15. Fraiwan, L., Lweesy, K., Khasawneh, N., Wenz, H., Dickhaus, H.: Automated sleep stage identification system based on time-frequency analysis of a single EEG channel and random forest classifier. Comput. Methods Programs Biomed. 108, 10–19 (2012). https://doi.org/10.1016/j.cmpb.2011.11.005

    Article  Google Scholar 

  16. Otzenberger, H., Simon, C., Gronfier, C., Brandenberger, G.: Temporal relationship between dynamic heart rate variability and electroencephalographic activity during sleep in man. Neurosci. Lett. 229, 173–176 (1997). https://doi.org/10.1016/S0304-3940(97)00448-5

    Article  Google Scholar 

  17. Álvarez-Estévez, D., Fernández-Pastoriza, J.M., Hernández-Pereira, E., Moret-Bonillo, V.: A method for the automatic analysis of the sleep macrostructure in continuum. Expert Syst. Appl. 40, 1796–1803 (2013). https://doi.org/10.1016/j.eswa.2012.09.022

    Article  Google Scholar 

  18. Šušmáková, K., Krakovská, A.: Discrimination ability of individual measures used in sleep stages classification. Artif. Intell. Med. 44, 261–277 (2008). https://doi.org/10.1016/j.artmed.2008.07.005

    Article  Google Scholar 

  19. Yan, R., et al.: Multi-modality of polysomnography signals’ fusion for automatic sleep scoring. Biomed. Signal Process. Control 49, 14–23 (2018). https://doi.org/10.1016/j.bspc.2018.10.001

    Article  Google Scholar 

  20. Seifpour, S., Niknazar, H., Mikaeili, M., Nasrabadi, A.M.: A new automatic sleep staging system based on statistical behavior of local extrema using single channel EEG signal. Expert Syst. Appl. 104, 277–293 (2018). https://doi.org/10.1016/j.eswa.2018.03.020

    Article  Google Scholar 

  21. Gharbali, A.A., Najdi, S., Fonseca, J.M.: Investigating the contribution of distance-based features to automatic sleep stage classification. Comput. Biol. Med. 96, 8–23 (2018). https://doi.org/10.1016/j.compbiomed.2018.03.001

    Article  Google Scholar 

  22. Dimitriadis, S.I., Salis, C., Linden, D.: A novel, fast and efficient single-sensor automatic sleep-stage classification based on complementary cross-frequency coupling estimates. Clin. Neurophysiol. 129, 815–828 (2018). https://doi.org/10.1101/160655

    Article  Google Scholar 

  23. Özşen, S.: Classification of sleep stages using class-dependent sequential feature selection and artificial neural network. Neural Comput. Appl. 23, 1239–1250 (2013). https://doi.org/10.1007/s00521-012-1065-4

    Article  Google Scholar 

  24. Liang, S.F., Kuo, C.E., Hu, Y.H., Pan, Y.H., Wang, Y.H.: Automatic stage scoring of single-channel sleep EEG by using multiscale entropy and autoregressive models. IEEE Trans. Instrum. Meas. 61, 1649–1657 (2012). https://doi.org/10.1109/TIM.2012.2187242

    Article  Google Scholar 

  25. Chambon, S., Thorey, V., Arnal, P.J., Mignot, E., Gramfort, A.: DOSED: a deep learning approach to detect multiple sleep micro-events in EEG signal. In: 2018 IEEE 28th International Workshop on Machine Learning Signal Processing, pp. 1–6 (2018)

    Google Scholar 

  26. Malafeev, A., et al.: automatic human sleep stage scoring using deep neural networks. Front. Neurosci. 12, 1–15 (2018). https://doi.org/10.3389/fnins.2018.00781

    Article  Google Scholar 

  27. Ebrahimi, F., Setarehdan, S.K., Nazeran, H.: Automatic sleep staging by simultaneous analysis of ECG and respiratory signals in long epochs. Biomed. Signal Process. Control 18, 69–79 (2015). https://doi.org/10.1016/j.bspc.2014.12.003

    Article  Google Scholar 

  28. Hermawan, I., Alvissalim, M.S., Tawakal, M.I., Jatmiko, W.: An integrated sleep stage classification device based on electrocardiograph signal. In: 2012 International Conference on Advanced Computer Science and Information Systems, pp. 37–41 (2012)

    Google Scholar 

  29. Krakovská, A., Mezeiová, K.: Automatic sleep scoring: a search for an optimal combination of measures. Artif. Intell. Med. 53, 25–33 (2011). https://doi.org/10.1016/j.artmed.2011.06.004

    Article  Google Scholar 

  30. Roebuck, A., et al.: A review of signals used in sleep analysis. Physiol. Meas. 35, 1–57 (2014). https://doi.org/10.1088/0967-3334/35/1/R1

    Article  Google Scholar 

  31. Trinder, J., et al.: Autonomic activity during human sleep as a function of time and sleep stage. J. Sleep Res. 10, 253–264 (2001). https://doi.org/10.1046/j.1365-2869.2001.00263.x

    Article  Google Scholar 

  32. Yan, R., Li, F., Wang, X., Ristaniemi, T., Cong, F.: An automatic sleep scoring toolbox: multi-modality of polysomnography signals’ processing. In: Proceedings of the 16th International Joint Conference on E-Business Telecommunication, vol. 1, pp. 307–315 (2019). https://doi.org/10.5220/0007925503010309

  33. Quan, S.F., et al.: The sleep heart health study: design, rationale, and methods. Sleep 20, 1077–1085 (1997). https://doi.org/10.1093/sleep/20.12.1077

    Article  Google Scholar 

  34. Khalighi, S., Sousa, T., Santos, J.M., Nunes, U.: ISRUC-sleep: a comprehensive public dataset for sleep researchers. Comput. Methods Programs Biomed. 124, 180–192 (2016). https://doi.org/10.1016/j.cmpb.2015.10.013

    Article  Google Scholar 

  35. Cooray, N., Andreotti, F., Lo, C., Symmonds, M., Hu, M.T.M., De Vos, M.: Automating the detection of rem sleep behaviour disorder. In: Proceedings of the Annual International Conference on IEEE Engineering Medicine and Biology Society EMBS, pp. 1460–1463, July 2018. https://doi.org/10.1109/EMBC.2018.8512539

  36. Esmael, B., Arnaout, A., Fruhwirth, R.K., Thonhauser, G.: Improving time series classification using Hidden Markov Models. In: Proceedings of the 2012 12th International Conference on Hybrid Intelligent Systems HIS 2012, pp. 502–507 (2012). https://doi.org/10.1109/HIS.2012.6421385

  37. Hagenauer, J., Germany, W.: A viterbi algorithm with soft-decision outputs and its applications In: The Soft-Output Symbol- by-Symbo1 MAP and Viter-. Compute, pp. 1680–1686 (1989)

    Google Scholar 

  38. Liang, S.F., Kuo, C.E., Hu, Y.H., Cheng, Y.S.: A rule-based automatic sleep staging method. J. Neurosci. Methods 205, 169–176 (2012). https://doi.org/10.1016/j.jneumeth.2011.12.022

    Article  Google Scholar 

  39. Sohn Il, S., Kim, D.H., Lee, M.Y., Cho, Y.W.: The reliability and validity of the Korean version of the Pittsburgh sleep quality index. Sleep Breath. 16, 803–812 (2012). https://doi.org/10.1007/s11325-011-0579-9

    Article  Google Scholar 

  40. Biswal, S., et al.: SLEEPNET: automated sleep staging system via deep learning. arXiv Prepr. arXiv1803.01710 (2017)

    Google Scholar 

  41. Phan, H., Andreotti, F., Cooray, N., Chen, O.Y., De Vos, M.: SeqSleepNet: end-to-end hierarchical recurrent neural network for sequence-to-sequence automatic sleep staging. IEEE Trans. Neural Syst. Rehabil. Eng. 27, 400–410 (2019). https://doi.org/10.1109/TNSRE.2019.2896659

    Article  Google Scholar 

  42. Zhang, L., Fabbri, D., Upender, R., Kent, D.: Automated sleep stage scoring of the sleep heart health study using deep neural networks. Sleep, 1–10 (2019). https://doi.org/10.1093/sleep/zsz159

  43. Loh, W.Y., Shin, Y.S.: Split selection methods for classification trees. Stat. Sin. 7, 815–840 (1997)

    MathSciNet  MATH  Google Scholar 

  44. Rahman, M.J., Mahajan, R., Morshed, B.I.: Exacerbation in obstructive sleep apnea: early detection and monitoring using a single channel EEG with quadratic discriminant analysis. In: International IEEE/EMBS Conference on Neural Engineering NER, pp. 85–88, March 2019. https://doi.org/10.1109/NER.2019.8717054

  45. Van Steenkiste, T., Groenendaal, W., Deschrijver, D., Dhaene, T.: Automated sleep apnea detection in raw respiratory signals using long short-term memory neural networks. IEEE J. Biomed. Heal. Inform. 23, 2354–2364 (2018). https://doi.org/10.1109/JBHI.2018.2886064

    Article  Google Scholar 

Download references

Acknowledgements

The authors would like to thank the SHHS for providing the polysomnographic data. This work was supported by the scholarships from China Scholarship Council (Nos. 201606060227).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rui Yan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yan, R., Li, F., Wang, X., Ristaniemi, T., Cong, F. (2020). Automatic Sleep Scoring Toolbox and Its Application in Sleep Apnea. In: Obaidat, M. (eds) E-Business and Telecommunications. ICETE 2019. Communications in Computer and Information Science, vol 1247. Springer, Cham. https://doi.org/10.1007/978-3-030-52686-3_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-52686-3_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-52685-6

  • Online ISBN: 978-3-030-52686-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics