Continuous sleep depth index annotation with deep learning yields novel digital biomarkers for sleep health

Songchi Zhou, Ge Song, Haoqi Sun, Deyun Zhang, Yue Leng, M. Brandon Westover, Shenda Hong

Introduction

For decades, sleep medicine has relied on the American Academy of Sleep Medicine (AASM) standards, which categorize sleep into five discrete stages—Wake, REM, N1, N2, and N3—in 30-second blocks. While these standards provide a common language for clinicians, this "coarse-grained" approach represents a lossy compression of biological reality. It ignores subtle variations within a stage; for instance, one "N2" period might be physiologically closer to wakefulness than another. Furthermore, manual scoring is labor-intensive and subject to inter-scorer variability. This study introduces a deep learning framework designed to transform these discrete stages into a continuous Sleep Depth Index (SDI), capturing the nuanced micro-structures of sleep.

Methodology

The researchers developed a Transformer-based deep learning model to process four channels of polysomnography (PSG) data: EEG (central), EOG (eye movement), EMG (muscle tone), and ECG (heart rate).

Physiological signals extracted from polysomnography (PSG) used as inputs for the deep learning model.

The core innovation lies in the use of a pairwise ranking loss function. Rather than treating sleep stages as independent categories, the model learns the ordinal relationship between them (e.g., N1 is shallower than N2, which is shallower than N3). This allows the model to map every 30-second epoch to a continuous value between 0 (wake) and 1 (deepest sleep). To account for the unique physiology of REM sleep, the SDI annotation is coupled with a dedicated REM classification module.

From the resulting whole-night SDI time series, the team extracted several "digital biomarkers," including:

  • Area Proportion (AP): Representing the total volume of deep sleep.
  • Complexity Measures: Including Approximate Entropy (APPe) and Detrended Fluctuation Analysis (DETRf) to quantify the predictability and stability of sleep depth transitions.

Data and Validation

The study utilized a massive dataset of 11,485 PSG recordings across four major cohorts: the Multi-Ethnic Study of Atherosclerosis (MESA), the Osteoporotic Fractures in Men Study (MrOS), the Cleveland Family Study (CFS), and the Sleep Heart Health Study (SHHS). The SHHS cohort was reserved for external validation to ensure the model's generalizability across different populations.

Overview of the study design (a) and the transition from traditional discrete sleep staging to the continuous Sleep Depth Index (b).

Validation against clinical events showed a near-perfect linear correlation (>0.99) between a decrease in SDI and the duration of arousal in the subsequent 30 seconds. This confirms that SDI serves as a highly accurate proxy for "arousability" and sleep instability.

Key Insights and Clinical Results

By clustering participants based on SDI-derived biomarkers, the authors identified a specific "disturbed sleep" subtype. Individuals in this group often presented with "normal" traditional metrics, such as high Sleep Efficiency, yet their SDI showed high fluctuations and fragmentation that traditional methods failed to detect.

This granular analysis revealed significant health implications:

  • Mortality Risk: The "disturbed" sleep subtype was associated with a 33% higher risk of all-cause mortality (Hazard Ratio 1.33).
  • Cardiovascular Health: Participants in this group faced a 38% higher risk of fatal coronary heart disease (HR 1.38).
  • Disease Prevalence: This subtype showed strong links to higher prevalences of hypertension, sleep apnea, and insomnia.

Technically, the model performed exceptionally well, with the REM classification achieving an AUROC of 0.978 and the SDI showing a Spearman correlation of over 0.85 with traditional staging.

Discussion and Future Directions

While the SDI provides a powerful new lens for sleep health, some limitations remain. The current model requires four PSG channels; future work will investigate if similar results can be achieved with fewer channels to enable use in wearable devices. Additionally, while the model currently outputs values every 30 seconds to align with existing labels, increasing temporal resolution to 1-second intervals could reveal even finer micro-structures.

Ultimately, this research demonstrates that moving beyond discrete sleep stages to a continuous index can identify high-risk individuals who appear healthy under traditional metrics, offering a new frontier for personalized sleep medicine.

Summary updated

BibTeX
@article{zhou2025continuous,
  author = {Songchi Zhou and Ge Song and Haoqi Sun and Deyun Zhang and Yue Leng and M. Brandon Westover and Shenda Hong},
  title = {{Continuous sleep depth index annotation with deep learning yields novel digital biomarkers for sleep health}},
  journal = {Npj Digit. Medicine},
  year = {2025},
  doi = {10.1038/s41746-025-01607-0},
}
Figure