PLoS ONENeurosciencePeer-reviewed journal article
Robust, automated sleep scoring by a compact neural network with distributional shift correction
Zeke BargeriD, Charles G. Frye, Danqian LiuiD, Yang DaniD, Kristofer E. BouchardiD
Abstract
Studying the biology of sleep requires the accurate assessment of the state of experimental subjects, and manual analysis of relevant data is a major bottleneck. Recently, deep learning applied to electroencephalogram and electromyogram data has shown great promise as a sleep scoring method, approaching the limits of inter-rater reliability. As with any machine learning algorithm, the inputs to a sleep scoring classifier are typically standardized in order to remove distributional shift caused by variability in the signal collection process. However, in scientific data, experimental manipulations introduce variability that should not be removed. For example, in sleep scoring, the fraction of time spent in each arousal state can vary between control and experimental subjects. We introduce a standardization method, mixture z-scoring, that preserves this crucial form of distributional shift. Using both a simulated experiment and mouse in vivo data, we demonstrate that a common standardization method used by state-of-the-art sleep scoring algorithms introduces systematic bias, but that mixture z-scoring does not. We present a free, open-source user interface that uses a compact neural network and mixture z-scoring to allow for rapid sleep scoring with accuracy that compares well to contemporary methods. This work provides a set of computational tools for the robust automation of sleep scoring.
- organism: mouse
- assay: electronic health records
- research focus: cell type annotation
- approach: deep learning
- Citations
- 101
- FWCI
- 3.63
- Field percentile
- top 6%
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
- 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
- Lack of Consensus for Manual Mouse Sleep Scoring Limits Implementation of Automatic Deep Learning Models
Laura Rose, Alexander Neergaard Zahid, … Birgitte Rahbek Kornum·bioRxiv·Mar 30, 2026
- Nyx: a flexible framework for sleep scoring across species, lifespan and modalities
Letizia Signorelli, Solomiia Korchynska, … Charlotte N. Boccara·bioRxiv·Jul 28, 2026
- Somnus, a tunable, open-source platform for automated EEG sleep scoring in physiological and disease mouse models
Joshua M. Brenner, Matthew S. Caudill, Huda Yahya Zoghbi·bioRxiv·Oct 12, 2026
- 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
- A universal, open-source, high-performance tool for automated sleep staging
Raphaël Vallat, Matthew P. Walker·eLifePeer-reviewed·Oct 14, 2021