Manuscript Offprint

arXiv:2608.28152

Under-Mattress Temporal Sensing for Next-Day Agitation Risk Scoring in Dementia Wards

Zhen Liu, Marta Bono, Robbe Decloedt, Ajda Flisar, Maarten Van Den Bossche, Maarten De Vos

Zhen Liu 1^{1}, Marta Bono 1^{1}, Robbe Decloedt 2^{2}, Ajda Flisar 2^{2}, Maarten Van Den Bossche 2,3,5,†^{2,3,5,\dagger}, Maarten De Vos 1,4,†^{1,4,\dagger}

1^{1}STADIUS Center, Department of Electrical Engineering, KU Leuven, Leuven, Belgium

2^{2}Geriatric Psychiatry, University Psychiatric Center KU Leuven, Leuven, Belgium

3^{3}Neuropsychiatry, Department of Neurosciences, Leuven Brain Institute, KU Leuven, Leuven, Belgium

4^{4}Woman and Child, Department of Development and Regeneration, KU Leuven, Leuven, Belgium

5^{5}Department of Psychiatry, Maastricht University Medical Centre+ (MUMC+), Maastricht, The Netherlands

†^{\dagger}Both senior authors contributed equally to this study

Abstract—Objective: Agitation fluctuates over short time horizons in people living with dementia, yet continuous physiological information for anticipating next-day risk is limited. We assessed whether contactless under-mattress signals from the preceding night inform next-day agitation risk and whether preserving minute-level temporal structure improves performance over conventional nightly summaries. Methods: We analyzed 423 patient-nights from 65 subjects in a specialized hospital dementia unit using two under-mattress sensing systems. A unified four-paradigm benchmark compared nightly handcrafted summaries, three-period handcrafted features, full-night sequence modeling, and sliding-window multiple-instance learning. Source-specific preprocessing and five-fold patient-grouped cross-validation were used, with performance estimated from pooled out-of-fold predictions. Evaluation included discrimination, calibration, fixed-threshold metrics, and a comparison of period–signal attribution patterns across two temporal models. Results: Full-night sequence modeling achieved the highest discrimination (AUROC, 0.692; AUPRC, 0.849) and balanced accuracy (0.658). Both minute-level pipelines had higher AUROC than nightly summaries, but differences from three-period handcrafted features were uncertain. Cross-model attribution prioritized activity, heart rate, and respiratory rate during the core overnight period. Calibration remained limited. Conclusion: The preceding night’s signals supported modest next-day risk discrimination, with minute-level temporal modeling outperforming nightly summaries. Prospective calibration and external validation are needed before use in individual care decisions. Significance: This patient-grouped benchmark identifies contactless overnight sensing as a promising biomedical engineering direction for agitation-risk research in hospitalized dementia cohorts.

Index Terms—Dementia, Alzheimer's disease, agitation, sleep physiological signals, ballistocardiography, machine learning, multiple-instance learning, temporal representation, risk scoring.

I. INTRODUCTION

Agitation is one of the most prevalent and clinically burdensome neuropsychiatric symptoms in people living with dementia (PLWD) [1]. It includes excessive motor activity, verbal agitation, and aggressive behavior associated with emotional distress [2]. In care homes, clinically significant agitation affects approximately 40% of residents with dementia [3]. Because pharmacological management has limited efficacy and substantial safety concerns [4]–[6], earlier identification of elevated risk could support proactive non-pharmacological care. Agitation varies over short time horizons, while routine clinical observations provide limited continuous information for estimating risk on the following day.

Night-time physiology is a plausible source of short-horizon agitation information, but its predictive value remains underspecified. Sleep disturbances are common in dementia and have been associated with next-day behavioral symptoms [7]–[10]. More specific longitudinal evidence suggests that sleep-agitation coupling varies across individuals [11], that sleep patterns and behavioral symptoms show day-to-day temporal interdependence [12], and that long-term heart rate variability measures are associated with agitation risk in Alzheimer's disease [13]. These findings motivate testing whether nocturnal cardiorespiratory and activity signals recorded during the preceding night are associated with agitation risk on the following day in dementia care.

Contactless under-mattress sensing offers a practical route to measure these signals without adding burden to PLWD or ward staff. Commercially available devices, including EMFIT QS ®^{\circledR} (EMFIT) and Withings Sleep Analyzer ®^{\circledR} (WSA), have been used in sleep and digital health studies [14]–[18]. These two sensors use pressure-sensitive under-mattress sensing to capture body movement and respiratory signals and derive cardiac measures from ballistocardiographic (BCG) signals. Independent evaluations against polysomnography and actigraphy support their utility for low-burden longitudinal monitoring of sleep physiology, particularly cardiorespiratory and movement-derived signals [15], [17]. Unobtrusive mattress-based BCG has also been used to estimate nocturnal awakening and sleep efficiency [19], while contactless radar has recovered cardiorespiratory, movement, and sleep-stage information in older people and people with neurodegenerative disorders [20]. Their relevance to agitation risk scoring lies in the within-night physiological trajectories they provide during routine overnight care.

Existing sensor-based studies have not established whether physiological signals recorded during the preceding night can predict agitation on the following day in a specialized hospital dementia unit. Prior studies have focused on home monitoring, multimodal sensing, or measurements aggregated over several days [21], [22], which represent different prediction settings and time horizons. Among the most closely related predictive studies, Ramesh et al. [23] selected LightGBM for next-day prediction from daily aggregated sleep and physiological variables, whereas Bafaloukou et al. [18] selected LightGBM for agitation monitoring over 8-day periods using multimodal in-home variables. These studies compress sensor streams into engineered summary features or aggregate exposure variables, including minimum respiratory rate, mean heart rate, respiratory-rate variability, and awake ratio [18], [23]. Their findings demonstrate the predictive utility of engineered summaries but leave unclear whether within-night temporal structure adds information beyond nightly summaries. Sequence-aware models have exploited neighboring and longer-range temporal context in automatic sleep staging [24], [25], while multiple-instance learning (MIL) has been applied to long-term physiological recordings [26], [27]. However, whether fine-grained nocturnal structure supports prediction of a distinct next-day behavioral endpoint remains unclear in small repeated-measures hospital cohorts, where evaluation must account for event prevalence, threshold-dependent operating characteristics, device-source heterogeneity, and between-patient differences.

A related explanatory study analyzed an earlier subset from the same hospital monitoring program using mixed-effects models to examine associations between handcrafted nocturnal features and agitation occurrence and severity while accounting for repeated observations [28]. The present study addresses a distinct predictive question by evaluating held-out-patient next-day risk scoring and comparing engineered and time-series representations.

Accordingly, this study evaluates whether under-mattress signals recorded during the preceding night support cross-patient next-day agitation risk estimation. We compared four pipelines that represented the preceding night as whole-night handcrafted summaries, period-resolved handcrafted features, a complete minute-level sequence, or overlapping windows with MIL aggregation. Performance was evaluated using patient-grouped out-of-fold discrimination, calibration, and fixed-threshold metrics. We further examined whether period-specific handcrafted features and sliding-window modeling emphasized similar overnight periods and physiological signals. Source-stratified and higher-burden endpoint analyses examined whether performance patterns varied by sensor source and outcome definition.

References (45)

  • Behavioral and psychological symptoms of dementia
  • Agitation in cognitive disorders: progress in the international psychogeriatric association consensus clinical and research definition
  • Prevalence of and associations with agitation in residents with dementia living in care homes: MARQUE cross-sectional study
  • Agitation and dementia: prevention and treatment strategies in acute and chronic conditions
  • Management of behavioral and psychological symptoms of dementia: Nonpharmacologic and pharmacologic interventions
  • Risk of death with atypical antipsychotic drug treatment for dementia: meta-analysis of randomized placebo-controlled trials
  • Sleep disturbances increase the risk of dementia: a systematic review and meta-analysis
  • Measuring the prevalence of sleep disturbances in people with dementia living in care homes: a systematic review and meta-analysis
  • Sleep and agitation in nursing home residents with and without dementia
  • Agitation and neuropsychiatric symptoms in alzheimer’s disease: Potential for reverse causal associations
  • Individual differences in the temporal relationship between sleep and agitation: a single-subject study in nursing home residents with dementia experiencing sleep disturbance and agitation
  • Dynamic relationship between sleep patterns and behavioral and psychological symptoms of dementia: Longitudinal observational study
  • Heart rate variability and risk of agitation in alzheimer’s disease: The atherosclerosis risk in communities study
  • A validation study of a ballistocardiograph sleep tracker against polysomnography
  • Contactless and longitudinal monitoring of nocturnal sleep and daytime naps in older men and women: a digital health technology evaluation study
  • Contactless longitudinal monitoring in the home characterizes aging and alzheimer’s disease-related night-time behavior and physiology
  • Reliable contactless monitoring of heart rate, breathing rate, and breathing disturbance during sleep in aging: digital health technology evaluation study
  • An interpretable machine learning tool for in-home monitoring of agitation episodes in people living with dementia: a proof-of-concept study
  • Nocturnal awakening and sleep efficiency estimation using unobtrusively measured ballistocardiogram
  • Unobtrusive sleep health assessment using impulse radar: A pilot study in older people
  • Sensing technology to monitor behavioral and psychological symptoms and to assess treatment response in people with dementia. a systematic review
  • Sensor-based agitation prediction in institutionalized people with dementia a systematic review
  • Machine learning prediction of agitation in dementia patients using sleep and physiological data
  • Joint classification and prediction CNN framework for automatic sleep stage classification
  • SleepTransformer: Automatic sleep staging with interpretability and uncertainty quantification
  • Attention-based deep multiple instance learning
  • MAMIL: Multimodal multi-instance learning for long-term ECG classification
  • Dissociating the nocturnal physiological drivers of agitation occurrence and severity in dementia: An explanatory study using contactless sleep sensing
  • Toward quantification of agitation in people with dementia using multimodal sensing
  • The pittsburgh agitation scale: A user-friendly instrument for rating agitation in dementia patients
  • Physiological profiling of agitation in dementia: insights from wearable sensor data
  • A unified approach to interpreting model predictions
  • Inceptiontime: Finding alexnet for time series classification
  • Comparing the areas under two or more correlated receiver operating characteristic curves: a nonparametric approach
  • Sleep fragmentation and the risk of incident alzheimer's disease and cognitive decline in older persons
  • Actigraphy-derived sleep fragmentation index: convergent validity and associations with clinical outcomes
  • Assessment and management of behavioral and psychological symptoms of dementia
  • Which unmet needs contribute to behavior problems in persons with advanced dementia?
  • Calibration: the Achilles heel of predictive analytics
  • Xgboost: A scalable tree boosting system
  • Lightgbm: A highly efficient gradient boosting decision tree
  • Time series classification from scratch with deep neural networks: A strong baseline
  • Bake off redux: a review and experimental evaluation of recent time series classification algorithms
  • An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling
  • tsai: A state-of-the-art deep learning library for time series and sequential data