Abstract

Sleep plays a vital role in human physical and mental health. To accurately identify sleep structure under comfortable and convenient conditions, many machine-learning methods have been applied in the classification of sleep staging based on an Electrocardiogram (ECG); however, few works have solved the problem of generalization in the subject-specific sleep staging. The main reason for the problem is the difference of domain distribution across subjects. Most works are also classified based on ECG-derived signals and manual features. In this paper, we describe an end-to-end deep adaptation framework that classifies sleep stages into four classes based on a single-lead ECG to overcome the above problems. In particular, multi-class focal loss and a domain aligning layer based on the maximum mean discrepancy have been combined to solve data imbalances and domain shifts during three-step processing. We evaluate the method based on the three public datasets contained in SHHS2, SHHS1, and MESA. Compared to the performance of the model without domain aligning, the accuracy of the model for the public datasets has been improved by more than 20%, and the Kappa coefficient has also been improved by close to 0.4, which achieves state-of-the-art solutions compared to the baseline. In addition, the method has excellent performance for accuracy and Cohen’s Kappa in terms of cross datasets. The proposed method, which confuses the domain-variant features, makes important contributions to the prediction of different subjects’ sleep structures. The domain-adaptation setup, which varies across subjects and across environments, may provide a new approach to health monitoring.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call