Imagine if your wifi router knows when you are dreaming
August 17, 2017
To make it easier to diagnose and study sleep problems, researchers at Massachusetts Institute of Technology and Massachusetts General Hospital have devised a way to monitor sleep stages without sensors attached to the body.
Their device uses an artificial intelligence algorithm to analyse the radio signals around the person and translate those measurements into the sleep stages of light, deep and rapid eye movement (REM).
More than 50 million Americans suffer from sleep disorders, and diseases including Parkinson’s and Alzheimer’s can also disrupt sleep. Diagnosing and monitoring these conditions usually requires attaching electrodes and various other sensors to patients, which can further disrupt their sleep.
“Imagine if your wifi router knows when you are dreaming, and can monitor whether you are having enough deep sleep, which is necessary for memory consolidation,” said Dina Katabi, the Andrew and Erna Viterbi professor of electrical engineering and computer science, who led the study. “Our vision is developing health sensors that will disappear into the background and capture physiological signals and important health metrics, without asking the user to change her behaviour in any way.”
Katabi worked on the study with Matt Bianchi, chief of the division of sleep medicine at MGH, and Tommi Jaakkola, the Thomas Siebel professor of electrical engineering and computer science at MIT. Mingmin Zhao, an MIT graduate student, is the paper’s first author, and Shichao Yue, another MIT graduate student, is also a co-author.
The researchers presented their paper at last week’s International Conference on Machine Learning in Australia.
Katabi and members of her group in MIT’s Computer Science & Artificial Intelligence Laboratory have previously developed radio-based sensors that enable them to remotely measure vital signs and behaviour that can be indicators of health. These sensors consist of a wireless device, about the size of a laptop computer, that emits low-power RF signals. As the radio waves reflect off of the body, any slight movement of the body alters the frequency of the reflected waves. Analysing those waves can reveal vital signs such as pulse and breathing rate.
“It’s a smart wifi-like box that sits in the home and analyses these reflections and discovers all of these changes in the body, through a signature that the body leaves on the RF signal,” Katabi said.
Katabi and her students have also used this approach to create a sensor called WiGait that can measure walking speed using wireless signals, which could help doctors predict cognitive decline, falls, certain cardiac or pulmonary diseases, or other health problems.
After developing those sensors, Katabi thought that a similar approach could also be useful for monitoring sleep, which is currently done while patients spend the night in a sleep lab hooked up to monitors such as electroencephalography (EEG) machines.
“The opportunity is very big because we don’t understand sleep well, and a high fraction of the population has sleep problems,” said Zhao. “We have this technology that, if we can make it work, can move us from a world where we do sleep studies once every few months in the sleep lab to continuous sleep studies in the home.”
To achieve that, the researchers had to come up with a way to translate their measurements of pulse, breathing rate and movement into sleep stages. Recent advances in artificial intelligence have made it possible to train computer algorithms known as deep neural networks to extract and analyse information from complex datasets, such as the radio signals obtained from the researchers’ sensor. However, these signals have a great deal of information that is irrelevant to sleep and can be confusing to existing algorithms. The MIT researchers had to come up with a new AI algorithm based on deep neural networks, which eliminated the irrelevant information.
“The surrounding conditions introduce a lot of unwanted variation in what you measure,” said Jaakkola. “The novelty lies in preserving the sleep signal while removing the rest.”
The algorithm can be used in different locations and with different people, without any calibration.
Using this approach in tests of 25 healthy volunteers, the researchers found that their technique was about 80 per cent accurate, which is comparable to the accuracy of ratings determined by sleep specialists based on EEG measurements.
“Our device allows you not only to remove all of these sensors that you put on the person, and make it a much better experience that can be done at home, it also makes the job of the doctor and the sleep technologist much easier,” Katabi said. “They don’t have to go through the data and manually label it.”
Other researchers have tried to use radio signals to monitor sleep, but these systems are accurate only 65 per cent of the time and mainly determine whether a person is awake or asleep, not what sleep stage they are in. Katabi and her colleagues were able to improve on that by training their algorithm to ignore wireless signals that bounce off of other objects in the room and include only data reflected from the sleeping person.
The researchers now plan to use this technology to study how Parkinson’s disease affects sleep.
“When you think about Parkinson’s, you think about it as a movement disorder, but the disease is also associated with very complex sleep deficiencies, which are not very well understood,” Katabi said.
The sensor could also be used to learn more about sleep changes produced by Alzheimer’s disease, as well as sleep disorders such as insomnia and sleep apnoea. It may also be useful for studying epileptic seizures that happen during sleep, which are usually difficult to detect.