Waking up to AI’s potential to measure sleep
Angus
It’s not unusual to hear people complaining about tiredness multiple times a day – but why? Sleep is fundamental to human health, but because it’s so private, there are few tools for measuring at scale how much sleep everyone is getting.
Existing methods use time diaries, sleep surveys, sleep laboratories or, more recently, wearable technology to measure sleep. But none of these approaches is ready to tackle a global sleep-loss pandemic.
A Monash University study asked a different question: Could the massive data we all generate when connecting to, and disconnecting from, the internet help researchers better-understand sleep?
As internet addresses go online and offline through the day, they track the daily human behavioural cycle – a trough in the early hours, followed by rising activity through the day to a peak in the evening, and then a sharp drop-off overnight.
And yet, no two cycles are the same. Day of the week matters (heading downtown Friday night depresses internet activity), stay-at-home orders certainly matter (we go online earlier and longer), and even dips in activity during prayer times during Ramadan are visible in traditionally Muslim regions.
The American Time Use Survey (ATUS) asks Americans about their previous day’s activities, including when they woke up and when they went to sleep. The Monash study used survey data for 81 US cities over a six-year period to calculate when residents slept and woke up each year, then used internet activity-data to make the same calculation.
The researchers then trained a machine-learning algorithm to track how changes in internet use over a day relate to the average waking and sleeping times in each city.
Read more: While you were sleeping: Shutting the world out when you dream
When asked to predict the expected average sleep duration for a city the algorithm had never seen before, it was accurate to within 20 minutes. When estimating the average morning wake-up time, it was accurate to within nine minutes.
The researchers repeated this result when using daily electricity-demand data instead of internet data to predict sleep. But there’s something fundamentally different about internet-activity measurements compared to electricity-demand data – global availability.
The US has a highly functioning electricity bureaucracy, but not all countries do. Internet-activity measurement, on the other hand, can be remotely and consistently measured for any internet-connected device on the planet.
This suggests the amount of sleep we’re collectively getting can be estimated for any (internet-connected) city on the planet in near-real time.
This kind of research has a huge range of applications, including impact mapping during natural disasters, documenting internet shutdowns associated with human rights violations, and even providing internet-availability assessments during the Russo-Ukrainian war.
Whether this approach can be applied globally remains to be seen. The technology and sleep habits of Americans may be unique. If so, an artificial intelligence (AI) model that learns the internet–sleep association in the US will fall down outside its borders.
Another potential pitfall is internet patterns are likely affected by the technology mix at play – the internet signature of a “mobile-first” continent such as Africa could be vastly different to that of North America, which relies heavily on fixed broadband internet.
Read more: Tracking sleep: Does Fitbit measure up to clinical standards?
Like so many challenges in the application of AI to health sciences, the answer to both hurdles lies with widening the training pool for the model. The more measurements researchers have from traditional sleep studies, in more countries, cultures and technology contexts, the more confidence they can have in any model prediction.
Should a global sleep observatory (from internet measurements) arise, population health and sleep scientists will perhaps gain the most.
If major shifts in internet use reveal similar changes in sleep patterns, researchers may flock to the field and use more precise tools to investigate further.
Likewise, significant global shocks such as pandemics and recessions can be studied in near-real time for their impact on our sleep, prompting the right public health messaging regarding mental health and sleep, better technology and app design, and timely education about the importance of sleep in times of stress.
This article was originally published under Creative Commons by 360info™.
About the Authors
-
Simon angus
Associate Professor, Department of Economics, Monash Business School
Other stories you might like
-
Together in pandemic dreams: Death, anxiety, PPE and more
A new global sleep and mental health survey shows 45% of participants had changed dream experiences during the pandemic.
-
All light on the night: Delving deeper into our fear of the dark
New research indicates it’s not the presence of darkness that frightens some people but, rather, the absence of light.
-
Let there be light – but make sure it’s the natural, healthy kind
Researchers have developed a device that could revolutionise the science of sleep, and its effect on the human mind and body.