Optimizing automated sleep stage scoring of 5-second mini-epochs: a transfer learning study
Louise Frøstrup FolliniD, Julie Anja Engelhard ChristenseniD, Janita Vevelstad, Hilde T JuvoddeniD, Rannveig VisteiD, Berit Hjelde HanseniD, Mathias PersleviD, Tobias KaufmanniD, Alexander Neergaard Zahid, Stine KnudseniD
Abstract
Study objectiveConventional sleep staging relies on 30-second epochs, potentially concealing transient sleep stage intrusion and reducing precision. Building on our previous study of mini-epochs, we investigated whether U-Sleep, an existing automatic deep learning-based sleep staging model with high performance in epochs, could be optimized to similar performance level in 5-second mini-epoch scoring, thereby enabling more detailed sleep characterization. MethodsWe created a dataset of 48,000 human-scored 5-second mini-epochs from 100 PSGs. We compared mini-epochs to human-scored epochs before U-Sleep was optimized using transfer learning and evaluated on a test set. Model performance was assessed using F1-scores, confusion matrices, stage distributions and transition rates comparing scorings of the original U-Sleep before, and the optimized U-Sleep after transfer learning to human-scored mini-epochs. ResultsCompared to human-scored epochs, human-scored mini-epochs captured significantly more transitions (1.70/minute vs. 0.21/minute, p<0.001), and significantly more wake (8.4% versus 5.4%), N1 (7.2% versus 5.4%), and N2 (51.8% versus 40.9%), less N3 (15.4% versus 25.2%) and REM sleep (16.7% versus 23.0%) (all p<0.001). Optimizing U-Sleep improved its performance significantly from F1=0.74 to F1=0.81 (p<0.05) and gave increased transition rates in the test set (original U-Sleep: 1.06/minute, optimized U-Sleep: 1.34/minute, human-scored miniepochs: 1.70/minute). Stage distributions did not differ between optimized U-Sleeps scorings and human-scored mini-epochs. ConclusionsAfter optimization, U-Sleep performance in mini-epochs matched the high performance levels previously reported in both human and automated 30-second epoch scoring. This demonstrates the feasibility of precise, automated high resolution sleep staging. Future work should include external validation and application to full-night recordings. Statement of significanceConventional 30-second epochs limit temporal resolution in sleep staging and may conceal transient intrusions of wake or sleep stages. However, no validated methods are available for highresolution scoring. In this study, we trained and validated the state-of-the-art deep learning model U-Sleep for accurate automatic 5-second mini-epoch scoring using a large dataset of humanscored mini-epochs. The optimized model achieved a high performance, matching levels from previously reported automatic and human epoch scoring. Compared to epoch scoring, miniepochs captured significantly more stage transitions, supporting their ability to uncover sleep dynamics that are otherwise lost. Our findings show the potential of high-resolution sleep staging for more detailed characterization of sleep architecture and demonstrate the feasibility of precise, automatic mini-epoch scoring.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- FWCI
- 1.70
- Field percentile
- top 15%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Towards Translational Sleep Staging: A Cross-Species Deep-Learning Model for Rodent and Human EEG
Bartlomiej Chybowski, Alfredo Gonzalez‐Sulser, Javier Escudero·bioRxiv·Feb 26, 2026
- Automatic sleep staging by a hybrid model based on deep 1D-ResNet-SE and LSTM with single-channel raw EEG signals
Weiming Li, Junhui Gao·PeerJ Computer SciencePeer-reviewed·Sep 26, 2023
- Sleep-Deep-Net learns sleep wake scoring from the end-user and completes each record in their style.
Fumi Katsuki, Tristan J. Spratt, … David S. Uygun·bioRxiv·Dec 22, 2023
- The potential of ensemble-based automated sleep staging on single-channel EEG signal from a wearable device
Federico Salfi, Domenico Corigliano, … M. Ferrara·Journal of Sleep ResearchPeer-reviewed·Jan 19, 2026
- Automatic Sleep Stage Classification with Optimized Selection of EEG Channels
Håkon Stenwig, Andrés Felipe Soler, … Marta Molinas·International Conference on Machine Learning and ApplicationsPeer-reviewed·Dec 1, 2022
- SlumberNet: Deep learning classification of sleep stages using residual neural networks
Pawan Kumar Jha, Utham K. Valekunja, Akhilesh B. Reddy·Scientific ReportsPeer-reviewed·Feb 27, 2024