Stanford Medicine researchers have developed SleepFM, an AI capable of predicting future disease risks from just one night of sleep data. This system analyzes subtle physiological signals, offering early warnings for conditions like cancer, dementia, and heart disease. The AI sleep disease prediction could revolutionize preventive health.
This groundbreaking system, detailed in a study set to publish in Nature Medicine, processes complex patterns across brain activity, heart function, and breathing during sleep. It identifies hidden clues that doctors have largely overlooked, potentially spotting health problems years before they manifest. The implications for early intervention are profound, shifting the paradigm from treatment to true prevention.
The innovation emerges from the realization that polysomnography, the gold standard for sleep evaluation, collects a wealth of physiological information. While traditionally used to diagnose sleep disorders, this data holds far more diagnostic potential when analyzed with advanced artificial intelligence. The sheer volume and complexity of these signals previously made comprehensive analysis impractical for human interpretation.
Unlocking sleep’s hidden language with AI
SleepFM was trained on an immense dataset: nearly 600,000 hours of sleep recordings from 65,000 individuals. This vast amount of data, collected from in-depth polysomnography tests, allowed the AI to learn intricate relationships between various bodily signals. According to a ScienceDaily report on January 9, 2026, this represents the first application of AI to sleep data on such a massive scale.
James Zou, PhD, associate professor of biomedical data science at Stanford Medicine and co-senior author, highlighted the relative lack of AI research in sleep despite its importance. SleepFM operates as a foundation model, similar to large language models, but instead of text, it learns the “language of sleep.” It integrates multiple streams of information, including brain signals, heart rhythms, and muscle activity, using a technique called leave-one-out contrastive learning to understand how these signals interact.
The profound implications for preventive medicine
After its extensive training, SleepFM demonstrated superior performance in standard sleep assessments, such as identifying sleep stages and evaluating sleep apnea severity. More critically, researchers linked these polysomnography records with long-term health outcomes, proving the AI’s ability to forecast future diseases. This predictive capability extends to over 100 different medical conditions, including major non-communicable diseases.
Emmanual Mignot, MD, PhD, the Craig Reynolds Professor in Sleep Medicine and co-senior author, emphasized the richness of sleep data. “We record an amazing number of signals when we study sleep,” he noted, referring to the eight hours of captive physiological study. This untapped resource, now deciphered by AI, offers an unprecedented window into an individual’s long-term health trajectory, enabling earlier interventions and personalized medicine strategies.
The development of SleepFM marks a pivotal moment in healthcare, offering a non-invasive method for comprehensive risk assessment. As this technology matures, it holds the potential to transform routine health check-ups, making proactive health management a more accessible and effective reality for millions worldwide.


