Prev

Your Sleep Data Could Predict Disease Years in Advance—Here's How AI Is Making It Possible

Next

Stanford's new AI system can predict over 100 diseases using just one night of sleep data, spotting early warning signs years before symptoms appear.

A single night of sleep could reveal your future health risks years before any symptoms appear. Stanford researchers have developed an artificial intelligence system called SleepFM that analyzes sleep data to predict the risk of more than 100 medical conditions, from cancer to dementia to heart disease.

The system was trained on nearly 600,000 hours of sleep recordings from 65,000 people, using detailed sleep studies that track brain activity, heart function, breathing patterns, and other physical signals throughout the night. What makes this breakthrough remarkable is that it can spot disease risks with impressive accuracy using data that doctors have largely overlooked.

How Does AI Read Disease Warnings in Sleep Data?

Sleep studies capture an enormous amount of physiological information that typically goes unanalyzed in routine clinical practice. "We record an amazing number of signals when we study sleep," said Emmanual Mignot, MD, PhD, the Craig Reynolds Professor in Sleep Medicine and co-senior author of the study. "It's a kind of general physiology that we study for eight hours in a subject who's completely captive. It's very data rich."

SleepFM works by learning the "language of sleep"—analyzing how different body systems interact during rest. The AI examines brain signals, heart rhythms, muscle activity, pulse measurements, and breathing patterns, looking for subtle mismatches that signal future health problems. For example, a brain that appears asleep while the heart looks awake could spell trouble.

What Diseases Can Sleep Data Predict?

The Stanford team tested their system on decades of medical records and found it could predict 130 different conditions with reasonable accuracy. The strongest results came from several key disease categories:

  • Cancer Risks: Prostate cancer predictions achieved 89% accuracy, while breast cancer reached 87% accuracy
  • Brain Disorders: Parkinson's disease predictions hit 89% accuracy, with dementia at 85% accuracy
  • Heart Conditions: Heart attacks could be predicted with 81% accuracy, and hypertensive heart disease with 84% accuracy
  • Overall Mortality: The system could predict death risk with 84% accuracy

These accuracy levels are measured using something called a concordance index, which reflects how often the AI correctly predicts which of two people will develop a condition first. An 84% accuracy means the system makes the right call 84% of the time.

Why Does Poor Sleep Increase Disease Risk?

The connection between sleep and disease risk isn't just correlation—there are biological mechanisms at work. Recent research has identified several key ways that poor sleep quality, insomnia, and sleep disorders like sleep apnea can increase the risk of serious health problems, particularly dementia.

During sleep, the brain's waste clearance system called the glymphatic system becomes most active, removing toxins and waste materials associated with dementia. People with impaired glymphatic systems show higher dementia risk in studies of over 45,000 participants.

Sleep apnea presents another pathway to disease. Adults with moderate to severe obstructive sleep apnea show more than double the risk of developing cerebral microbleeds—tiny brain bleeds that can increase chances of dementia and stroke. "From a Korean population, sleep studies and brain magnetic resonance imaging scans over eight years revealed that adults with moderate to severe obstructive sleep apnea were more than twice as likely to develop microbleeds in the brain than those without sleep apnea," explained study author Chol Shin, MD, PhD, from Korea University.

The Stanford AI system capitalizes on these biological connections, detecting the early signs of system dysfunction that appear in sleep data long before clinical symptoms emerge. While the technology is still being refined, it represents a major step forward in predictive medicine, potentially allowing doctors to intervene years before diseases fully develop.

More from Sleep