SleepCoacher: A Personalized Automated Self-Experimentation System for Sleep Recommendations

There are plenty of cellphone apps on the market designed to help people monitor their sleep patterns. The apps generally record data on when people go to bed and when they wake, and many use the device's microphone and accelerometer to take note of noises in the night and to monitor how much people toss and turn.

A group of Brown University computer scientists and clinical psychologists have come up with an approach that takes sleep monitoring one step further. The approach, dubbed SleepCoacher, uses sleep analytics to generate personalized recommendations informed by the scientific literature on sleep. SleepCoacher then guides users through a self-experimentation framework to help people find the recommendations that best work for them.

"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," said Nediyana Daskalova, a doctoral student in computer science at Brown who is leading the development of SleepCoacher.

Daskalova presented a paper on the SleepCoacher approach recently 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 SleepCoacher app that they hope to make available to users early next year.

Daskalova and her team developed SleepCoacher under the direction of Jeff Huang, an assistant professor of computer science at Brown and leader of Brown's 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 said. "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."

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.

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 people 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 said, "a recommendation might say: 'We noticed that you go to bed at 10 p.m. 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 that 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, SleepCoacher 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 said. "The self-experiments help us build smarter recommendations that, over time, learn what might be actually important for individual users."

Daskalova said she 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 said. "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, Daskalova says, was engaging the team of clinical professionals from the Alpert Medical School who work in the area of sleep. That team included Nicole Nugent, Julie Boergers and John McGeary.

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

Nugent stressed that 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.

"This approach is really aimed at people whose sleep is a little off and who would like some help," she said. "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. They also intent to perform more expansive studies of the apps to test their efficacy.

For further information, please visit:
http://sleep.cs.brown.edu

Huang, Nugent, Boergers and McGeary were all co-authors on the SleepCoacher paper, along with computer science students Danaë Metataxa-Kakavouli and Adrienne Tran.

Most Popular Now

Philips Foundation 2024 Annual Report: E…

Marking its tenth anniversary, Philips Foundation released its 2024 Annual Report, highlighting a year in which the Philips Foundation helped provide access to quality healthcare for 46.5 million people around...

Giving Doctors an AI-Powered Head Start …

Detection of melanoma and a range of other skin diseases will be faster and more accurate with a new artificial intelligence (AI) powered tool that analyses multiple imaging types simultaneously...

Scientists Argue for More FDA Oversight …

An agile, transparent, and ethics-driven oversight system is needed for the U.S. Food and Drug Administration (FDA) to balance innovation with patient safety when it comes to artificial intelligence-driven medical...

New AI Transforms Radiology with Speed, …

A first-of-its-kind generative AI system, developed in-house at Northwestern Medicine, is revolutionizing radiology - boosting productivity, identifying life-threatening conditions in milliseconds and offering a breakthrough solution to the global radiologist...

AI Agents for Oncology

Clinical decision-making in oncology is challenging and requires the analysis of various data types - from medical imaging and genetic information to patient records and treatment guidelines. To effectively support...

Start-ups in the Spotlight at MEDICA 202…

17 - 20 November 2025, Düsseldorf, Germany. MEDICA, the leading international trade fair and platform for healthcare innovations, will once again confirm its position as the world's number one hotspot for...

AI Medical Receptionist Modernizing Doct…

A virtual medical receptionist named "Cassie," developed through research at Texas A&M University, is transforming the way patients interact with health care providers. Cassie is a digital-human assistant created by Humanate...

AI Detects Hidden Heart Disease Using Ex…

Mass General Brigham researchers have developed a new AI tool in collaboration with the United States Department of Veterans Affairs (VA) to probe through previously collected CT scans and identify...

Using Data and AI to Create Better Healt…

Academic medical centers could transform patient care by adopting principles from learning health systems principles, according to researchers from Weill Cornell Medicine and the University of California, San Diego. In...

AI Tool Set to Transform Characterisatio…

A multinational team of researchers, co-led by the Garvan Institute of Medical Research, has developed and tested a new AI tool to better characterise the diversity of individual cells within...

Human-AI Collectives Make the Most Accur…

Diagnostic errors are among the most serious problems in everyday medical practice. AI systems - especially large language models (LLMs) like ChatGPT-4, Gemini, or Claude 3 - offer new ways...

Highland Marketing Announced as Official…

Highland Marketing has been named, for the second year running, the official communications partner for HETT Show 2025, the UK's leading digital health conference and exhibition. Taking place 7-8 October...