AI and the World's Hard Problems · Medicine & drug discovery · Nature (computational biology) · 2026-10-30
AnySleep: a channel-agnostic deep learning system for high-resolution sleep staging in multi-center cohorts

Manual sleep staging is labor-intensive, and polysomnography recordings vary in electrode setup across centers, which makes harmonized multi-center studies difficult. The researchers developed AnySleep, a deep neural network that scores sleep from any EEG or EOG data at adjustable temporal resolutions, trained and validated on over 20,000 overnight recordings from 28 datasets. It matches or beats established baselines at 30-second epochs and, at shorter timescales, captures brief wake intrusions and improves prediction of obstructive sleep apnea, narcolepsy type 1 and insomnia; the model is publicly available.