Abstract
As healthcare transitions toward smart home environments for monitoring People Living With Dementia (PLWD), the dual challenges of data privacy and model personalization have become paramount. This paper introduces PRISM, an edge-based security framework that utilizes unsupervised deep learning to detect anomalies in IoT sensor data. By training personalized models directly on low-power edge hardware, PRISM ensures sensitive patient data remains local while achieving up to 99% detection accuracy. Our evaluation, using longitudinal data from 44 households, demonstrates that individualized edge-based training is not only computationally feasible but functionally necessary for effective healthcare monitoring.
Introduction
The shift toward "smart homes" for continuous health monitoring offers a transformative opportunity for elderly care and chronic disease management. However, the integration of Internet of Things (IoT) devices into private residences creates a significant privacy risk. Traditional machine learning (ML) architectures typically rely on cloud-based processing, requiring the transmission of highly sensitive behavioral and physiological data to external servers.
Beyond privacy concerns, healthcare IoT faces a "personalization gap." Global models trained on general populations often fail to account for the unique behavioral patterns, medication schedules, and living environments of individual patients. A routine action for one patient might signify a medical emergency for another. PRISM (Privacy Preserving Internet of Things Security Management) addresses these gaps by moving both training and inference to the network edge, ensuring data never leaves the home while tailoring security to the individual user.
Methodology
PRISM is designed as an unsupervised security framework that operates at the application layer, focusing on actual sensor readings rather than encrypted network traffic. The system consists of two primary modules:
1. Anomaly Injection Module
To overcome the scarcity of real-world labeled anomaly data in healthcare settings, this module allows for the systematic injection of realistic synthetic anomalies into patient datasets. These include:
- On-Off Frequency Changes: Alterations in how often a device is used.
- Variance Shifts: Changes in the consistency of sensor readings.
- Spikes: Sudden, extreme values in physiological or environmental data.
2. Anomaly Detection Module
PRISM utilizes Deep Neural Networks (DNNs) to learn the "normal" baseline of a specific patient. The system calculates a reconstruction loss; if the loss exceeds a threshold—dynamically tuned based on the model's training performance—the event is flagged as an anomaly. This unsupervised approach removes the need for pre-labeled "attack" data, which is often unavailable in real-world deployments.
To ensure practical utility, the framework was implemented and tested on a Raspberry Pi 4, representing the type of low-power hardware typically found in modern smart home hubs.
Experimental Dataset
The study leverages a comprehensive longitudinal dataset from the UK Dementia Research Institute Care Research and Technology Centre (UK DRI CR&T). The dataset includes:
- Scope: Data from 44 households of People Living With Dementia.
- Duration: Two years of continuous monitoring (April 2019 – June 2021).
- Heterogeneity: 22 different types of IoT devices, including motion sensors, smart plugs, door sensors, and physiological monitors (heart rate and sleep mats).
Key Results and Insights
The Necessity of Personalization
A critical finding of the PRISM study is that models are not interchangeable between patients. Models trained on one household's data performed poorly when applied to another, confirming that local training is a functional requirement for accuracy, not just a privacy preference.
Edge Computing Feasibility
Contrary to the assumption that DNN training requires massive cloud resources, PRISM demonstrates that edge hardware is more than capable of handling these tasks. On a Raspberry Pi 4, mean training times were as low as 0.88 seconds for spike anomalies and approximately 26 seconds for complex behavioral anomalies. This low latency allows for frequent model updates without disrupting home network performance.
Detection Accuracy
The system achieved a peak accuracy of 99% when utilizing a 24-hour training window. The research highlighted a significant trade-off regarding window sizes: while 24-hour windows provided the highest precision, performance degraded as the window size decreased, suggesting that consistent, longitudinal data collection is vital for model stability.
Discussion and Future Work
While PRISM provides a robust foundation for private IoT security, several areas for development remain. The authors noted that patient behavior naturally evolves over time, which may lead to model degradation. Future research will focus on determining optimal retraining intervals to prevent "accuracy decay" over months or years.
Additionally, the authors propose the integration of Federated Learning (FL). This would allow PRISM to benefit from the aggregate patterns of a larger cohort to improve baseline models without ever exchanging raw, private data between households. By combining local personalization with federated insights, the system could achieve even higher resilience against emerging security threats in the healthcare IoT ecosystem.
Summary updated