Towards proactively improving sleep: machine learning and wearable device data forecast sleep efficiency 4-8 hours before sleep onset.

IF 5.6 2区 医学 Q1 Medicine
Sleep Pub Date : 2025-04-28 DOI:10.1093/sleep/zsaf113
Collin Sakal, Tong Chen, Wenxin Xu, Wei Zhang, Yu Yang, Xinyue Li
{"title":"Towards proactively improving sleep: machine learning and wearable device data forecast sleep efficiency 4-8 hours before sleep onset.","authors":"Collin Sakal, Tong Chen, Wenxin Xu, Wei Zhang, Yu Yang, Xinyue Li","doi":"10.1093/sleep/zsaf113","DOIUrl":null,"url":null,"abstract":"<p><p>Wearable devices with sleep tracking functionalities can prompt behavioral changes to promote sleep, but proactively preventing poor sleep when it is likely to occur remains a challenge due to a lack of prediction models that can forecast sleep parameters prior to sleep onset. We developed models that forecast low sleep efficiency 4 and 8 hours prior to sleep onset using gradient boosting (CatBoost) and deep learning (Convolutional Neural Network Long Short-Term Memory, CNN-LSTM) algorithms trained exclusively on accelerometer data from 80,811 adults in the UK Biobank. Associations of various sleep and activity parameters with sleep efficiency were further examined. During repeated cross-validation, both CatBoost and CNN-LSTM exhibited excellent predictive performance (median AUCs > 0.90, median AUPRCs > 0.79). U-shaped relationships were observed between total activity within 4 and 8 hours of sleep onset and low sleep efficiency. Functional data analyses revealed higher activity 6 to 8 hours prior to sleep onset had negligible associations with sleep efficiency. Higher activity 4 to 6 hours prior had moderate beneficial associations, while higher activity within 4 hours had detrimental associations. Additional analyses showed that increased variability in sleep duration, efficiency, onset timing, and offset timing over the preceding four days was associated with lower sleep efficiency. Our study represents a first step towards wearable-based machine learning systems that proactively prevent poor sleep by demonstrating that sleep efficiency can be accurately forecasted prior to bedtime and by identifying pre-bed activity targets for subsequent intervention.</p>","PeriodicalId":22018,"journal":{"name":"Sleep","volume":" ","pages":""},"PeriodicalIF":5.6000,"publicationDate":"2025-04-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sleep","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1093/sleep/zsaf113","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"Medicine","Score":null,"Total":0}
引用次数: 0

Abstract

Wearable devices with sleep tracking functionalities can prompt behavioral changes to promote sleep, but proactively preventing poor sleep when it is likely to occur remains a challenge due to a lack of prediction models that can forecast sleep parameters prior to sleep onset. We developed models that forecast low sleep efficiency 4 and 8 hours prior to sleep onset using gradient boosting (CatBoost) and deep learning (Convolutional Neural Network Long Short-Term Memory, CNN-LSTM) algorithms trained exclusively on accelerometer data from 80,811 adults in the UK Biobank. Associations of various sleep and activity parameters with sleep efficiency were further examined. During repeated cross-validation, both CatBoost and CNN-LSTM exhibited excellent predictive performance (median AUCs > 0.90, median AUPRCs > 0.79). U-shaped relationships were observed between total activity within 4 and 8 hours of sleep onset and low sleep efficiency. Functional data analyses revealed higher activity 6 to 8 hours prior to sleep onset had negligible associations with sleep efficiency. Higher activity 4 to 6 hours prior had moderate beneficial associations, while higher activity within 4 hours had detrimental associations. Additional analyses showed that increased variability in sleep duration, efficiency, onset timing, and offset timing over the preceding four days was associated with lower sleep efficiency. Our study represents a first step towards wearable-based machine learning systems that proactively prevent poor sleep by demonstrating that sleep efficiency can be accurately forecasted prior to bedtime and by identifying pre-bed activity targets for subsequent intervention.

主动改善睡眠:机器学习和可穿戴设备数据在入睡前4-8小时预测睡眠效率。
具有睡眠跟踪功能的可穿戴设备可以促使行为改变以促进睡眠,但由于缺乏可以在睡眠开始之前预测睡眠参数的预测模型,因此在可能发生的睡眠不足时主动预防仍然是一个挑战。我们开发了预测睡眠开始前4和8小时低睡眠效率的模型,使用梯度增强(CatBoost)和深度学习(卷积神经网络长短期记忆,CNN-LSTM)算法,专门训练来自英国生物银行80,811名成年人的加速度计数据。进一步研究了各种睡眠和活动参数与睡眠效率的关系。在反复交叉验证中,CatBoost和CNN-LSTM均表现出出色的预测性能(中位AUCs > 0.90,中位auprc > 0.79)。在4到8小时的睡眠总活动量和低睡眠效率之间观察到u型关系。功能数据分析显示,睡眠前6至8小时的高活动量与睡眠效率的关系可以忽略不计。4 - 6小时前的高活动量有中等程度的有益关联,而4小时内的高活动量则有有害关联。另外的分析表明,在前4天内,睡眠时间、效率、开始时间和抵消时间的变异性增加与睡眠效率降低有关。我们的研究是朝着基于可穿戴设备的机器学习系统迈出的第一步,通过证明睡眠效率可以在睡前准确预测,并通过确定睡前活动目标进行后续干预,主动预防睡眠不足。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Sleep
Sleep Medicine-Neurology (clinical)
CiteScore
8.70
自引率
10.70%
发文量
0
期刊介绍: SLEEP® publishes findings from studies conducted at any level of analysis, including: Genes Molecules Cells Physiology Neural systems and circuits Behavior and cognition Self-report SLEEP® publishes articles that use a wide variety of scientific approaches and address a broad range of topics. These may include, but are not limited to: Basic and neuroscience studies of sleep and circadian mechanisms In vitro and animal models of sleep, circadian rhythms, and human disorders Pre-clinical human investigations, including the measurement and manipulation of sleep and circadian rhythms Studies in clinical or population samples. These may address factors influencing sleep and circadian rhythms (e.g., development and aging, and social and environmental influences) and relationships between sleep, circadian rhythms, health, and disease Clinical trials, epidemiology studies, implementation, and dissemination research.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信