Foundation Models Reveal Untapped Health Information in Human Polysomnographic Sleep Data - Coon, William G.; Ogg, Mattson (medRxiv, 2025)
Traditional sleep assessment methods rely on visual scoring of polysomnography (PSG), categorizing sleep into discrete stages (Wake, N1, N2, N3, REM) based on standardized guidelines developed by Rechtschaffen and Kales and later refined by the American Academy of Sleep Medicine (AASM). While undeniably useful, these methods are limited by subjectivity, arbitrary thresholds, and coarse temporal resolution, potentially overlooking important physiological information embedded within sleep EEG data. Recent advances in artificial intelligence, particularly Foundation Models (FM) trained through self-supervised learning (SSL), provide promising opportunities to address these limitations by autonomously uncovering rich, data-driven representations of sleep structure. In this study, we applied a SSL approach to large-scale PSG datasets, enabling the identification of latent sleep states and transitional dynamics not fully represented by traditional scoring methods. We found that these SSL-derived representations substantially enhanced predictive accuracy for critical health metrics, including demographics, clinical sleep metrics, mood, and cognitive performance. Comparisons demonstrated that this predictive advantage was not merely due to neural network complexity, as models trained directly from scratch without SSL pretraining significantly underperformed, nor was it due to having internalized simply any representation of sleep, as models pretrained to internalize traditional sleep stages could not match the SSL-pretrained model’s predictive accuracy. Taken together, these results indicate that FMs can identify structure from sleep data that encodes more than traditional sleep stage structure, uncovering previously untapped health information. These findings underscore the considerable potential of Foundation Models and SSL techniques to extend, complement, and enrich traditional sleep analyses, offering deeper insights into sleep’s complex relationship with overall health and cognitive function.Competing Interest StatementThe authors have declared no competing interest.Funding StatementThis study was funded by an internal Research & Development grant by the Johns Hopkins Applied Physics Laboratory. No other funding, payment, or services were received in support of this work.Author DeclarationsI confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.YesThe details of the IRB/oversight body that provided approval or exemption for the research described are given below:Study used ONLY openly available human data hosted at the National Sleep Research Resource (NSRR) at sleepdata.org; the Dreem Open Datasets (https://dreem-dodo-dodh.s3.eu-west-1.amazonaws.com/index.html); and Physionet's Sleep-EDF dataset at https://www.physionet.org/content/sleep-edfx/1.0.0/I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.YesI understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).YesI have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.YesThis study produced no new data. All data analyzed were publicly available at the National Sleep Research Resource (NSRR) at sleepdata.org; the Dreem Open Datasets (https://dreem-dodo-dodh.s3.eu-west-1.amazonaws.com/index.html); and Physionet's Sleep-EDF dataset at https://www.physionet.org/content/sleep-edfx/1.0.0/ https://sleepdata.org https://dreem-dodo-dodh.s3.eu-west-1.amazonaws.com/index.html https://www.physionet.org/content/sleep-edfx/1.0.0/