Jiayan Huo

and 4 more

Background: Sleep is crucial for overall health and well-being. Analyzing sleep stages and sleep fragmentation can enhance our understanding of sleep quality and help protect individuals’ sleep health. The objective of this study is to explore the development and application of a multitask deep learning model that can simultaneously detect sleep arousal and score sleep stages.Methods: We employed a task-incremental learning approach to develop the multi-task deep learning model. For development and testing, 1069 polysomnography records were incorporated. Additionally, the model’s fairness was assessed across various subgroups, including sex, age, and ethnicity. Beyond performance evaluation, we investigated the intermediate features extracted by the model from the raw ECG signal. Results: The multi-task deep learning model achieved a Cohen’s 𝜅 of 0.68 for sleep stage prediction and an area under the receiver operating characteristic (AUROC) of 0.94 for arousal detection. Additionally, the model showed consistent performance across different subgroups. The analysis of the interpretability of the intermediate features validated their applicability and adaptability to related tasks in sleep analysis. Conclusion: This study demonstrated the capacity of the multi-task deep learning model to score sleep stages and arousal simultaneously with substantial precision using a single-lead ECG. This research offers a promising avenue for advancing incremental learning and multitask deep learning models in sleep analysis.

Huayu Li

and 6 more

Sleep stage classification is pivotal for assessing sleep quality and diagnosing sleep disorders. While deep learning has shown promise in automating sleep stage classification, the dynamic nature of sleep research and data collection processes presents unique challenges. These include class-incremental learning, where models must adapt to newly emerging sleep patterns, and domain-incremental learning, necessitating generalization across diverse data collection conditions or varying EEG equipment. Moreover, the unavailability of old datasets, particularly between different institutions, and the lack of annotations in historical data hinder the effective training and adaptability of deep learning models. This study introduces a Dual-Incremental Learning Framework, amalgamating unsupervised domain adaptation, hierarchy-aware feature learning, and diffusion probabilistic model-based generative replay design to improve the generalizability of sleep stage classification models and enhance the re-analysis of historical data with updated classification schemes. We establish two benchmarks using two publicly available datasets to elucidate the challenges posed by evolving sleep datasets. The effectiveness and performance of the proposed framework are evaluated against the established benchmarks, showcasing enhanced generalizability and the potential for unearthing deeper insights from historical patient data. This framework also demonstrates compatibility with existing deep learning models, promoting a versatile solution for advancing sleep stage classification. To the best of our knowledge, this study is the first to address class and domain-incremental learning challenges in sleep stage classification, laying a solid foundation for future research in this domain. Additionally, the proposed Dual-Incremental Learning Framework holds potential for a wide range of healthcare applications.