View more articles about

(Credit: Getty Images)

sleep

New app puts a sleep coach in your bedroom

There are plenty of apps available to help people monitor their sleep patterns. The apps generally record data on when you go to bed and when you wake up. Many use a phone’s microphone and accelerometer to take note of noises in the night and to monitor how much you toss and turn.

But now, computer scientists and clinical psychologists have come up with a new approach that takes sleep monitoring a step further. SleepCoacher uses sleep analytics to generate personalized recommendations based on scientific literature on sleep and then guides users through a self-experimentation framework to help find the recommendations that work best.

“The idea is to not only present people with information about their sleep, but to give them some control over it by giving recommendations along with a step-by-step plan for improving their sleep,” says Nediyana Daskalova, a doctoral student in computer science at Brown University who is leading the development of SleepCoacher.

Daskalova recently presented a paper on the approach at the User Interface Software and Technology Symposium in Japan. The presentation included the results of two small pilot studies of SleepCoacher users, which found that 80 percent of people who followed the recommendations at least 60 percent of the time reported improvement in their sleep. The team is now working on a self-contained app that they hope to make available to users early next year.

‘A lifetime of improvement’

Daskalova and her team developed the app under the direction of Jeff Huang, an assistant professor of computer science and leader of the Human-Computer Interaction Group.

“Our work is the first of its kind to guide people to figure out whether the data is causal, instead of just correlation,” Huang says.

“That’s particularly exciting for me. We have an approach that could work in the long term to continuously improve sleep over months or even years. And because we are aiming for a lifetime of improvement, this could be personalized for whether you are a night owl or morning person, a light or heavy sleeper, or even someone who needs more than the usual eight hours of sleep.”

Sleep correlation or causation

For the pilot studies, the team used a slightly modified version of a commercially available cellphone app called Sleep as Android. In addition to the app’s standard monitoring capabilities, the modified version allows people to enter a rating of how refreshed they feel in the morning, as well as noting other factors that might affect sleep, like whether they had caffeine or alcohol during the day, or whether they exercised.

Electronics at night rob kids of sleep

Then, using that data, the SleepCoacher algorithm looks to see what factors, either detected by the app or reported by the participants, were correlated with three key sleep outcomes: how long it took to fall asleep, how many times they woke up during the night, and how refreshed they reported feeling in the morning.

When a strong correlation is detected, the algorithm generates a recommendation based on a collection of 117 recommendation templates developed in consultation with a group of clinical psychologists and psychiatrists from Brown’s Alpert Medical School. The recommendations were sent via text message to participants in the two studies, the first of which included 24 participants and the second 19.

“For example,” Daskalova says, “a recommendation might say: ‘We noticed that you go to bed at 10 pm on average. When you go to bed at 10:30 or later, you report feeling worse in the morning. We recommend you try to go to bed closer to 10.'”

SleepCoacher then guides users through mini experiments to see if the recommendation is useful. Users are instructed to follow the recommendation for several nights and then ignore it for several nights. By measuring differences in sleep outcome when the user follows the recommendation and when they don’t, the app determines whether or not that recommendation if right for that user.

“Just because something is highly correlated with an outcome doesn’t mean that if you change it it’s going to improve your sleep,” Daskalova says. “The self-experiments help us build smarter recommendations that, over time, learn what might be actually important for individual users.”

People’s sleep varies a lot

Daskalova was surprised to see just how much variation there was among people who participated in the studies.

“Some people who took a nap late in the day, for example, reported feeling better the next day, while others reported feeling worse,” she says. “Ambient noise at night was a problem for some people and not others. There’s really a lot of variation, which makes this problem so interesting to solve.”

The SleepCoacher self-experiment process is designed to account for that variation and help people develop a tailored plan for better sleep. An important component of the approach is engaging the team of clinical professionals on the team that includes Nicole Nugent, Julie Boergers, and John McGeary.

“In addition to our clinical experience, we are active researchers,” Nugent says. “So we could make sure that the recommendations came from the individual’s data and what we know from science.”

Is your sleep a little off?

Approaches like SleepCoacher are not a replacement for clinical intervention for people who have serious psychiatric disorders that often interfere with sleep, like post-traumatic stress disorder or serious anxiety disorders. Nugent stresses.

Why it’s so hard to sleep in a new place

“This approach is really aimed at people whose sleep is a little off and who would like some help. I think that a surprising number of Americans and people around the world have poor sleep hygiene and don’t actually know it.

“What’s so great about SleepCoacher is that it allows people to be mindful and aware of their sleep patterns, and it gives them personalized direct feedback that is consistent with what we know in the literature about what healthy sleep looks like.”

The code behind SleepCoacher is open-source and available on the project’s website. The team is in the process of making self-contained SleepCoacher apps for iOS and Andriod, which they hope to make available on January 1.

Source: Brown University

 

Related Articles