Abstract
Sensor-based remote health monitoring for people living with dementia (PLwD) enables early detection of adverse health events, reducing hospitalization risk. Identifying anomalies in real-world home activity data poses significant challenges due to noise, imprecise labels, inter-household variability, and the need for clinical explainability. We propose a lightweight, explainable AI pipeline for anomaly detection in home sensor data, aimed at early detection of health events, validated in an ongoing real-world dementia monitoring study. Our model generates noise-resilient daily representations to compute anomaly scores, compared against household-personalized thresholds to trigger alerts. Novel spatiotemporal attention maps uncover the source and timing of anomalies, offering household-specific and cohort-wide insights into atypical behavior patterns. Maximum typicality metrics provide a dynamic and continuous distinction between typical and atypical days, enabling real-time adaptation to incoming patient data. In addition, LLM-powered anomaly summaries support clinical monitoring teams by providing detailed descriptions of sensory observations. On a 65-patient internal validation cohort (18,800 person-days; Aug 2019-Apr 2022), the model achieved 84.64±2.36% sensitivity and 92.16±2.33% generalizability at a 7% maximum alert rate. In a larger 90-patient cohort (40,586 person-days; May 2022–Feb 2024), it achieved 77.04±1.35% sensitivity and 90.67±1.51% generalizability, a strong result given the inherent noise and variability of home sensor data. This AI-powered anomaly detection pipeline demonstrates high clinical utility for early in-home detection of health events in dementia care, and can be easily adapted to diverse remote monitoring settings.
Introduction
Remote health monitoring for people living with dementia (PLwD) is a critical tool for enabling independent living while reducing the risk of emergency hospitalizations. However, passive infrared (PIR) motion sensors in the home generate massive, often "noisy" datasets. This noise can stem from pets, visitors, or sensor errors, while clinical labels (e.g., the exact onset of a fall or infection) are frequently imprecise or delayed. Existing AI models often struggle with this variability or function as "black boxes," providing alerts without the necessary clinical context for intervention.
Methodology: A Lightweight, Explainable Pipeline
The researchers developed a multi-stage pipeline designed for real-world clinical deployment:
- Self-Supervised Representation Learning: Inspired by the DINO framework, the model extracts "daily embeddings" by comparing hourly sensor data with a downsampled "macroscopic" version. It utilizes a lightweight Transformer encoder (44K parameters) to capture temporal dependencies.
- Adaptive Temporal Resolution: Using a Gumbel-Softmax distribution, the model automatically learns the optimal time scale for downsampling, ensuring flexibility across diverse home environments.
- Anomaly Detection: The system computes anomaly scores based on the cosine difference between consecutive daily embeddings, comparing them against household-personalized thresholds rather than a global standard.
- Clinical Explainability: To provide context, the model uses Layer-wise Relevance Propagation (LRP) to generate spatiotemporal attention maps. These maps highlight which sensor location and time of day contributed most to an alert.
- LLM-Powered Reporting: Anomaly data is processed by GPT-3.5 to generate natural language summaries, translating raw sensor data into actionable clinical insights (e.g., "Increased bathroom activity suggests potential urinary function issues").
Data and Validation
The study utilized data from the "Minder" research initiative at the UK Dementia Research Institute, involving two primary cohorts:
- Internal Validation Cohort: 65 patients, 18,800 person-days (Aug 2019 – Apr 2022).
- External Validation Cohort: 90 patients, 40,586 person-days (May 2022 – Feb 2024).
Low-cost PIR motion sensors were placed in key locations, including the kitchen, bathroom, lounge, bedroom, and hallway.
Key Results
The model demonstrated strong performance even in the face of inherent real-world noise. At a target alert rate of 7%—designed to prevent clinician alert fatigue—the system achieved 84.64% sensitivity on the internal cohort and 77.04% sensitivity on the larger external cohort.
Performance varied by event type, with the model proving particularly effective at detecting Falls (85%) and Agitation (77%). UTIs (72%) proved more challenging due to their subtle, gradual onset. Generalizability was high, with over 90% of households achieving the target of >50% sensitivity, indicating robustness to inter-household variability.
Discussion and Limitations
The study highlights that decoupling representation learning from anomaly detection is highly effective when labels are noisy or sparse. By learning what "normal" looks like for a specific household, the model can identify deviations without requiring perfect ground-truth labels for every health event.
However, several limitations remain. The "multi-occupancy" problem—distinguishing a patient's movements from those of visitors or cohabitants—remains a challenge. Additionally, the current reliance on PIR sensors could be improved by integrating door sensors, appliance usage, or physiological metrics. Future work will focus on multimodal data integration and real-time feedback loops from caregivers to refine labeling accuracy.
Summary updated