Abstract
Background
Nocturnal disturbances are a common symptom experienced by People Living with Dementia (PLWD), and these often present prior to diagnosis. Whilst sleep anomalies have been frequently reported, most studies have been conducted in lab environments, which are expensive, invasive and not natural sleeping environments. In this study, we investigate the use of in-home nocturnal monitoring technologies, which enable passive data collection, at low cost, in real-world environments, and without requiring a change in routine.
Methods
Clustering analysis of passively collected sleep data in the natural sleep environment can help identify distinct sub-groups based on sleep patterns. The analysis uses sleep activity data from; (1) the Minder study, collecting in-home data from PLWD and (2) a general population dataset (combined n = 100, >9500 person-nights).
Results
Unsupervised clustering and profiling analysis identifies three distinct clusters. One cluster is predominantly PLWD relative to the two other groups (72% ± 3.22, p = 6.4 × 10−7, p = 1.2 × 10−2) and has the highest mean age (77.96 ± 0.93, p = 6.8 × 10−4 and p = 6.4 × 10−7). This cluster is defined by increases in light and wake after sleep onset (p = 1.5 × 10−22, p = 1.4 × 10−7 and p = 1.7 × 10−22, p = 1.4 × 10−23) and decreases in rapid eye movement (p = 5.5 × 10−12, p = 5.9 × 10−7) and non-rapid eye movement sleep duration (p = 1.7 × 10−4, p = 3.8 × 10−11), in comparison to the general population.
Conclusions
In line with current clinical knowledge, these results suggest detectable dementia sleep phenotypes, highlighting the potential for using passive digital technologies in PLWD, and for detecting architectural sleep changes more generally. This study indicates the feasibility of leveraging passive in-home technologies for disease monitoring.
Plain language summary
People living with dementia commonly sleep poorly at night, and this often occurs before they are diagnosed with dementia. We investigated whether a sleep sensor placed under a person’s mattress could monitor sleep activity in people with dementia without disrupting their normal daily routines and behaviour. We compared sleep data collected from both people with dementia and the general population to identify whether differences could be detected. We found identifiable dementia-related sleep patterns, suggesting sleep sensors could be used both to monitor disease and more generally in research. In the future, using these types of sensors could enable better care for people living with dementia by monitoring their sleep.
Similar content being viewed by others
Introduction
Approximately 1 million people are thought to be living with dementia in the UK, and over 55 million worldwide, representing the leading cause of disability in older adults1,2. Dementia is characterised by a progressive decline in cognitive and functional abilities, affecting numerous faculties, such as memory, behaviour, and executive functioning3. Presently, treatment is limited. Current treatments focus on symptom management and addressing already established health conditions that affect people living with dementia (PLWD), and their effectiveness relies on early intervention. As such, current clinical guidelines focus on timely detection4. However, identifying dementia symptoms early can be difficult, due to dementia’s insidious onset. Additionally, PLWD may accommodate or compensate for their symptoms earlier on.
Nocturnal disruptions are one of the most commonly experienced symptoms of dementia. A growing body of evidence indicates that sleep disorders may act as a predictor of dementia incidence, such as mild cognitive impairment (MCI)5,6, where alterations in sleep quality may generate and/or accelerate the rate of cognitive decline, both in the presence and absence of pathology7,8. Indeed, those with poorer sleep have been shown to have poorer outcomes, including having an increased risk of developing cerebrovascular pathology and a worse dementia prognosis9,10.
Whilst evidence indicates sleep disturbances contribute to dementia progression, the exact reasons for changes in sleep architecture is unclear. It is plausible that changes originate from Alzheimer’s disease (AD) pathology-induced neuronal and synaptic damage11. In AD, degeneration occurs in regions where sleep centres reside, such as the basal forebrain, hypothalamus, thalamus, midbrain, pons, and the brainstem12. A previous study also reported a loss of galanin-positive neurons in the ventrolateral preoptic region in individuals with AD, where the decrease positively correlated with an increased sleep fragmentation13. Conversely, reductions in Non-Rapid Eye Movement (NREM) sleep were associated with tau pathology prior to cognitive decline in early AD patients14. Additionally, over 80% of those with Rapid Eye Movement (REM) sleep behavioural disorder go on to develop synucleinopathies15. While the connection remains unclear, there is a bidirectional relationship between sleep and dementia. As such, it may be possible to differentiate and detect PLWD using sleep data.
Although sleep anomalies have been reported within the literature, studies that have investigated sleep and dementia have several limitations. Most studies have been conducted in lab environments, which are not natural sleeping environments (i.e., this may disrupt a persons natural sleeping patterns and lead to inaccurate results), or have ascertained sleep quality via sleep assessment questionnaires such as the Pittsburgh Sleep Quality Index8,9. Self-reported data may not be accurate16,17. Additionally, most studies are conducted over a single night and do not capture long-term variations10. Furthermore, using diagnostic tools such as polysomnography (PSG) to monitor sleep is expensive, time-consuming, labour-intensive, potentially distressing for those in the later stages of dementia, and not feasible in the context of large-scale monitoring18,19,20.
Alternatively, Internet of Things (IoT) technologies can provide continuous in-home monitoring, enabling large-scale collection of real-world data, at relatively low cost. Relative to PSG technologies, this is a non-invasive approach that allows longer-term in-home monitoring. IoT technologies work by connecting devices equipped with sensors (i.e., a bed mat sensor for the nocturnal data collection of physiological signals related to sleep activities) to the internet, enabling the collection and sharing of data for monitoring, analysis, and in some contexts, to inform care management21. Analysis of data collected with IoT devices such as under-the-mattress bed sensors may help to identify changes in sleep patterns in dementia and in other neurodegenerative conditions where nocturnal perturbations are prevalent. Nocturnal disruptions, including sleep disorders, have been widely reported in Parkinson’s disease, dementia with Lewy bodies, Huntington’s Disease, and Frontotemporal dementia, amongst others12,22,23.
The use of predictive analytics using IoT-derived sleep data is limited within neurodegeneration research. There have been promising works in analysing IoT-derived behavioural data in dementia, as well as for IoT-derived sleep data in other disease contexts24,25,26,27,28,29. However, to our knowledge, there is limited research on the use of passively collected sleep data to digitally screen for dementia and other neurodegenerative disease symptoms.
In this context, we aimed to demonstrate how IoT-derived sleep data could be leveraged to screen for architectural sleep changes. Employing dementia as a use case, we sought to develop an unsupervised clustering model that could distinguish between individuals with an established diagnosis of dementia or MCI and the general population, based on their longitudinal sleep data. A schematic overview of this study is provided in Fig. 1.
The study uses an under-the-mattress sleep monitoring device that passively collects sleep and physiology data (shown in A). The data is automatically transmitted via WiFi through a secure channel to a Cloud server where it is anonymised (shown in B). The data undergoes pre-processing, design optimisation and feature selection prior to cluster analysis, where sleep phenotypes are identified (shown in C). Finally, profile and statistical analyses are conducted to identify the demographics associated with each grouping and to determine significance between groups (shown in D). MMSE Mini-Mental State Examination, NREM non-rapid eye movement, REM rapid eye movement.
Methods
Study design and population
This study was conducted in collaboration with Imperial College London and Surrey and Borders Partnership NHS Trust. It includes two datasets; Minder, an ongoing project since 2018 collecting in-home data from people with an established diagnosis of dementia or MCI at the UK Dementia Research Institute (UK DRI) Care Research & Technology Centre (n = 117), and a dataset obtained from participants from the general population using the Withings sleep mat monitoring device (n = 5580)30. In this paper, the latter is referred to as the General Population dataset.
The General Population cohort comprises individuals from the general population who provided informed consent for their data to be shared. To ensure a representative distribution of the general population and account for the prevalence rates of dementia and MCI31,32, we employed a bootstrapping resampling technique. This involved randomly selecting 50 unique participants across 5 folds while considering the distribution of ages within the study group.
The sensor used for this study has been shown in a PSG sleep laboratory study to accurately estimate cardio-respiratory metrics during sleep33, where the agreement between the pneumatic sensor and the PSG for respiratory rate (RR), heart rate (HR), and their variability was quantified using Bland-Altman analysis. An overview of the sensor used in this study is provided by Yang and colleagues33. The sensor has been validated for the detection of moderate-severe sleep apnoea syndrome, wake after sleep onset (WASO), total sleep duration and sleep efficiency, and quantifying sleep/wake34,35,36. Initial validation studies have been conducted in smaller populations for sleep staging using epoch-by-epoch classification37.
Eligible study participants for Minder included adults older than 50 years old clinically diagnosed with dementia or MCI as well as current or previous treatment at a psychiatric unit.
Capacity to consent was assessed in accordance with the Good Clinical Practice, as detailed in the Research Governance Framework for Health and Social Care (Department of Health 2005). Participants lacking the capacity for informed consent were required to have a partner or caregiver who had known them for at least 6 months and was able to attend research assessments with them.
Exclusion criteria were as follows: (1) patients receiving treatment for terminal illness, (2) the presence of severe mental health conditions including depression, anxiety, psychosis, and agitation, and (3) the presence of active suicidal thoughts. In total, 117 participants were selected for participation using the above-mentioned recruitment process. General population participants were all users with a Withings sleep mat30 who consented to their data being used as part of the Withings research programme. Demographics of the Minder and General Population participants are provided in Table 1, reporting both the original dataset demographics and those of the processed versions used in the study analysis. Male and female assignments were self-declared by participants. Additional demographic information, including primary diagnoses and Mini-Mental State Examination (MMSE) scores used to assess impairment severity for Minder participants, is provided in Tables 2 and 3. The MMSE scores and their corresponding impairment severity classifications follow the guidelines of the National Institute for Health and Care Excellence38.
Data collection
The full study General Population dataset includes over 13 million nights of sleep from June 2020–March 2021 across 5580 participants. The full study data from Minder is also collected from an under-the-mattress sleep sensor, across 117 participants, and is ongoing since 2018, with >14,000 person-nights of data. Table 2.
Statistics and reproducibility
The Minder and General Population datasets were analysed together to determine differences between dementia and the general population using unsupervised learning. Four 30-day period samples across 120 days of sleep data were selected for analysis from each individual in order to provide a representative sample of an individuals sleep patterns over time and reduce short-term variability. 120 days were selected between 31/10/2022 and 01/03/2023 for Minder, and 31/10/2020 and 01/03/2021 for General Population participants. We used the following raw features as input; NREM, REM, light and WASO duration, and the minimum, maximum and average RR and HR, as these features have been reported to be affected in PLWD8,9,10.
The median of each feature was calculated for each user ID across four 30-day period samples across the 120-day period. To minimise the impact of missing data, participants who had 40% or more missing data (12 or more days) in any 30-day period were excluded from the analysis. From this, 50 participants remained across four 30-day periods in Minder, allowing for 200 data samples. Remaining participants with missing values were imputed with the rolling mean in order to maintain the temporal structure of the data. Figure 2 presents the median features by cohort over 30-day periods, cluster distributions and sample sizes. The General Population sample size was matched via k-fold analysis to allow for equal sample sizes, whereby 50 unique individuals were selected without replacement across 5 folds and combined with the processed Minder dataset for analysis to ensure robust and stable clusters (combined 400 data samples). Table 3.
Ethics approval and data anonymisation
The Minder study received ethical approval from the London-Surrey Borders Research Ethics Committee; TIHM 1.5 REC: 19/LO/0102; IRAS: 257561; ISRCTN7100099139. All participants in this study either provided their own written informed consent or, if deemed unable to do so, consent was obtained from their legal representatives or individuals with power of attorney. For participants lacking capacity, consent was obtained through their legal representatives after discussions with family members and clinicians to ensure that participation was in their best interest. This process, along with the authority of the legal representatives or power of attorney holders, were reviewed and approved by the ethics committee.
The data collection approval for data collection from the under-the-bed mattress sensor in the Minder clinical study was granted by a clinical IRB panel (IRAS ID: 257561). The anonymised General Population dataset was provided by Withings (https://www.withings.com) based on a data-sharing agreement for research with Imperial College London in accordance with the applicable security standards and regulations. Information governance and impact assessment approval for storing and processing data from Withings sleep mat data was obtained via from an NHS Information Governance panel (Surrey and Borders Partnership NHS Foundation Trust, reference number: 20201009-DRI). Withings is certified in ISO 27001 and Health Data Hosting (HDS) which comply with the same level of security as health professionals. For the General Population dataset, consent to obtain user data was previously obtained by Withings. The data extracted for this study was fully anonymised, so re-consent was not required. Withings data collection is in compliance with the GDPR. Part of the Withings data privacy policy includes a legitimate interest, which means pursuing the essential mission of the Data controller (Withings processes non-identifying data to improve research on the basis of the legitimate interest). This is included in their data privacy statement (https://www.withings.com/uk/en/legal/privacy-policy). User consent is collected in specific cases, and users may withdraw consent at any time.
Analysis platform
As the data was continuous and processed into more than 3 groups, ANOVA models and Tukey’s post-hoc for multiple comparisons of means were determined to be the appropriate choice of statistical tests. All data analyses, alongside modelling, were conducted using Python 3.9, using the Pandas40, Numpy41, Scikit-Learn42, SciPy43 and Pingouin44 libraries.
Model development
Clustering, an unsupervised learning technique, can be used to organise data into different groups based on similarities between subjects45. In the context of this work, employing clustering techniques enables unsupervised partitioning of the data based on the processed nocturnal data collected from the under-the-mattress bed sensors. Further analysis of this modelling was conducted to reveal the defining features and subject demographics associated with each grouping, thereby allowing for an understanding of sleep-based differences between PLWD and the general population.
Following k-fold validation, the combined Minder/General Population data was scaled using the z-score and normalised prior to modelling. As clustering algorithms can be broadly classified as centroid-based, distribution-based and hierarchical45, for comparison of different algorithms that best classify the input data, one of each was selected. K-means was chosen as the centroid-based model, a Gaussian Mixture Model (GMM) as the distribution-based model, and Agglomerative clustering model as the hierarchical model. The performance of each algorithm was comparatively evaluated using intrinsic evaluation metrics such as the Silhouette Coefficient (SC) score, Calinski Harabasz (CH) and Davis Bouldin (DB) indices, as these do not require ground truth labels.
The optimal number of clusters was determined using the SC scores, DB and CH index scores. Following model optimisation, the model was fitted to the combined input data. A subsequent profiling of the clusters was carried out. As clustering test re-test analysis may assign cluster labelling to the same group across folds, the labels were assigned and mapped across the five folds by calculating the Euclidean distance between the cluster centroids and the origin. Cluster labels were sorted in ascending order and labelled accordingly. The clinical profile of General Population participants is not known, but due to a large dataset, bootstrapping and K-fold sampling, we assume this will limit the effect of comorbidities on sleep architecture. This allows us to conduct a proof-of-concept study to determine sleep-based differences between the two cohorts.
Profile analysis and statistics
The reported profile analysis reflects the average (±SEM) across five folds. A statistical analysis (ANOVA, Tukeys post-hoc and independent t-tests) for the features in each cluster were computed to reveal the defining features and subject demographics underlying each grouping. Cluster descriptions and corresponding demographics (group (mean percentage Minder, General Population ± SEM), sex (mean percentage female, male ± SEM), age (mean ± SEM)) were calculated as percentages of their clusters.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Results
Algorithm selection
To determine a clustering algorithm that optimally clusters the combined Minder/General Population input data, we examined the performance of K-Means, GMM and Agglomerative clustering techniques via several intrinsic evaluation metrics. We selected sleep parameters that are commonly impoverished in PLWD as input features for the model. The features included; NREM (otherwise known as deep sleep), REM, light sleep and WASO46, as well as the minimum, maximum and average respiratory rate RR and HR. Here, the median of each feature was calculated for each user ID across four 30 consecutive day periods, from the 120-day sample with less than 40% missingness. The algorithms were compared using the SC, and the CH and DB indices as these do not require true cluster labels. All experiments were run 15 times, each with bootstrap samples of the data to calculate confidence interval estimates of the metrics. This allowed us to generate reproducible results and measure the change of metrics between runs.
Based on these metrics, we found that the best-performing model was K-Means with k = 3, shown in Table 4. For a comparison of k ∈ [2, 25] across models, see Supplementary Fig. 1 and Supplementary Methods. Visualisation of the feature distributions per cluster is shown in Supplementary Fig. 2 and in Supplementary Methods.
Unsupervised clustering and profiling analysis showed three distinct clusters, including one predominantly composed of people PLWD. This cluster was characterised by increased light and WASO and reduced REM and NREM sleep duration, as reported in Fig. 2. These findings suggest distinct dementia-related sleep phenotypes and support the potential of passive digital technologies for monitoring sleep changes and disease progression in PLWD, and for broader clinical monitoring.
Visualisations of a scaled median feature per cohort (Minder (n = 50) General Population (n = 50)) per 30-day period, b feature distribution per cluster, as determined by K-Means modelling (k = 3), and c the percentage sample size per cluster. HR heart rate, Max maximum, Min minimum, NREM non-rapid eye moment, REM rapid eye movement, RR respiratory rate, WASO Wake after sleep onset.
Clustering description and statistical analyses
The percentage sample size remains relatively evenly split amongst all clusters; 28.5% has been allocated to cluster 1, 39.1% to cluster 2, and 28.5% to cluster 3. To determine the defining features of these clusters, a statistical analysis between features and clusters via Analysis of Variance (ANOVA) models was conducted (Fig. 3). See Supplementary Data 1 and 2 for the multiple pairwise comparisons between sleep phase metrics and physiological parameters and clusters.
Analysis of a HR parameters (minimum, average, maximum), b RR parameters (minimum, average, maximum) and c sleep phase metrics (REM, NREM, light sleep, WASO) across clusters (cluster 1; n = 49, cluster 2; n = 33, cluster 3; n = 18), generated by K-Means clustering (k = 3). Data was winsorised to account for outliers and scaled via z-normalisation. Error bars denote the SEM standard error of the mean. Statistical significance (independent t-tests) is indicated using horizontal bars. BPM beats per minute, HR heart rate, Max maximum, Min minimum, NREM non-rapid eye moment, REM rapid eye movement, RR respiratory rate, s seconds, WASO wake after sleep onset.
The data is represented in three clusters, each defined by different medians of the sleep parameters across the 120-day selected period. Cluster 1 is defined by a high HR and RR parameters relative to cluster 3, higher WASO and light sleep relative to clusters 2 and 3, and lower REM and NREM mean sleep duration relative to cluster 2. Cluster 2 is similarly defined by higher minimum and average HR parameters and a higher minimum RR relative to cluster 3. It is also characterised by higher NREM and REM mean sleep duration and lower WASO and light sleep. Cluster 3 is characterised by lower HR and RR parameters and low REM, NREM, light sleep and WASO (total sleep duration). The results of a two-way repeated measures ANOVA between clusters and sleep metric are presented in Supplementary Table 1.
Profile analysis
The majority of Minder participants (PLWD) were grouped into cluster 1 (72% ± 3.22 of the cluster, p < 0.001). Cluster 1 was defined by higher HR and RR parameters, higher WASO and light sleep relative to both clusters 2 and 3 and lower REM and NREM mean sleep duration relative to cluster 2 (p < 0.001). Cluster 1 showed a higher mean age relative to both clusters 2 and 3 (77.96 ± 1.00, p < 0.05). Significantly more females (p < 0.05) were clustered in cluster 1 relative to clusters 2 and 3.
The majority of General Population participants were classified into cluster 3 (66% ± 4.82, p < 0.05). Cluster 3 was characterised by lower HR and RR parameters and lower REM, NREM, light sleep and WASO. Cluster 2 showed a lower mean age relative to cluster 1 (71.86 ± 0.74, p < 0.05). No age difference was found between cluster 2 and 3. Cluster 2 did not report a difference in the mean percentage split between Minder and General Population participants, showcasing a relatively even split (General Population = 54%, Minder = 46% ± 4.31). Cluster 2 was similarly defined by higher minimum and average HR parameters and a higher minimum RR relative to cluster 3. It was also characterised by higher NREM and REM mean sleep duration and lower WASO and light sleep (p < 0.001 and p < 0.01) (Table 5, Fig. 4).
Analysis of a mean percentage cohort (Minder, General Population) distribution across clusters, b mean percentage sex (male, female) distribution across clusters and c mean age distributions across clusters where cluster 1; n = 49, cluster 2; n = 33, cluster 3; n = 18. Error bars represent SEM. Statistical significance (independent t-tests) is indicated using horizontal bars. SEM Standard error of the mean.
An analysis of the mean Mini-Mental State Examination (MMSE) scores, which is used to determine impairment severity, reported no significant difference between clusters (Supplementary Fig. 3, Supplementary Methods). The results of the ANOVA between MMSE and clusters within the Minder cohort are provided in Supplementary Table 2. Additional profiling of the Minder participants per cluster (primary diagnoses and MMSE scores) is also reported in Supplementary Table 3.
Discussion
This work investigated how the analysis of IoT-derived sleep data could be used to identify dementia sleep signatures. Leveraging sleep metric and nocturnal physiology data collected from under-the-mattress bed sensors, we designed an unsupervised machine learning model to differentiate between a cohort of PLWD or an established diagnosis of MCI/dementia and the general population.
We derived the median value of each of the 10 features across 120 days of sleep data and performed a cluster analysis using 3 distinct algorithms (K-means, GMM, and agglomerative). We then determined the optimal algorithm was K-means, and the optimal number of clusters being 3 based on standard evaluation metrics and profile analyses. The following profile analysis reported that cluster 1 was mainly Minder participants (72% ± 3.22, p < 0.001), defined by higher HR and RR parameters, higher WASO and light sleep, and lower REM and NREM mean sleep duration. Previous studies have reported distinct patterns of sleep impairment47,48. This may represent a sleep phenotype specific to dementia. Our findings are consistent with the literature, where marked decreases in REM and NREM sleep, and increases in light and WASO sleep duration, have been described11,49. The changes may be due to cognitive impairments associated with dementia. For example, Rauch and colleagues reported that in AD patients, the mean intensity and number of sleep spindles were positively associated with recall ability and autobiographical memory, respectively50,51. Additionally, tau aggregates have also been shown to be correlated with a reduction in NREM sleep11. It is important to note that the passive sleep sensor has been validated for physiological parameters, sleep/wake, total sleep duration and WASO34,36, but only initial validation studies in smaller populations have been conducted for the REM, NREM and light sleep staging measures37. Caution should therefore be exercised when interpreting these results. Further studies are required to validate the accuracy of the sleep staging device in larger cohorts. For this reason, we focused on identifying sleep differences between the Minder and General Population cohorts rather than quantifying specific value differences.
Our results also indicate that Cluster 1, where the main grouping is Minder, is characterised by a high maximum nocturnal RR and HR. Studies have suggested potential links between dementia and changes in respiratory and heart rates during sleep, but the exact relationship is not fully understood. These changes may be due autonomic nervous system dysfunction, which is associated with dementia, and may affect nocturnal RR and HR regulation52,53. Other plausible explanations include medications prescribed to PLWD, such as antipsychotic medications that have been shown to impact the autonomic nervous system54,55. The relationship is likely multi-factorial and necessitates further research56,57. Future research should focus on controlling for comorbidities to further investigate the underlying causes of HR and RR sleep pattern changes. Cluster 1 additionally reported the highest mean age of 77.96 ± 0.93. While age was considered during the interpretation and profiling of the clusters, it was not included as a direct feature in the clustering model. As such, it did not influence the clustering outcome directly. However, differences in age distributions across cohorts may influence profiling results. Due to limited sample sizes, age ranges were controlled for rather than using mean ages.
All clusters were shown to be predominately male. This is due to the imbalance in the original data and cannot be used to draw significance. However, there were significantly more females in Cluster 1 relative to both clusters 2 and 3 (p < 0.05). This finding is consistent with previous works. Alexander and colleagues evaluated clinical sub-types in AD using electronic healthcare records and unsupervised clustering, reporting a consistent cluster found in three of the four methods employed, composed of predominantly females58. This was also found by Landi and colleagues, who employed deep representation learning of electronic healthcare records59. Indeed, studies have reported that females are at higher risk of developing dementia60. Females are also reported to have a higher life expectancy relative to males61. This may partially explain why the cluster that saw the highest mean age also saw the highest percentage of female participants. Interestingly, cluster 2 saw a relatively even Minder/General Population split (Table 5). It may be that the participants are in this grouping due to undetected MCI. For example, a 2019 systematic review reported the incidence per 1000 individuals in general population samples to be 22.5, 40.9 and 60.1 for ages 75–79, 80–84 and 85+, respectively62. Further work would be needed to determine this.
To our knowledge, this is the first study using IoT-derived nocturnal data to identify sleep signatures between PLWD and general population participants. IoT technologies provide an inexpensive, scalable model for continuous passive monitoring, making them particularly advantageous for use in the field of dementia, as well as in wider healthcare. Complementary to clinical findings, the results of our clustering suggest detectable dementia sleep signatures, highlighting the potential for IoT-derived data in dementia screening and diagnosis and providing a proof-of-concept by which we might validate the use of such sensors in PLWD.
Understanding the clusters derived from this model could help clinicians and researchers tailor interventions and treatments. For example, if individuals exhibit specific sleep patterns associated with clusters associated with cognitive impairment, targeted interventions aimed at improving sleep quality in those clusters can be administered. This may allow for earlier dementia intervention and/or tailored intervention.
Current treatments include non-pharmacological approaches, such as sleep hygiene improvements, cognitive rehabilitation and/or occupational therapy and non-cognitive management for pain, agitation, aggression and distress. Pharmacological approaches may also be considered where the appropriate medication is prescribed in accordance with the specific diagnosis, stage of disease and personal medical history63. This cluster analysis has also highlighted key areas that need future investigation, such as understanding the underlying mechanisms behind the association drawn between sleep patterns and cognitive impairment and exploring potential links between dementia severity and sleep disruption.
A limitation in this study was data missingness. To minimise the impact of missing data, participants were excluded from the analysis if they had more than 12 days of missing sleep data within any 30-day period. Reasons for missing data may be due to data integration or sensor issues. The participant may also remove the bed mat (i.e., when changing sheets) or decide to disconnect it. Additionally, the Minder sample size used for analysis was relatively small (n = 50), 200 data samples. However, the sample represents over 4800 person-nights of data, which offers sufficient data for analysis.
Additionally, we do not have clinical information relating to the General Population dataset, which may affect an individual’s sleep architecture. We also assume that with K-fold sampling using a large dataset the effect of comorbidities and long-term conditions are reduced. Additionally, no sleep-based exclusions were made for the data used in this study. Possible presence of co-morbid health conditions, such as cardiovascular disease, sleep apnoea or other sleep-based disorders, may also independently affect HR and RR sleep patterns64. However, in the Minder cohort, 2 individuals presented with a sleep disorder, and both were shown to be clustered in the dementia-dominant cluster. It is also important to note that the main aim here was to demonstrate a preliminary analysis with passively collected longitudinal data that PLWD present with differentiating sleep signatures, relative to a randomly sampled general population cohort. With this in mind, future analyses with complete clinical information would allow for a more sophisticated understanding of the relationship between sleep and dementia.
Furthermore, the participants in the Minder cohort mainly include individuals with moderate cognitive impairments, which limits the generalisation of the findings to early diagnosis. This work is a preliminary proof-of-concept to highlight the feasibility and effectiveness of using passive in-home technologies for sleep and disease monitoring in dementia. Our future work will aim to apply this analysis to participants exclusively in the earlier stages of dementia, and/or in other neurodegenerative conditions.
Our general population data was recorded during the COVID-19 pandemic. During the height of the COVID-19 pandemic, several international surveys65,66,67 and meta-analyses69,70,71 reported very high rates of insomnia symptoms (including difficulty initiating or maintaining sleep) in the global population (15–50%) with rates even higher among those who had reported having COVID-19 (35–75%)65,68,69,70. However, it was noted by Morin and colleagues that participants who had responded to this survey during the early phase of the pandemic had higher rates than those who completed it later65. They suggested that these changing rates were indicative of a reduction in perceived stress as individuals acclimated to the stressors of the pandemic. Regardless, the sleep data from the general population being recorded during the COVID-19 pandemic, the profile analysis of our clustering algorithm shows there is still a distinct difference between the general population cohort and PLWD or MCI, with the clusters that are majority PLWD/MCI having higher WASO and light sleep duration, higher mean HR and RR parameters, and lower REM and NREM sleep by comparison.
Future work will involve analysing a longer duration of sleep data to capture more extended trends and fluctuations. A confirmed non-dementia group will additionally validate these initial findings where differences between the general population and PLWD have been observed. Controlling for age distributions across cohorts should be considered to validate our initial profiling result. Additionally, this analysis may be considered beyond the dementia population, where sleep disturbances are risk factors for other conditions, such as psychiatric conditions (depression, anxiety, bipolar disorder)71, or cardiovascular disease72. Moreover, applying this analysis to other external cohort data will help further validate the findings reported in this study and identify cases of false positives. Besides addressing study limitations and seeking to improve the current model, future work should consider associations between dementia severity and nocturnal disruption.
IoT devices, whilst offering numerous advantages such as cost-efficiency, scalability and real-time monitoring, may also pose privacy risks if not handled correctly, particularly given the lack of standardised regulations in the presently developing IoT industry. Whilst the necessary information governance practices were employed in this study, these concerns should be considered for future works to ensure researchers prioritise robust ethical considerations. This includes safeguarding individuals’ data privacy through encryption and anonymisation, ensuring transparent and informed consent processes, and addressing data ownership and control.
To summarise, we conducted a clustering analysis of IoT-derived sleep data in an effort to discern differences in sleep signatures between the general population and a cohort of individuals clinically diagnosed with dementia or MCI. Consistent with the wider literature, our results suggested the presence of distinct sleep architectures in PLWD. Not only do these results demonstrate the potential for the use of IoT devices in the field of dementia diagnostics, but they also promote the use of in-home monitoring in wider healthcare.
Data availability
Supplementary statistics for the results of a two-way repeated measures ANOVA between Clusters and sleep phase metrics and physiological sleep variables are in Supplementary Data 1 and 2, respectively. Source data for Figs. 3 and 4 is provided in Supplementary Data 3A–C. The source data for Fig. 4 is in Supplementary Data 4A–C.
References
Hay, S. Global, regional, and national disability-adjusted life-years (DALYs) for 333 diseases and injuries and healthy life expectancy (HALE) for 195 countries and territories, 1990–2016: a systematic analysis for the Global Burden of Disease Study 2016. Lancet 390, 1260–1344 (2017).
Cataldi, R. et al. A WHO blueprint for action to reshape dementia research. Nat. Aging 3, 469–471 (2023).
Rehm, J., Hasan, O. S., Black, S. E., Shield, K. D. & Schwarzinger, M. Alcohol use and dementia: a systematic scoping review. Alzheimers Res. Ther. 11, 1 (2019).
Robinson, L., Tang, E. & Taylor, J. P. Dementia: timely diagnosis and early intervention. BMJ 350, 3029 (2015).
Huang, S. Y. et al. Sleep, physical activity, sedentary behavior, and risk of incident dementia: a prospective cohort study of 431,924 UK Biobank participants. Mol. Psychiatry 27, 4343–4354 (2022).
Irwin, M. R. & Vitiello, M. V. Implications of sleep disturbance and inflammation for Alzheimer’s disease dementia. Lancet Neurol. 18, 296–306 (2019).
Fortier-Brochu, E., Beaulieu-Bonneau, S., Ivers, H. & Morin, C. M. Insomnia and daytime cognitive performance: A meta-analysis. Sleep. Med. Rev. 16, 83–94 (2012).
Sabia, S. et al. Association of sleep duration in middle and old age with incidence of dementia. Nat. Commun. 12, 2289 (2021).
Wu, M., Rosenberg, P., Spira, A. & Wennberg, A. Sleep disturbance, cognitive decline, and dementia: a review. Semin. Neurol. 37, 395–406 (2017).
Zhang, Y. et al. Sleep in alzheimer’s disease: a systematic review and meta-analysis of polysomnographic findings. Nat. Transl. Psychiatry 12, 136 (2022).
Wang, C. & Holtzman, D. M. Bidirectional relationship between sleep and alzheimer’s disease: role of amyloid, TAU, and other factors. Neuropsychopharmacology 45, 104–120 (2019).
Shen, Y. et al. Circadian disruption and sleep disorders in neurodegeneration. Transl. Neurodegener. 12, 8 (2023).
Lim, A. S. et al. Sleep is related to neuron numbers in the ventrolateral preoptic/intermediate nucleus in older adults with and without Alzheimer’s disease. Brain 137, 2847–2861 (2014).
Lucey, B. P. et al. Reduced non–rapid eye movement sleep is associated with Tau Pathology in early Alzheimer’s disease. Sci. Transl. Med. 11, eaau6550 (2019).
Fyfe, I. Detailed genetic link between REM sleep behaviour disorder and synucle-inopathies. Nat. Rev. Neurol. 16, 129–129 (2020).
Xiaopeng Ji, J. L. Subjective sleep measures for adolescents: a systematic review. Child. Care, health Dev. 42, 825–839 (2016).
Fabbri, M. et al. Measuring subjective sleep quality: a review. Int. J. Environ. Res. Public Health 18, 1082 (2021).
Haghayegh, S., Khoshnevis, S., Smolensky, M. H., Diller, K. R. & Castriotta, R. J. Accuracy of wristband Fitbit models in assessing sleep: systematic review and meta-analysis. J. Med. Internet Res. 28, 11 (2019).
de Zambotti, M., Rosas, L., Colrain, I. M. & Baker, F. C. The sleep of the ring: comparison of the O¯URA sleep tracker against polysomnography. Behav. Sleep. Med. 17, 124–136 (2019).
Zhai, B., Elder, G. J. & Godfrey, A. Challenges and opportunities of deep learning for wearable-based objective sleep assessment. npj Digit. Med. 7, 85 (2024).
Kelly, J. T., Campbell, K. L., Gong, E. & Scuffham, P. The Internet of Things: impact and implications for health care delivery. J. Med. Internet Res. 22, 8 (2020).
Anghel, L. et al. Sleep disorders associated with neurodegenerative diseases. Diagnostics 13, 2898 (2023).
Voysey, Z. J., Barker, R. A. & Lazar, A. S. The treatment of sleep dysfunction in neurode-generative disorders. Neurotherapeutics 18, 202–216 (2021).
Smith, A. A., Li, R. & Tse, Z. T. Reshaping healthcare with wearable biosensors. Sci. Rep. 13, 4998 (2023).
Katori, M., Shi, S., Ode, K. L., Tomita, Y. & Ueda, H. R. The 103,200-arm acceleration dataset in the UK Biobank revealed a landscape of human sleep phenotypes. Proc. Natl Acad. Sci. USA 119, e2116729119 (2022).
Tseng, M. H. et al. Development of an intelligent app for obstructive sleep apnea prediction on Android smartphone using data mining approach. In 2012 9th International Conference on Ubiquitous Intelligence and Computing and 9th International Conference on Autonomic and Trusted Computing. 774–779 (IEEE, 2012).
Cho, E. et al. Machine learning-based predictive models for the occurrence of behavioral and psychological symptoms of dementia: model development and validation. Sci. Rep. 13, 8073 (2023).
Fletcher-Lloyd, N. et al. Home monitoring of daily living activities and prediction of agitation risk in a cohort of people living with dementia. Alzheimers. Dement. 17, e058614 (2021).
Willetts, M., Hollowell, S., Aslett, L., Holmes, C. & Doherty, A. Statistical machine learning of sleep and physical activity phenotypes from sensor data in 96,220 UK Biobank participants. Sci. Rep. 8, 7961 (2018).
Withings. Under-mattress sleep tracker - Sleep Analyzer | Withings https://www.withings.com/uk/en/sleep-analyzer (2023).
Wittenberg, R. et al. Projections of care for older people with dementia in England: 2015 to 2040. Age Ageing 49, 264–269 (2020).
Prince, M., Knapp, M. & Guerchet, M. Dementia UK: Update. Alzheimer’s Society https://www.alzheimers.org.uk/about-us/policy-and-influencing/dementia-uk-report (2014).
Yang, R. Y., Bendjoudi, A., Buard, N. & Boutouyrie, P. Pneumatic sensor for cardiorespiratory monitoring during sleep. Biomed. Phys. Eng. Express. 5, 055014 (2019).
Edouard, P., Campo, D., Bartet, P. & Escourrou, P. Validation of the Withings Sleep Analyzer, an under-the-mattress device for the detection of moderate-severe sleep apnea syndrome. J. Clin. Sleep. Med. 17, 1217–1227 (2021).
Ravindran, K. K. G. et al. Contactless and longitudinal monitoring of nocturnal sleep and daytime naps in older men and women: a digital health technology evaluation study. Sleep 46, zsad194 (2023).
Ravindran, K. K. G. et al. Validation of technology to monitor sleep and bed occupancy in older men and women. Alzheimers. Dement.17, (2021).
Ravindran, K. K. G. et al. Three contactless sleep technologies compared with actigraphy and polysomnography in a heterogeneous group of older men and women in a model of mild sleep disturbance: Sleep Laboratory Study. JMIR Mhealth Uhealth. 11, e46338 (2023).
NICE. Overview Donepezil, Galantamine, Rivastigmine and Memantine for the Treatment of Alzheimer’s Disease (National Institute for Health and Care Excellence, 2018).
NHS. Minder Health Management Study (Health Research Authority, 2019).
Pandas. Pandas - Python Data Analysis Library (Pandas PyData, 2024).
NumPy. NumPy Documentation https://numpy.org/doc/stable/ (2024).
Scikit-learn. Scikit-learn: Machine Learning in Python — Scikit-learn 1.3.0 Documentation https://scikit-learn.org/stable/index.html (2024).
Matplotlib. Matplotlib — Visualization with Python https://matplotlib.org/ (2024).
Vallat, R. Pingouin: statistics in Python. J. Open Source Softw. 3, 1026 (2018).
Google. Clustering Algorithms | Machine Learning. Google for Developers (Google, 2024).
Shrivastava, D., Jung, S., Roopa Sirohi, M. S. & Crewson, K. How to interpret the results of a sleep study. J. Community Hosp. Intern. Med. Perspect. 4, 24983 (2014).
Heinzinger, C. et al. 421 elucidating circadian and sleep phenotypes and relation to cognitive impairment in Alzheimer’s dementia. Sleep 44, A166–A167 (2021).
Falgàs, N. et al. Alzheimer’s disease phenotypes show different sleep architecture. Alzheimers Dement. 19, 3272–3282 (2023).
Mander, B. A. et al. B-amyloid disrupts human NREM slow waves and related hippocampus-dependent memory consolidation. Nat. Neurosci. 18, 1051–1057 (2015).
Rauchs, G. et al. Is there a link between sleep changes and memory in Alzheimer’s disease? NeuroReport 19, 1159–1162 (2008).
Rauchs, G. et al. Retrieval of recent autobiographical memories is associated with slow-wave sleep in early AD. Front. Behav. Neurosci. 7, 114 (2013).
Allan, L. M. Diagnosis and management of autonomic dysfunction in dementia syndromes. Curr. Treat. Options Neurol. 21, 38 (2019).
Benarroch, E. E. The clinical approach to autonomic failure in neurological disorders. Nat. Rev. Neurol. 10, 396–407 (2014).
Leung, J. Y. T., Barr, A. M., Procyshyn, R. M., Honer, W. G. & Pang, C. C. Y. Cardiovascular side-effects of antipsychotic drugs: the role of the autonomic nervous system. Pharmacol. Ther. 135, 113–122 (2012).
NICE. Antipsychotics Prescribing information Dementia (National Institute for Health and Care Excellence, 2022).
Leng, Y., McEvoy, C. T., Allen, I. E. & Yaffe, K. Association of sleep-disordered breathing with cognitive function and risk of cognitive impairment. JAMA Neurol. 74, 1237 (2017).
Aoki, K. et al. Association of sleep-disordered breathing with decreased cognitive function among patients with dementia. J. Sleep. Res. 23, 517–523 (2014).
Alexander, N., Alexander, D. C., Barkhof, F. & Denaxas, S. Identifying and evaluating clinical subtypes of Alzheimer’s disease in care electronic health records using unsupervised machine learning. BMC Med. Inform. Decis. Mak. 21, 343 (2021).
Landi, I. et al. Deep representation learning of electronic health records to unlock patient stratification at scale. npj Digit. Med. 3, 96 (2020).
Vila-Castelar, C., Udeh-Momoh, C., Aggarwal, N. T. & Mielke, M. M. Sex and gender considerations in dementia: a call for global research. Nat. Aging 3, 463–465 (2023).
ONS. National life tables: UK (Office for National Statistics, 2024).
Gillis, C., Mirzaei, F., Potashman, M., Ikram, M. A. & Maserejian, N. The incidence of mild cognitive impairment: a systematic review and data synthesis. Alzheimer’s and dementia: diagnosis. Assess. Dis. Monit. 11, 248–256 (2019).
NICE. Dementia Treatment Summaries (National Institute of Care and Excellence, 2018).
Pal, A. et al. Breathing rate variability in obstructive sleep apnea during wakefulness. J. Clin. Sleep. Med. 18, 825–833 (2022).
Morin, C. M. et al. Insomnia, anxiety, and depression during the COVID-19 pandemic: an international collaborative study. Sleep. Med. 87, 38–45 (2021).
Meaklim, H., Junge, M. F., Varma, P., Finck, W. A. & Jackson, M. L. Pre-existing and post-pandemic insomnia symptoms are associated with high levels of stress, anxiety, and depression globally during the COVID-19 pandemic. J. Clin. Sleep. Med. 17, 2085–2097 (2021).
Petrov, M. E. et al. Impact of the COVID-19 pandemic on change in sleep patterns in an exploratory, cross-sectional article sample of 79 countries. Sleep Health 7, 451–458 (2021).
Jahrami, H. et al. Sleep problems during the COVID-19 pandemic by population: a systematic review and meta-analysis. J. Clin. Sleep. Med. 17, 299–313 (2021).
Alimoradi, Z. et al. Sleep problems during COVID-19 pandemic and its’ association to psychological distress: a systematic review and meta-analysis. EClinicalMedicine 36, 100916 (2021).
Liu, C. et al. Prevalence of depression, anxiety, and insomnia symptoms among patients with COVID-19: a meta-analysis of quality effects model. J. Psychosom. Res. 147, 110516 (2021).
Freeman, D., Sheaves, B., Waite, F., Harvey, A. G. & Harrison, P. J. Sleep disturbance and psychiatric disorders. Lancet Psychiatry 7, 628–637 (2020).
McAlpine, C. S. et al. Sleep modulates haematopoiesis and protects against atherosclerosis. Nature 566, 383–387 (2019).
Acknowledgements
The anonymised baseline dataset was provided by Withings (https://www.withings.com) based on a data-sharing agreement for research with Imperial College London. The DCARTE library by Dr Eyal Soreq (https://github.com/esoreq/dcarte/) was used for downloading a snapshot of the Minder sleep mat data. This work is supported by the UK Dementia Research Institute (award number UK DRI–7002) through UK DRI Ltd, principally funded by the Medical Research Council, and the UKRI Engineering and Physical Sciences Research Council (EPSRC) PROTECT Project (grant number: EP/W031892/1). Infrastructure support for this research was provided by the NIHR Imperial Biomedical Research Centre (BRC) and the UKRI Medical Research Council (MRC). Barnaghi is also supported by the Great Ormond Street Hospital and the Royal Academy of Engineering (Grant number: RCSRF2324-18-69). The funders were not involved in the study design, data collection, data analysis or writing the manuscript. Acknowledgement list for UK Dementia Research Institute (UK DRI) Care Research & Technology (CR&T) Centre publications using the MINDER core dataset. The primary contact for this group is: ukdri.crt@imperial.ac.uk Leadership and Management: David Sharp (Director), Danielle Wilson (Centre Manager), Sarah Daniels (Health and Social Care Lead), David Wingfield (General Practice Lead), Matthew Harrison (Human-Centred Design Lead), Shlomi Haar (Movement and Living Lab Lead), Mara Golemme (Project Manager). Behaviour and Cognition Group: David Sharp (Group Lead), Martina Del Giovanne, Paresh Malhotra, Neil Graham, Emma Jane Mallas, Naomi Hassim, Greg Scott, Magdalena Kolanko, Alina-Irina Serban, Helen Lai, Eyal Soreq, Lucia M Li, Tong Wu, Thomas Parker. Bioelectronic Systems Group: Timothy Constandinou (Group Lead), Alan Bannon, Danilo Mandic, Charalambos, Adrien Rapeaux, Ghena Hammour, Ian Williams, Byran Hsieh, Maowen Yin, Niro Yogendran. Robotics and AI Interfaces Group: Ravi Vaidyanathan (Group Lead), Ting Su, Maria Lima, Thomas Martineau, Mayue Shi, Melane Jouaiti, Tianbo Xu, Maitreyee Wairagkar, Bo Xiao, Carlot Sebastian Castillo, Alehandro Valdunciel, Panipat Wattansiri, Reineira Seeam-ber, Annika Guez, Zehao Liu, Saksham Dhawan. Translational Machine Intelligence Group: Payam Barnaghi (Group Lead), Nan Fletcher-Lloyd, Samaneh Kouchaki, Alexander Capstick, Chloe Walsh, Louise Rigny, Ruxandra Mi-hai, Marirena Bafaloukou, Jin Cui, Ann-Kathrin Schalkamp, Yu Chen, Nivedita Bijlani. Point of Care Diagnostics Group: Paul Freemont (Group Lead), Loren Cameron, Thomas Adam, Michael Crone, Raphaella Jackson, Kristen Jensen, Martin Tran. Sleep and Circadian Group: Derk Jan Dijk (Group Lead), Anne Skeldon, Vikki Revell, Kevin Wells, Giuseppe Atzori, Ullrich Bartsch, Lucina Grainge, Ciro Della Monica, Hana Hassanin, Kiran GR Kumar, James Woolley, Damion Lambert, Iris Wood-Campar, Sara Mohammadi Mahvash, Janetta Rexha, Thalia Rodrigues Garcia. Movement and Movement Disorders Group: Shlomi Haar (Group Lead), Subai Abu-likemu, Niro Yogendran, Julian Jeyasingh Jacob, Cosima Graef, Nathan Steadman, Akena Kutuzova, Federico Nardi, Assaf Touboul. Human-Centred Design Group: Matthew Harrison (Group Lead), Lenny Naar, Sophie Horrocks, Brian Quan. Software engineering team: Mark Woodbridge, Anna Joffe, Amer Marzuki, Ramsheed Abdul Rahim. Site Investigators and Key Personnel: Ramin Nilforooshan (Chief Investigator), Jessia True (Research), Olga Balazikova (Research), Emily Beal (Research Coordinator), Chloe Walsh, Nicole Whitethread, Matthew Purnell, Vaiva Zarombaite, Lucy Copps, Olivia Knight, Gaganpreet Bangar, Sumit Dey, Chelsea Mukonda, Jessia Hine, Luke Mallon (Clinical Monitoring Team), David Winfield (Principal Investigator), Claire Norman (Research Nurse), Aanesha Patel, Ruby Lyall, Sanara Razall (Clinical Studies), Naomi Hassim, Pippa Kirby, John Patterson (Research Therapists), Mike Law (Business Development), Andy Kenny (Social Services).
Author information
Authors and Affiliations
Contributions
L.R., N.F.L., P.B.: Conceptualisation, Methodology, Software, Formal analysis, Investigation, Data Processing, Writing - Original Draft, Review and Editing, Visualisation; A.C.: Review and Editing; CR&T Group: Data Collection, Clinical Study; R.N.: Conceptualisation, Methodology, Review and Editing. P.B., R.N.: Funding acquisition.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Communications Medicine thanks Margeaux Schade (Gray) and Juan Francisco Flores Vázquez for their contribution to the peer review of this work.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Rigny, L., Fletcher-Lloyd, N., Capstick, A. et al. Assessment of sleep patterns in dementia and general population cohorts using passive in-home monitoring technologies. Commun Med 4, 222 (2024). https://doi.org/10.1038/s43856-024-00646-0
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s43856-024-00646-0






