journal article·2023-03-08Open access

A Domain-Based, Adaptive, Multi-Scale, Inter-Subject Sleep Stage Classification Network

Zhiwei Zhang, Minfang Tang

Applied Sciences· Volume 13· Issue 6

Abstract

Sleep stage classification is of great importance in sleep analysis, which provides information for the diagnosis and monitoring of sleep-related conditions. To accurately analyze sleep structure under comfortable conditions, many studies have applied deep learning to sleep staging based on single-lead electrocardiograms (ECGs). However, there is still great room for improvement in inter-subject classification. In this paper, we propose an end-to-end, multi-scale, subject-adaptive network that improves the performance of the model according to the model architecture, training method, and loss calculation. In our investigation, a multi-scale residual feature encoder extracted various details to support the feature extraction of single-lead ECGs in different situations. After taking the domain shift caused by individual differences and acquisition conditions into consideration, we introduced a domain-aligning layer to confuse the domain. Moreover, to enhance the performance of the model, the multi-class focal loss was used to reduce the negative impact of class imbalance on the learning of the model, and the loss of sequence prediction was added to the classification task to assist the model in judging sleep stages. The model was evaluated on the public test datasets SHHS2, SHHS1, and MESA, and we obtained mean accuracies (Kappa) of 0.849 (0.837), 0.827 (0.790), and 0.868 (0.840) for awake/light sleep/deep sleep/REM stage classification, which confirms that this is an improved solution compared to the baseline. The model also performed outstandingly in cross-dataset testing. Hence, this article makes valuable contributions toward improving the reliability of sleep staging.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: EEG and Brain-Computer Interfaces · ECG Monitoring and Analysis · Sleep and Work-Related Fatigue

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Aerospace Information Research Institute, Chinese Academy of Sciences, Beijing 100190, China

School of Electronics, Electrical and Communication Engineering, University of Chinese Academy of Sciences, Beijing 100049, China

National Key Laboratory of Microwave Imaging Technology, Beijing 100190, China

Funding

the CGYMS Innovation Fund

References (43)

Show source-provided references
1. Iconography: Sleep-related breathing disorders and cardiovascular disease10.1016/S0002-9343(00)00302-8 ↗
2. Does REM sleep contribute to subjective wake time in primary insomnia? A comparison of polysomnographic and subjective sleep in 100 patients10.1111/j.1365-2869.2008.00651.x ↗
3. Regularly occurring periods of eye motility and concomitant phenomena during sleep10.1126/science.118.3062.273 ↗
4. Rechtschaffen, A., and Kales, A. (1968). A Manual of Standardized Terminology, Techniques and Scoring System for Sleep Stages of Human Subjects.
5. The future of sleep health: A data-driven revolution in sleep science and medicine10.1038/s41746-020-0244-4 ↗
6. Sierra, J.C., Sánchez, A.I., and y Quevedo-Blasco, R. (2023). Evaluación Psicológica: Técnicas y Aplicaciones, Editorial Técnica AVICAM. [5th ed.].
7. Associations between Sleep, Depression, and Cognitive Performance in Adolescence
8. Feature matching as improved transfer learning technique for wearable EEG10.1016/j.bspc.2022.104009 ↗
9. Urtnasan, E., Park, J.U., Joo, E.Y., and Lee, K.J. (2022). Deep Convolutional Recurrent Model for Automatic Scoring Sleep Stages Based on Single-Lead ECG Signal. Diagnostics, 12.10.3390/diagnostics12051235 ↗
10. Budig, M., Stoohs, R., and Keiner, M. (2022). Validity of Two Consumer Multisport Activity Tracker and One Accelerometer against Polysomnography for Measuring Sleep Parameters and Vital Data in a Laboratory Setting in Sleep Patients. Sensors, 22.10.3390/s22239540 ↗
11. Automatic Classification of Sleep Stage from an ECG Signal Using a Gated-Recurrent Unit10.5391/IJFIS.2020.20.3.181 ↗
12. The Development of a Novel mHealth Tool for Obstructive Sleep Apnea: Tracking Continuous Positive Airway Pressure Adherence as a Percentage of Time in Bed10.2196/39489 ↗
13. Opportunities and challenges of deep learning methods for electrocardiogram data: A systematic review10.1016/j.compbiomed.2020.103801 ↗
14. The eresearch of sleep staging based on single-lead electrocardiogram and deep neural network10.1007/s13534-017-0044-1 ↗
15. Deep learning in the cross-time frequency domain for sleep staging from a single-lead electrocardiogram10.1088/1361-6579/aaf339 ↗
16. Sleep Staging from Electrocardiography and Respiration with Deep Learning10.1093/sleep/zsz306 ↗
17. Sleep stage classification from heart-rate variability using long short-term memory neural networks10.1038/s41598-019-49703-y ↗
18. Deep learning for automated sleep staging using instantaneous heart rate10.1038/s41746-020-0291-x ↗
19. Sleep stages classification based on heart rate variability and random forest10.1016/j.bspc.2013.06.001 ↗
20. Human identification driven by deep CNN and transfer learning based on multiview feature representations of ECG10.1016/j.bspc.2021.102689 ↗
21. Hong, P.L., Hsiao, J.Y., Chung, C.H., Feng, Y.M., and Wu, S.C. (2019, January 23–27). ECG Biometric Recognition: Template-Free Approaches Based on Deep Learning. Proceedings of the 2019 41st Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Berlin, Germany.10.1109/EMBC.2019.8856916 ↗
22. Deep adaptation network for subject-specific sleep stage classification based on a single-lead ECG10.1016/j.bspc.2022.103548 ↗
23. Cho, K., Van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. (2014, January 25–29). Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation. Proceedings of the Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1179 ↗
24. Long Short-Term Memory10.1162/neco.1997.9.8.1735 ↗
25. Maas, A.L., Hannun, A.Y., and Ng, A.Y. (2013, January 16–21). Rectifier Nonlinearities Improve Neural Network Acoustic Models. Proceedings of the 30th International Conference on Machine Learning, Atlanta, GA, USA.
26. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 26–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
27. An Attention-Based Deep Learning Approach for Sleep Stage Classification with Single-Channel EEG10.1109/TNSRE.2021.3076234 ↗
28. Dursun, M., Gunes, S., Ozsen, S., and Yosunkaya, S. (2012, January 2–4). Comparison of Artificial Immune Clustering with Fuzzy C-means Clustering in the sleep stage classification problem. Proceedings of the International Symposium on Innovations in Intelligent Systems & Applications, Trabzon, Turkey.10.1109/INISTA.2012.6246976 ↗
29. Lin, T.Y., Goyal, P., Girshick, R., He, K., and Dollár, P. (2017, January 22–29). Focal Loss for Dense Object Detection. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.324 ↗
30. Gretton, A., Borgwardt, K.M., Rasch, M.J., Schölkopf, B., and Smola, A. (2006). NIPS’06: Proceedings of the 19th International Conference on Neural Information Processing Systems, MIT Press.
31. Aggarwal, K., Khadanga, S., Joty, S.R., Kazaglis, L., and Srivastava, J. (2018, January 10–13). A Structured Learning Approach with Neural Conditional Random Fields for Sleep Staging. Proceedings of the 2018 IEEE International Conference on Big Data, Seattle, WA, USA.10.1109/BigData.2018.8622286 ↗
32. How transferable are features in deep neural networks?
33. The National Sleep Research Resource: Towards a sleep data commons10.1093/jamia/ocy064 ↗
34. The Sleep Heart Health Study: Design, rationale, and methods
35. Multi-ethnic study of atherosclerosis: Objectives and design10.1093/aje/kwf113 ↗
36. Racial/Ethnic Differences in Sleep Disturbances: The Multi-Ethnic Study of Atherosclerosis (MESA)
37. Development of the polysomnographic database on CD-ROM10.1046/j.1440-1819.1999.00527.x ↗
38. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals10.1161/01.CIR.101.23.e215 ↗
39. Selvaraj, N., and Narasimhan, R. (2013, January 3–7). Detection of sleep apnea on a per-second basis using respiratory signals. Proceedings of the 2013 35th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Osaka, Japan.10.1109/EMBC.2013.6609953 ↗
40. Imtiaz, S.A. (2021). A Systematic Review of Sensing Technologies for Wearable Sleep Staging. Sensors, 21.10.3390/s21051562 ↗
41. Lesmana, T.F., Isa, S.M., and Surantha, N. (2018, January 27–30). Sleep Stage Identification Using the Combination of ELM and PSO Based on ECG Signal and HRV. Proceedings of the 2018 3rd International Conference on Computer and Communication Systems (ICCCS), Nagoya, Japan.10.1109/CCOMS.2018.8463307 ↗
42. Transfer learning from ECG to PPG for improved sleep staging from wrist-worn wearables10.1088/1361-6579/abf1b0 ↗
43. Multi-View Spatial-Temporal Graph Convolutional Networks with Domain Generalization for Sleep Stage Classification10.1109/TNSRE.2021.3110665 ↗