AnySleep: a channel-agnostic deep learning system for high-resolution sleep staging in multi-center cohorts
Sleep is essential for health, yet studying its dynamics requires manual sleep staging, a labor-intensive step in research and clinical care. Across centers, polysomnography (PSG) recordings are traditionally scored in 30-s epochs for pragmatic, not physiological, reasons and vary in electrode count, montage, and subject characteristics. These constraints challenge harmonized multi-center studies and the discovery of robust biomarkers on shorter timescales. We present AnySleep, a deep neural network that scores sleep from any electroencephalography (EEG) or electrooculography (EOG) data at adjustable temporal resolutions. We trained and validated the model on over 20,000 overnight recordings (>200,000 h of EEG and EOG) from 28 datasets across multiple clinics to promote robust generalization across sites. The model attains state-of-the-art performance and surpasses or equals established baselines at 30-s epochs. Performance improves with more channels, yet remains strong when EOG is absent, or only EOG or single EEG derivations (frontal, central, or occipital) are available. On sub-30-s timescales, the model captures short wake intrusions consistent with arousals and improves the prediction of pathophysiological conditions (obstructive sleep apnea, narcolepsy type 1, insomnia) over 30-s scoring. We make the model publicly available to facilitate large-scale studies with heterogeneous electrode setups and accelerate biomarker discovery in sleep.
Authors
- Niklas Grieger (ORCID: https://orcid.org/0009-0000-3774-5418)
- Stephan Bialonski (ORCID: https://orcid.org/0000-0003-1150-8080)
- Siamak Mehrkanoon (ORCID: https://orcid.org/0000-0002-0516-0391)
- Jannik Raskob (ORCID: https://orcid.org/0009-0005-4103-4105)
Institutions
- Utrecht University (NL)
- FH Aachen (DE)
Publication Details
- Journal
- npj Digital Medicine
- Published
- 2026-10-30
- DOI
- https://doi.org/10.1038/s41746-026-03406-7
- Primary Topic
- EEG and Brain-Computer Interfaces
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- American Sleep Medicine Foundation
- University of Minnesota
- University of Washington
- Johns Hopkins University
- Case Western Reserve University
- York University
- National Institutes of Health
- University of California, Davis
- National Institute on Aging
- National Heart, Lung, and Blood Institute
- National Institute of Arthritis and Musculoskeletal and Skin Diseases
- National Center for Research Resources
- National Center for Advancing Translational Sciences