AI Predicts Risk Of 130 Diseases From 1 Night Of Sleep
Although humans spend 1/3 of their lives sleeping, sleep has been underexplored with AI. This is an interesting area to apply AI because sleep disorders often precede the clinical onset of many health conditions. Predictive and prognostic AI models may help doctors detect health conditions earlier and provide individualized treatment before diseases progress.
Today AI researchers at Stanford Medicine published a paper demonstrating how an AI model called SleepFM can predict future disease onset from sleep data. The model can predict risk of 130 diseases from 1 night of sleep. Most sleep research focuses on narrow tasks like sleep staging and apnea detection. This model predicts risk for diverse diseases including dementia, heart failure, kidney disease, and stroke, years before clinical diagnosis. SleepFM captures respiratory events, sleep fragmentation, arousal burden and sleep efficiency, along with markers of cardiovascular, metabolic and other diseases. This is the first study to use AI to analyze large-scale sleep data.
“One of the technical advances that we made in this work is to figure out how to harmonize all these different data modalities so they can come together to learn the same language. SleepFM is essentially learning the language of sleep.”James Zou, PhD, co-senior author of the study
This was a collaboration between James Zou's lab and Emmanuel Mignot's lab at Stanford University. The study was led by Rahul Thapa and Magnus Ruud Kjae. Collaborators included Bryan He, Ian Covert, Hyatt Moore, Umaer Hanif, Gauri Ganjoo, M Brandon Westover, Poul Jennum, Andreas Brink-Kjær. Their paper entitled "A multimodal sleep foundation model for disease prediction" was published today in Nature Medicine.
“We record an amazing number of signals when we study sleep. It’s a kind of general physiology that we study for 8 hours in a subject who’s completely captive. It’s very data rich. The most information we got for predicting disease was by contrasting the different channels. Body constituents that were out of sync — a brain that looks asleep but a heart that looks awake, for example — seemed to spell trouble."Emmanuel Mignot, MD, PhD, co-senior author of the study
Study Highlights
- Researchers trained a foundation model on 585,000 hours of sleep recordings from 65,000 people with brain, heart, muscle, and breathing signals combined.
- Researchers leveraged self-supervised learning to train the model that learns from unlabeled data and is agnostic to channel type and number, enabling broad exploration of sleep data across diverse clinical settings.
- Researchers evaluated the model across 1,041 disease phenotypes, demonstrating sleep’s broad predictive power for diverse health outcomes.
- SleepFM uses a new architecture to integrate multimodal sleep time-series data. The model integrates data across EEG, ECG, EMG, and respiratory signals.
- The researchers developed a new training technique, called "leave-one-out contrastive learning" that hides one modality of data and challenges the model to reconstruct the missing piece based on the other signals.
- To enable disease prediction, they paired SSC data with EHRs, extracting all diagnostic codes and their timestamps. These codes were mapped to phecodes—a hierarchical system of 1,868 disease categories designed for PheWAS.
- SleepFM generates a ranking to predict who’s more likely to experience an event such as a heart attack earlier. A C-index of 0.8 means that 80% of the time, the model’s prediction is concordant with what actually happened.
Results
- SleepFM consistently outperformed the demographics and End-to-End PSG baselines across most disease categories.
- Researchers identified 14 conditions with strong potential links to sleep patterns.
- Two of the top conditions predicted by SleepFM were Alzheimer’s disease and Parkinson’s disease.
- SleepFM showed strong results in neoplasms, pregnancy complications, circulatory conditions and mental disorders.
- SleepFM showed high accuracy for mild cognitive impairment aligning with studies showing sleep disturbances as early markers of cognitive decline.
- The model effectively predicted hypertensive heart disease and intracranial hemorrhage consistent with established links between sleep disorders and cardiovascular risk.
- SleepFM showed strong predictive performance for several cancers: prostate cancer, breast cancer, and melanomas of skin. These findings align with existing literature linking sleep patterns to cancer risk.
- SleepFM demonstrates strong predictive performance, with particularly high accuracy for death, heart failure, chronic kidney disease, dementia, and stroke. All reported associations are statistically significant.
- SleepFM surpasses supervised baselines in disease prediction. The magnitude of improvement varies across disease categories. Gains are more pronounced in neurological and hematopoietic conditions.
- They found that although most sleep stages contribute similarly to disease prediction, certain stages such as Stage 1, 2 and REM can offer slightly better predictive power for specific conditions, including cardiovascular and neurodegenerative diseases.
- The team is working on ways to further improve SleepFM’s predictions. One way would be to add data from wearables to help understand exactly what the model is interpreting.
References
A multimodal sleep foundation model for disease prediction, Nature Medicine, January 6, 2026. James Zou, Emmanuel JM Mignot, Rahul Thapa, Magnus Ruud Kjae, Bryan He, Ian Covert, Hyatt Moore, Umaer Hanif, Gauri Ganjoo, M Brandon Westover, Poul Jennum, Andreas Brink-Kjær.
Emmanuel Mignot and James Zou are members of the Wu Tsai Neurosciences Institute. Rahul Thapa, a PhD student in biomedical data science, and Magnus Ruud Kjaer, a PhD student at Technical University of Denmark, are co-lead authors of the study. Researchers from the Technical University of Denmark, Copenhagen University Hospital – Rigshospitalet, BioSerenity, University of Copenhagen and Harvard Medical School contributed to this work.
Copyright © 2026 Margaretta Colangelo. All Rights Reserved.