SLEEP advances

O046. Automated Sleep Staging via Bidirectional State Space Models

B Duce, A Kulkas, J Töyräs, C Hukins

Key points

From the paper's conclusion
  • We developed a dual-input architecture using a bidirectional State Space Model (SSM) to capture these long-range dependencies with high temporal precision and processing speed.

Abstract

Objective/Background Manual sleep staging remains the clinical gold standard, yet it is constrained by high inter-rater variability. While deep learning models approach the human mathematical ceiling, single-stream architectures overlook the real-time interplay between local wave morphology and broader spectral trends, frequently misclassifying transitional states like stage N1. We developed a dual-input architecture using a bidirectional State Space Model (SSM) to capture these long-range dependencies with high temporal precision and processing speed. Patients/Methods Processing a central EEG/EOG/EMG montage from 5,315 Sleep Heart Health Study polysomnograms (80:10:10 split), our dual-stream network utilised 1D-CNNs to extract transient morphological features (spindles, K-complexes) alongside a GPU-accelerated spectral layer calculating relative power ratios. These streams are fused within a 3-layer bidirectional Mamba (Bi-Mamba) module, utilising gated fusion to scan the entire recording. This selective state-space approach maps global architecture without the quadratic computational and VRAM costs of traditional Transformers. Results Evaluated on the 532-record test set, the model achieved a Cohen’s Kappa of 0.74 and a macro-$F_1$ score of 0.71, matching expert visual scoring limits. Stage-specific $F_1$ scores were 0.95 (Wake), 0.81 (N2), 0.73 (REM), and 0.46 (N1). Compared to standard Vision Transformers, this architecture maintained staging accuracy while reducing memory utilisation by over 40% and accelerating full-night inference to under one second per recording. Conclusions Integrating signal morphology with spectral features via a lightweight Bi-Mamba framework preserves critical micro-architectural markers. This offers a highly optimised, transformer-level context-tracking solution suitable for large-scale epidemiological databases and clinical edge-computing.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

O046. Automated Sleep Staging via Bidirectional State Space Models — Science Skim