Health

Heart Data Uncovers Sleep Mysteries

Heart Data Uncovers Sleep Mysteries

Researchers in computer science have devised a method that can match the performance of expert-scored polysomnography with a single-lead echocardiography. In addition to streamlining an often costly and time-consuming operation, this discovery reveals a deeper relationship between the heart and the brain than previously thought.

We understand that quality sleep is just as important to survival as food and drink. Despite the fact that we sleep for one-third of our lives, it is mainly unknown to science. Not that professionals haven’t tried.

Sleep analysis, also known as polysomnography, is used to diagnose sleep disorders by recording multiple types of data, including brain (electroencephalogram or EEG) and heart (electrocardiogram or ECG). Typically, patients are hooked up to dozens of sensors and wires in a clinic, tracking brain, eye, muscle, breathing, and heart activity while sleeping. Not exactly Zzz-inducing.

But what if you could perform the same test at home, just as accurately and in real time?

Researchers have been trying for decades to find simpler and cheaper methods to monitor sleep‚ especially without the awkward cap. Our research demonstrates that this assumption is no longer valid.

Adam Jones

For the first time, computer science researchers at the University of Southern California have created a method that matches the performance of expert-scored polysomnography with a single-lead echocardiography. The open-source software enables anyone with little coding knowledge to build their own low-cost, DIY sleep-tracking gadget.

“Researchers have been trying for decades to find simpler and cheaper methods to monitor sleep‚ especially without the awkward cap,” said lead scientist Adam Jones. Jones recently got his PhD from USC. “But, so far, poor performance, even under ideal conditions, has led to the conclusion that it is impossible and that measuring brain activity is required. Our research demonstrates that this assumption is no longer valid.”

The model, which assesses sleep stages at the highest level, also significantly outperformed other EEG-less models, said the researchers, including commercial sleep-tracking devices. “We wanted to develop a system that addresses the limitations of current methods and the need for more accessibility and affordability in sleep analysis,” said Jones.

The study, published June 2024 in the journal Computers in Biology and Medicine, was co-authored by Laurent Itti, a professor of computer science and Jones’ advisor, and Jones’ longtime collaborator, Bhavin R. Sheth, a USC alumnus and electrical engineer at the University of Houston.

Heart data unlocks sleep secrets

Could the heart be leading the band?

Sleep, a key cognitive decline predictor, becomes shorter and more fragmented with age — a finding validated by both previous studies and the researchers’ neural network. But this decline happens earlier than you might expect. A recent study in Neurology found that people who have more interrupted sleep in their 30s and 40s are more than twice as likely to have memory problems a decade later. Chronic poor sleep can also contribute to the accumulation of beta-amyloid plaques, a hallmark of Alzheimer’s disease.

“It’s a little scary,” said Jones, who admits he was formerly in the “sleep when I’m dead” camp before embarking on this research as a hobby project in 2010. “That’s why I want these interventions to come quickly and to make them accessible to as many people as possible. This software could help tease apart what’s happening when we sleep every night.”

The researchers trained their model using a huge, diverse dataset of 4,000 recordings from people aged 5 to 90, using solely cardiac data and a deep-learning neural network. Through trial and error over hundreds of iterations, they discovered that the automated ECG-only network could rate sleep as well as the “gold standard” polysomnography. It correctly classified sleep into all five stages, including rapid eye movement (REM), which is necessary for memory consolidation and emotional stability, and non-REM sleep, such as deep sleep, which is critical for physical and mental recovery.

In addition to streamlining an often costly and time-consuming operation, this discovery reveals a deeper relationship between the heart and the brain than previously thought. It also emphasizes the importance of the autonomic nervous system, which connects the brain and the heart.

“The heart and the brain are connected in ways that are not well-understood, and this research aims to bridge that gap,” Jones told reporters. “There is a lot of evidence in my paper that, in fact, the heart may be leading the band, as it were.”

The work could also help improve sleep studies in remote populations, helping to shed light on the origins and functions of sleep. In a follow-up paper currently being prepared, Jones aims to explore further what the network focuses on in the ECG data. “I think there is a lot of information hidden in the heart that we don’t know about yet,” he said.