{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,12]],"date-time":"2026-06-12T15:59:15Z","timestamp":1781279955510,"version":"3.54.1"},"reference-count":55,"publisher":"MDPI AG","issue":"22","license":[{"start":{"date-parts":[[2022,11,15]],"date-time":"2022-11-15T00:00:00Z","timestamp":1668470400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>The polysomnogram (PSG) is the gold standard for evaluating sleep quality and disorders. Attempts to automate this process have been hampered by the complexity of the PSG signals and heterogeneity among subjects and recording hardwares. Most of the existing methods for automatic sleep stage scoring rely on hand-engineered features that require prior knowledge of sleep analysis. This paper presents an end-to-end deep transfer learning framework for automatic feature extraction and sleep stage scoring based on a single-channel EEG. The proposed framework was evaluated over the three primary signals recommended by the American Academy of Sleep Medicine (C4-M1, F4-M1, O2-M1) from two data sets that have different properties and are recorded with different hardware. Different Time\u2013Frequency (TF) imaging approaches were evaluated to generate TF representations for the 30 s EEG sleep epochs, eliminating the need for complex EEG signal pre-processing or manual feature extraction. Several training and detection scenarios were investigated using transfer learning of convolutional neural networks (CNN) and combined with recurrent neural networks. Generating TF images from continuous wavelet transform along with a deep transfer architecture composed of a pre-trained GoogLeNet CNN followed by a bidirectional long short-term memory (BiLSTM) network showed the best scoring performance among all tested scenarios. Using 20-fold cross-validation applied on the C4-M1 channel, the proposed framework achieved an average per-class accuracy of 91.2%, sensitivity of 77%, specificity of 94.1%, and precision of 75.9%. Our results demonstrate that without changing the model architecture and the training algorithm, our model could be applied to different single-channel EEGs from different data sets. Most importantly, the proposed system receives a single EEG epoch as an input at a time and produces a single corresponding output label, making it suitable for real time monitoring outside sleep labs as well as to help sleep lab specialists arrive at a more accurate diagnoses.<\/jats:p>","DOI":"10.3390\/s22228826","type":"journal-article","created":{"date-parts":[[2022,11,16]],"date-time":"2022-11-16T04:39:03Z","timestamp":1668573543000},"page":"8826","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":31,"title":["A Deep Transfer Learning Framework for Sleep Stage Classification with Single-Channel EEG Signals"],"prefix":"10.3390","volume":"22","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-3698-3216","authenticated-orcid":false,"given":"Hisham","family":"ElMoaqet","sequence":"first","affiliation":[{"name":"Department of Mechatronics Engineering, German Jordanian University, Amman 11180, Jordan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4080-4989","authenticated-orcid":false,"given":"Mohammad","family":"Eid","sequence":"additional","affiliation":[{"name":"Department of Biomedical Engineering, German Jordanian University, Amman 11180, Jordan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6620-7504","authenticated-orcid":false,"given":"Mutaz","family":"Ryalat","sequence":"additional","affiliation":[{"name":"Department of Mechatronics Engineering, German Jordanian University, Amman 11180, Jordan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4304-0112","authenticated-orcid":false,"given":"Thomas","family":"Penzel","sequence":"additional","affiliation":[{"name":"Interdisciplinary Center of Sleep Medicine, Charit\u00e9-Universit\u00e4tsmedizin Berlin, 10117 Berlin, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2022,11,15]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"589","DOI":"10.1038\/nrn2868","article-title":"Sleep and circadian rhythm disruption in psychiatric and neurodegenerative disease","volume":"11","author":"Wulff","year":"2010","journal-title":"Nat. Rev. Neurosci."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"494","DOI":"10.1016\/j.bbe.2020.01.010","article-title":"Automatic sleep stage classification using time\u2013frequency images of CWT and transfer learning using convolution neural network","volume":"40","author":"Jadhav","year":"2020","journal-title":"Biocybern. Biomed. Eng."},{"key":"ref_3","unstructured":"Berry, R., Brooks, R., Gamaldo, C., Harding, S.M., Lloyd, R.M., Quan, S.F., Troester, M.T., and Vaughn, B.V. (2020). The AASM Manual for the Scoring of Sleep and Associated Events: Rules, Terminology and Technical Specifications, Version 2.6.0, American Academy of Sleep Medicine."},{"key":"ref_4","unstructured":"Tsinalis, O., Matthews, P.M., Guo, Y., and Zafeiriou, S. (2016). Automatic sleep stage scoring with single-channel EEG using convolutional neural networks. arXiv."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Mousavi, S., Afghah, F., and Acharya, U.R. (2019). SleepEEGNet: Automated sleep stage scoring with sequence to sequence deep learning approach. PLoS ONE, 14.","DOI":"10.1371\/journal.pone.0216456"},{"key":"ref_6","unstructured":"Rechtschaffen, A. (1968). A Manual for Standardized Terminology, Techniques and Scoring System for Sleep Stages in Human Subjects, Brain Research Institute."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"94","DOI":"10.1016\/j.jneumeth.2015.01.022","article-title":"Learning machines and sleeping brains: Automatic sleep stage classification using decision-tree multi-class support vector machines","volume":"250","author":"Lajnef","year":"2015","journal-title":"J. Neurosci. Methods"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"263","DOI":"10.3389\/fnins.2014.00263","article-title":"Knowledge-based identification of sleep stages based on two forehead electroencephalogram channels","volume":"8","author":"Huang","year":"2014","journal-title":"Front. Neurosci."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"7922","DOI":"10.1016\/j.eswa.2010.04.043","article-title":"Efficient sleep stage recognition system based on EEG signal using k-means clustering based feature weighting","volume":"37","author":"Polat","year":"2010","journal-title":"Expert Syst. Appl."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"1587","DOI":"10.1007\/s10439-015-1444-y","article-title":"Automatic sleep stage scoring using time\u2013frequency analysis and stacked sparse autoencoders","volume":"44","author":"Tsinalis","year":"2016","journal-title":"Ann. Biomed. Eng."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"2959","DOI":"10.1007\/s00521-017-2919-6","article-title":"Automatic sleep stages classification based on iterative filtering of electroencephalogram signals","volume":"28","author":"Sharma","year":"2017","journal-title":"Neural Comput. Appl."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"115","DOI":"10.1016\/j.knosys.2017.05.005","article-title":"A decision support system for automated identification of sleep stages from single-channel EEG signals","volume":"128","author":"Hassan","year":"2017","journal-title":"Knowl.-Based Syst."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Zafar, R., Dass, S.C., and Malik, A.S. (2017). Electroencephalogram-based decoding cognitive states using convolutional neural network and likelihood ratio based score fusion. PLoS ONE, 12.","DOI":"10.1371\/journal.pone.0178410"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Zaeri-Amirani, M., Afghah, F., and Mousavi, S. (2018, January 18\u201321). A feature selection method based on shapley value to false alarm reduction in icus a genetic-algorithm approach. Proceedings of the 2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Honolulu, HI, USA.","DOI":"10.1109\/EMBC.2018.8512266"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Afghah, F., Razi, A., Soroushmehr, R., Ghanbari, H., and Najarian, K. (2018). Game theoretic approach for systematic feature selection; application in false alarm detection in intensive care units. Entropy, 20.","DOI":"10.3390\/e20030190"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1186","DOI":"10.1016\/j.compbiomed.2012.09.012","article-title":"An ensemble system for automatic sleep stage classification using single-channel EEG signal","volume":"42","author":"Koley","year":"2012","journal-title":"Comput. Biol. Med."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"10","DOI":"10.1016\/j.cmpb.2011.11.005","article-title":"Automated sleep stage identification system based on time\u2013frequency analysis of a single EEG channel and random forest classifier","volume":"108","author":"Fraiwan","year":"2012","journal-title":"Comput. Methods Programs Biomed."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"105","DOI":"10.1016\/j.neucom.2012.11.003","article-title":"Automatic sleep stage recurrent neural classifier using energy features of EEG signals","volume":"104","author":"Hsu","year":"2013","journal-title":"Neurocomputing"},{"key":"ref_19","first-page":"3104","article-title":"Sequence to sequence learning with neural networks","volume":"27","author":"Sutskever","year":"2014","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Mousavi, S.S., Schukat, M., and Howley, E. (2016, January 21\u201322). Deep reinforcement learning: An overview. Proceedings of the SAI Intelligent Systems Conference, London, UK.","DOI":"10.1007\/978-3-319-56991-8_32"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"417","DOI":"10.1049\/iet-its.2017.0153","article-title":"Traffic light control using deep policy-gradient and value-function-based reinforcement learning","volume":"11","author":"Mousavi","year":"2017","journal-title":"IET Intell. Transp. Syst."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"95","DOI":"10.1007\/s13534-017-0055-y","article-title":"Obstructive sleep apnoea detection using convolutional neural network based deep learning framework","volume":"8","author":"Dey","year":"2018","journal-title":"Biomed. Eng. Lett."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"104","DOI":"10.1007\/s10916-018-0963-0","article-title":"Automated detection of obstructive sleep apnea events from a single-lead electrocardiogram using a convolutional neural network","volume":"42","author":"Urtnasan","year":"2018","journal-title":"J. Med. Syst."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"4733","DOI":"10.1007\/s00521-018-3833-2","article-title":"Automatic detection of sleep-disordered breathing events using recurrent neural networks from an electrocardiogram signal","volume":"32","author":"Urtnasan","year":"2018","journal-title":"Neural Comput. Appl."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"ElMoaqet, H., Eid, M., Glos, M., Ryalat, M., and Penzel, T. (2020). Deep recurrent neural networks for automatic detection of sleep apnea from single channel respiration signals. Sensors, 20.","DOI":"10.3390\/s20185037"},{"key":"ref_26","unstructured":"Biswal, S., Kulas, J., Sun, H., Goparaju, B., Westover, M.B., Bianchi, M.T., and Sun, J. (2017). SLEEPNET: Automated sleep staging system via deep learning. arXiv."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"1998","DOI":"10.1109\/TNSRE.2017.2721116","article-title":"DeepSleepNet: A model for automatic sleep stage scoring based on raw single-channel EEG","volume":"25","author":"Supratak","year":"2017","journal-title":"IEEE Trans. Neural Syst. Rehabil. Eng."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Yildirim, O., Baloglu, U.B., and Acharya, U.R. (2019). A deep learning model for automated sleep stages classification using PSG signals. Int. J. Environ. Res. Public Health, 16.","DOI":"10.3390\/ijerph16040599"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"71","DOI":"10.1016\/j.compbiomed.2019.01.013","article-title":"Cascaded LSTM recurrent neural network for automated sleep stage classification using single-channel EEG signals","volume":"106","author":"Michielli","year":"2019","journal-title":"Comput. Biol. Med."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"e215","DOI":"10.1161\/01.CIR.101.23.e215","article-title":"PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals","volume":"101","author":"Goldberger","year":"2000","journal-title":"Circulation"},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"1813","DOI":"10.1109\/JBHI.2014.2303991","article-title":"Analysis and classification of sleep stages based on difference visibility graphs from a single-channel EEG signal","volume":"18","author":"Zhu","year":"2014","journal-title":"IEEE J. Biomed. Health Inform."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"277","DOI":"10.1016\/j.eswa.2018.03.020","article-title":"A new automatic sleep staging system based on statistical behavior of local extrema using single-channel EEG signal","volume":"104","author":"Seifpour","year":"2018","journal-title":"Expert Syst. Appl."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"107","DOI":"10.1016\/j.jneumeth.2016.07.012","article-title":"A decision support system for automatic sleep staging from EEG signals using tunable Q-factor wavelet transform and spectral features","volume":"271","author":"Hassan","year":"2016","journal-title":"J. Neurosci. Methods"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Hassan, A.R., Bashar, S.K., and Bhuiyan, M.I.H. (2015, January 10\u201313). On the classification of sleep states by means of statistical and spectral features from single channel electroencephalogram. Proceedings of the 2015 International Conference on Advances in Computing, Communications and Informatics (ICACCI), Kochi, India.","DOI":"10.1109\/ICACCI.2015.7275950"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.bspc.2015.09.002","article-title":"Computer-aided sleep staging using complete ensemble empirical mode decomposition with adaptive noise and bootstrap aggregating","volume":"24","author":"Hassan","year":"2016","journal-title":"Biomed. Signal Process. Control"},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"1285","DOI":"10.1109\/TBME.2018.2872652","article-title":"Joint classification and prediction CNN framework for automatic sleep stage classification","volume":"66","author":"Phan","year":"2018","journal-title":"IEEE Trans. Biomed. Eng."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"107","DOI":"10.1016\/j.bspc.2017.12.001","article-title":"A convolutional neural network for sleep stage scoring from raw single-channel EEG","volume":"42","author":"Sors","year":"2018","journal-title":"Biomed. Signal Process. Control"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"400","DOI":"10.1109\/TNSRE.2019.2896659","article-title":"SeqSleepNet: End-to-end hierarchical recurrent neural network for sequence-to-sequence automatic sleep staging","volume":"27","author":"Phan","year":"2019","journal-title":"IEEE Trans. Neural Syst. Rehabil. Eng."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"ElMoaqet, H., Kim, J., Tilbury, D., Ramachandran, S.K., Ryalat, M., and Chu, C.H. (2020). Gaussian mixture models for detecting sleep apnea events using single oronasal airflow record. Appl. Sci., 10.","DOI":"10.3390\/app10217889"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Oberlin, T., Meignen, S., and Perrier, V. (2014, January 4\u20139). The Fourier-based synchrosqueezing transform. Proceedings of the 2014 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Florence, Italy.","DOI":"10.1109\/ICASSP.2014.6853609"},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.sigpro.2013.04.015","article-title":"Wavelets for fault diagnosis of rotary machines: A review with applications","volume":"96","author":"Yan","year":"2014","journal-title":"Signal Process."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Sainath, T.N., Mohamed, A.r., Kingsbury, B., and Ramabhadran, B. (2013, January 26\u201330). Deep convolutional neural networks for LVCSR. Proceedings of the 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, Vancouver, BC, Canada.","DOI":"10.1109\/ICASSP.2013.6639347"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Huang, J.T., Li, J., and Gong, Y. (2015, January 19\u201324). An analysis of convolutional neural networks for speech recognition. Proceedings of the 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), South Brisbane, Australia.","DOI":"10.1109\/ICASSP.2015.7178920"},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Zhang, H., McLoughlin, I., and Song, Y. (2015, January 19\u201324). Robust sound event recognition using convolutional neural networks. Proceedings of the 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), South Brisbane, Australia.","DOI":"10.1109\/ICASSP.2015.7178031"},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Hoshen, Y., Weiss, R.J., and Wilson, K.W. (2015, January 19\u201324). Speech acoustic modeling from raw multichannel waveforms. Proceedings of the 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), South Brisbane, Australia.","DOI":"10.1109\/ICASSP.2015.7178847"},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Palaz, D., Doss, M.M., and Collobert, R. (2015, January 19\u201324). Convolutional neural networks-based continuous speech recognition using raw speech signal. Proceedings of the 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), South Brisbane, Australia.","DOI":"10.1109\/ICASSP.2015.7178781"},{"key":"ref_47","unstructured":"Bouvrie, J. (2022, November 07). Notes on Convolutional Neural Networks. Available online: http:\/\/cogprints.org\/5869\/1\/cnn_tutorial.pdf."},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"157","DOI":"10.1109\/72.279181","article-title":"Learning long-term dependencies with gradient descent is difficult","volume":"5","author":"Bengio","year":"1994","journal-title":"IEEE Trans. Neural Netw."},{"key":"ref_49","doi-asserted-by":"crossref","first-page":"1345","DOI":"10.1109\/TKDE.2009.191","article-title":"A survey on transfer learning","volume":"22","author":"Pan","year":"2010","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"ref_50","first-page":"3347","article-title":"Transfusion: Understanding transfer learning for medical imaging","volume":"32","author":"Raghu","year":"2019","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_51","doi-asserted-by":"crossref","first-page":"2446","DOI":"10.1109\/TII.2018.2864759","article-title":"Highly accurate machine fault diagnosis using deep transfer learning","volume":"15","author":"Shao","year":"2018","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_52","doi-asserted-by":"crossref","first-page":"171423","DOI":"10.1109\/ACCESS.2019.2956052","article-title":"A Fault Diagnosis Method Based on Transfer Convolutional Neural Networks","volume":"7","author":"Liu","year":"2019","journal-title":"IEEE Access"},{"key":"ref_53","doi-asserted-by":"crossref","unstructured":"Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., and Fei-Fei, L. (2009, January 20\u201325). Imagenet: A large-scale hierarchical image database. Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA.","DOI":"10.1109\/CVPR.2009.5206848"},{"key":"ref_54","doi-asserted-by":"crossref","first-page":"211","DOI":"10.1007\/s11263-015-0816-y","article-title":"Imagenet large scale visual recognition challenge","volume":"115","author":"Russakovsky","year":"2015","journal-title":"Int. J. Comput. Vis."},{"key":"ref_55","unstructured":"Altevogt, B.M., Colten, H.R., and Institute of Medicine (US) Committee on Sleep Medicine and Research (2006). Sleep Disorders and Sleep Deprivation: An Unmet Public Health Problem, National Academies Press."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/22\/8826\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T01:18:27Z","timestamp":1760145507000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/22\/8826"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,11,15]]},"references-count":55,"journal-issue":{"issue":"22","published-online":{"date-parts":[[2022,11]]}},"alternative-id":["s22228826"],"URL":"https:\/\/doi.org\/10.3390\/s22228826","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,11,15]]}}}