29
0

From Sleep Staging to Spindle Detection: Evaluating End-to-End Automated Sleep Analysis

Abstract

Automation of sleep analysis, including both macrostructural (sleep stages) and microstructural (e.g., sleep spindles) elements, promises to enable large-scale sleep studies and to reduce variance due to inter-rater incongruencies. While individual steps, such as sleep staging and spindle detection, have been studied separately, the feasibility of automating multi-step sleep analysis remains unclear. Here, we evaluate whether a fully automated analysis using state-of-the-art machine learning models for sleep staging (RobustSleepNet) and subsequent spindle detection (SUMOv2) can replicate findings from an expert-based study of bipolar disorder. The automated analysis qualitatively reproduced key findings from the expert-based study, including significant differences in fast spindle densities between bipolar patients and healthy controls, accomplishing in minutes what previously took months to complete manually. While the results of the automated analysis differed quantitatively from the expert-based study, possibly due to biases between expert raters or between raters and the models, the models individually performed at or above inter-rater agreement for both sleep staging and spindle detection. Our results demonstrate that fully automated approaches have the potential to facilitate large-scale sleep research. We are providing public access to the tools used in our automated analysis by sharing our code and introducing SomnoBot, a privacy-preserving sleep analysis platform.

View on arXiv
@article{grieger2025_2505.05371,
  title={ From Sleep Staging to Spindle Detection: Evaluating End-to-End Automated Sleep Analysis },
  author={ Niklas Grieger and Siamak Mehrkanoon and Philipp Ritter and Stephan Bialonski },
  journal={arXiv preprint arXiv:2505.05371},
  year={ 2025 }
}
Comments on this paper