Towards wearable-scale, transition-aware sleep staging for clinical populations

Suvadeep Maiti, Keya Sinha, Raju S. BapiarXiv 2026 · arXiv

This paper presents a novel framework for bringing clinical-grade sleep staging to low-power wearable devices. By combining a massive "foundation" model with a tiny student model and a smart new loss function called $G_{cv}$-TAD, the researchers achieved high accuracy on fragmented clinical sleep while using 75% fewer expert labels and a model small enough to fit on a standard microcontroller.

TL;DR

The authors developed a "transition-aware" distillation method that allows a tiny 31k-parameter model to perform nearly as well as a 136M-parameter transformer for sleep staging in clinical patients. Their approach specifically targets the "messy" sleep patterns of stroke and REM-disorder patients, significantly improving the detection of difficult-to-catch sleep stages like N1.

What Problem Does This Paper Address?

Most automatic sleep staging models are trained on healthy sleepers. However, clinical populations—such as those recovering from a stroke or suffering from REM sleep behavior disorder—have much more "fragmented" sleep. They wake up more often, spend more time in the light N1 stage, and have unpredictable transitions between stages.

Existing high-performance models (like SleepGPT) are too large for wearables and require "bidirectional context" (looking at the future to decide the current stage), which makes real-time monitoring impossible. Furthermore, getting experts to label clinical sleep data is incredibly labor-intensive. The challenge is: How do we create a tiny, real-time model that works for "messy" clinical sleep without needing a mountain of expensive labels?

Methods

The researchers used a Teacher-Student framework:

  1. The Teacher: They started with SleepGPT, a 136-million parameter transformer. They fine-tuned it on just 25% of the available labeled clinical data.
  2. The Student: They designed a lightweight causal CNN-GRU. It has only 31,000 parameters (about 4,500x smaller than the teacher) and is "causal," meaning it only looks at past and current data—perfect for real-time streaming.
  3. The Secret Sauce ($G_{cv}$-TAD): Instead of standard knowledge distillation, which treats every 30-second epoch as an independent event, they introduced Transition-Aware Distillation (TAD).

As shown in Figure 1, the $G_{cv}$-TAD loss function uses a "disease-aware prior" calculated from the labeled data. This prior tells the student to pay more attention to rare or difficult transitions (like moving into N1) while ignoring transitions that are too inconsistent across different patients.

Fig. 1. Overview of the proposed G𝑐𝑣-TAD framework. The teacher is adapted using 25% labelled patients and frozen during distillation. Its predictions guide a causal student through a transition-aware loss weighted by preceding-stage confidence and a cohort-specific prior. Only the student is intended for deployment.

Datasets

The models were evaluated across three distinct clinical cohorts to ensure robustness:

  • iSLEEPS: 100 patients who suffered an ischemic stroke.
  • NAPS: 133 patients with isolated REM sleep behavior disorder (iRBD).
  • ISRUC-S1: 99 patients with a variety of general sleep disorders.

These datasets are significantly more challenging than standard healthy-sleeper datasets because they contain 2–3x more awakenings per hour.

Key Insights and Ideas

  • Transitions are the Signal: In clinical sleep, the change between stages is often where models fail. By weighting the loss function based on transition probabilities, the model learns the "rhythm" of a specific disease.
  • The N1 Breakthrough: N1 is notoriously the hardest stage to score. This method saw its largest gains in N1 performance, matching or exceeding models trained on 100% of the labels.
  • Label Efficiency: The framework proves that you don't need a fully labeled dataset to achieve high performance. Using a teacher model to provide "soft labels" for the remaining 75% of the data allows the student to learn effectively from a much smaller expert-labeled pool.
  • Wearable-Scale is Possible: The student model is small enough (122 KB) to fit into the SRAM of common wearable microcontrollers, and it processes an epoch in just 1.16 ms.

Key Results

The $G_{cv}$-TAD approach outperformed standard supervised training (using the same 25% labels) by 3.2 to 7.6 points in macro F1 score across the three cohorts.

Performance comparison across cohorts.

As seen in Figure 2, the $G_{cv}$-TAD loss (orange peaks in row c) puts much higher weight on the "messy" transition periods where the teacher is less certain, helping the student navigate the most difficult parts of the night.

Illustration of Gcv-TAD on a fragmented training night.

In head-to-head comparisons with other published models (Table 2), the tiny 31k-parameter student matched or beat models with millions of parameters, even when those models had access to more data channels.

Limitations and Future Work

While the results are promising, the authors note a few areas for further development:

  • Teacher Dependency: The student is still limited by the teacher's accuracy. If the teacher (SleepGPT) misidentifies a stage, the student may learn that error.
  • Hardware Validation: While the model is mathematically small enough for wearables, the authors haven't yet published results from deployment on physical wearable hardware in a real-world setting.
  • Electrode Configurations: Future work will explore how different wearable electrode placements (e.g., behind the ear vs. forehead) affect the model's ability to maintain this high performance.

Summary updated

Abstract

Automatic sleep staging models are predominantly developed on healthy sleepers and generalize poorly to clinical populations with fragmented sleep. Across three cohorts (patients with stroke, isolated REM sleep behaviour disorder, and other sleep disorders), we observe 2-3x more awakenings per hour, nearly twice as much N1, and less REM sleep than in healthy sleepers. We propose a label-efficient teacher-student framework for wearable-scale sleep staging. SleepGPT (136M parameters), adapted using labels from 25% of training patients, supervises a causal CNN-GRU (31k parameters; 122 KB) that stages EEG, EOG, or both in real time. We introduce Gcv-TAD, a new black-box transition-aware distillation loss. It emphasizes uncommon stage transitions while discounting those that vary across patients, using a prior estimated from labelled patients. In patient-wise 10-fold cross-validation, Gcv-TAD improves per-patient macro F1 over supervised training on the same labels by +3.2 to +7.6 points on average. Gains are largest on N1, and performance approaches full-label training.
BibTeX
@misc{maiti2026towards,
  author = {Suvadeep Maiti and Keya Sinha and Raju S. Bapi},
  title = {{Towards wearable-scale, transition-aware sleep staging for clinical populations}},
  year = {2026},
  eprint = {2611.21040},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.21040},
}
Figure