Program predicts your risk of dementia, heart attack, stroke and cancer from a single night of sleep

1 month ago 14

By XANTHA LEATHAM, EXECUTIVE SCIENCE EDITOR

Published: 10:51 GMT, 8 January 2026 | Updated: 10:51 GMT, 8 January 2026

A poor night's sleep means a bleary–eyed next day, but it could also shed light on diseases that will strike years down the road.

Scientists have developed a new artificial intelligence program that can predict your risk of dementia, heart attack, stroke and cancer from a single night of sleep data – years before diagnosis. 

The model, called SleepFM, was trained on 585,000 hours of sleep data collected from 65,000 participants.

The data comes from a sleep assessment called polysomnography – a study that records brain waves, eye movements, muscle activity, heart rhythm, breathing and oxygen levels.

The team, from Stanford University, compared the polysomnography data to electronic health records, some of which spanned 25 years.

They discovered 130 different diseases could be predicted with reasonable accuracy by a patient's sleep data.

The model's predictions were particularly strong for cancers, pregnancy complications, circulatory conditions and mental disorders.

'SleepFM is essentially learning the language of sleep,' author James Zou said. 'We were pleasantly surprised that for a pretty diverse set of conditions, the model is able to make informative predictions.'

The researchers discovered 130 different diseases could be predicted with reasonable accuracy by a patient's sleep data

The data comes from a sleep assessment called polysomnography – a study that records brain waves, eye movements, muscle activity, heart rhythm, breathing and oxygen levels

The program works by giving a number called a C–index to each disease category.

'For all possible pairs of individuals, the model gives a ranking of who's more likely to experience an event – a heart attack, for instance – earlier,' Dr Zou said.

'A C–index of 0.8 means that 80 per cent of the time, the model's prediction is concordant with what actually happened.'

SleepFM was found to be 89 per cent accurate at predicting Parkinson's disease, 85 per cent accurate at predicting dementia and 81 per cent accurate at predicting a heart attack.

It could also predict breast and prostate cancer with an accuracy of 87 and 89 per cent respectively, and was even 84 per cent accurate at predicting the risk of death.

Although current sleep studies require specialised clinical equipment, the team said their findings suggest polysomnography may eventually become a powerful early detection tool.

The team also discovered that even though heart signals proved most informative for circulatory diseases, brain activity signals better captured mental and neurological conditions and breathing signals were bet for predicting respiratory disorders, it was a combination of all signal types that produced the best overall scores.

'One of the technical advances that we made in this work is to figure out how to harmonise all these different data modalities so they can come together to learn the same language,' Dr Zou said.

A poor night's sleep means a bleary–eyed next day, but it could also shed light on diseases that will strike years down the road, the team said (file image)

They are working on ways to further improve the AI's predictions – perhaps by adding data from wearables such as an Apple watch.

Writing in the journal Nature Medicine, the researchers wrote: 'Sleep is a fundamental biological process with broad implications for physical and mental health, yet its complex relationship with disease remains poorly understood.

'From one night of sleep, SleepFM accurately predicts 130 conditions with a C–Index of at least 0.75.

'This work shows that foundation models can learn the language of sleep from multimodal sleep recordings, enabling scalable, label–efficient analysis and disease prediction.'

HOW TO COPE WITH SLEEP PROBLEMS

Poor sleep can lead to worrying and worrying can lead to poor sleep, according to the mental-health charity Mind.

A lack of shut eye is considered a problem when it impacts on a person's daily life.

As a result, they may feel anxious if they believe lack of sleep prevents them from rationalising their thoughts.

Insomnia is also associated with depression, psychosis and PTSD.

Establishing a sleep routine where you go to bed and get up at the same time every day can help a person spend less time in bed and more time asleep.

Calming music, breathing exercises, visualising pleasant memories and meditation also encourage shut eye. 

Having tech-free time an hour or so before bed can also prepare you for sleep. 

If you still struggle to nod off, keeping a sleep diary where you record the hours you spend asleep and the quality of your shut eye on a scale of one to five can be a good thing to show your doctor.

Also note how many times you wake in the night, if you need to nap, if you have nightmares, your diet and your general mood.

Sleep problems can be a sign of an underlying physical condition, like pain.

Talking therapies can help your recongise unhelpful thought patterns that might affect sleep.

While medication, such as sleeping pills, can help break short periods of insomnia and help you return to better a sleeping pattern. 

Read Entire Article
Progleton News @2023