Abstract
The results from this study provide promising insights in unobtrusive nighttime movement monitoring. The study underscores the potential to enhance the quality of care for NH residents through a machine learning model based on data from accelerometers connected to a viscoelastic care mattress, thereby driving progress in the field of continence care and artificial intelligence-supported health care for older adults.
Introduction
Urinary incontinence (UI) affects over 50% of older adults residing in nursing homes (NHs). Current management practices rely heavily on scheduled manual checks—which disrupt residents' sleep—or "smart diapers" equipped with moisture sensors. While technologically effective, smart diapers are expensive, intrusive, and only provide data when the resident is actually wearing them.
There is a pressing need for a continuous, unobtrusive monitoring system that respects resident dignity. Specifically, caregivers need a way to detect nocturnal "agitation" (large, restless body movements), as this behavior is frequently triggered by the urge to void. Detecting this agitation early can help staff intervene just in time, improving continence care, preventing leaks, and protecting the overall sleep quality of the residents.
Methodology
The researchers built a monitoring system using two medically certified sensor dots (Byteflies) containing triaxial accelerometers and gyroscopes, sampling at 100 Hz. Crucially, to maintain unobtrusiveness, these sensors were attached to the bottom of a Tempur-Med viscoelastic pressure-redistributing mattress. This is a challenging setup because viscoelastic foam is specifically designed in healthcare settings to absorb and dampen body movement to prevent bedsores.
Six participants followed a 7-step protocol simulating nighttime activities: lying in bed, turning, getting out of bed, and exhibiting agitated movements. The continuous sensor data was segmented into 20-second sliding windows with a 50% overlap. The team used the Time Series Feature Extraction Library (TSFEL) to extract over 4,600 features, narrowing them down to 1,416 by removing correlated and zero-variance data. They then trained an XGBoost classifier to categorize the windows into four states: In bed, Agitation, Turn, and Out of bed.
Key Results
The XGBoost model achieved an overall F1-score of 79.56% and an overall accuracy of 79.62% across all four classes. For the critical "Agitation" class, the model achieved an F1-score of 79.67%, successfully distinguishing restless movements from standard turning or lying still.
As shown in the confusion matrix, the "In bed" (resting) class was the easiest for the model to identify, scoring the highest precision (84.32%) and F1-score (85.19%). The model struggled slightly with the "Turn" class (F1-score of 70.33%), occasionally confusing it with simply being "In bed." The authors attribute this to the 20-second window size, which is considerably longer than the actual duration of a typical turn (approx. 10 seconds), diluting the signal.
Discussion and Insights
- Viscoelastic foam is viable: The study proves that high-frequency movement data (like agitation) can still be reliably detected even when sensors are placed underneath thick, pressure-absorbing care mattresses.
- Horizontal movement is key: An analysis of SHAP (Shapley Additive exPlanations) values revealed that none of the top 10 most impactful features relied on z-axis (vertical) acceleration data. Horizontal and planar movements (x-axis and y-axis) were far more informative for classifying bed states.
- Sensor efficiency: Comparing the performance of a single sensor dot versus the combined two-sensor setup showed only marginal improvements. A single, strategically placed sensor might be sufficient for real-world deployment, reducing hardware costs and system complexity.
Limitations and Future Work
The study's primary limitation is its reliance on a small, healthy, and young participant pool (mean age 29). Simulated agitation may not perfectly mimic the specific biomechanics of frail older adults. Furthermore, the data was collected using a highly structured protocol, which differs from the spontaneous nature of real sleep.
Future work should focus on validation in actual nursing home settings to test the system against real-world challenges, such as limited bed mobility and caregiver transfers. Additionally, integrating pressure sensors could help better distinguish between a resident lying perfectly still and a resident who has left the bed.
Summary updated