Evaluating Smart Home Privacy: The Relationship Between Encrypted Sensor Data and Occupancy Prediction Through Machine Learning

The widespread adoption of smart meters and other IoT devices in smart homes has revolutionized residential energy management. However, this convenience comes with significant privacy risks, as malicious individuals can exploit leaked data to predict household occupancy, potentially enabling crimes like burglary and theft. Therefore, to safeguard occupancy data in a given household, we introduce a novel, efficient and robust cryptographic scheme subdivided into two. Both methods involve a robust two-fold encryption process, i.e.; performing Customized Fernet-256 encryption with random shuffling vs Customized Fernet-256 encryption with strategy based operations on household data, respectively. To test the effectiveness of these two methods, we predict the occupancy using an AutoML classifier on encrypted and unencrypted data. The random shuffling method steadily reduces the classifier’s accuracy as the percentage of encryption increases. In contrast, the strategic method achieves strong protection against intrusion even with minimal intervention, although its performance improvement plateaus after an initial decline. This is a significant improvement over unencrypted data, where attackers could have achieved $\gt95 \%$ across all performance metrics. Furthermore, we found that the strategic method attains a remarkable F1-Score of 0.447 for predicting absence at $100 \%$ encryption level, underscoring the difficulty of the attacker in accurately predicting household occupancy status during the test period. The corresponding value for the random shuffling method is 0.005, illustrating its superiority in terms of F1-Score. These findings signify the importance of encryption as a privacy-preserving measure in smart homes and demonstrate its ability to prevent unauthorized occupancy inference.

Authors

Institutions

Publication Details

Published
2025-08-04
DOI
https://doi.org/10.1109/csr64739.2025.11129999
Primary Topic
Privacy, Security, and Data Protection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating Smart Home Privacy: The Relationship Between Encrypted Sensor Data and Occupancy Prediction Through Machine Learning

Christian Schindelhauer, Sneha Mohanty, Demetrios N. Papadopoulos
Privacy, Security, and Data Protection
article

Evaluating Smart Home Privacy: The Relationship Between Encrypted Sensor Data and Occupancy Prediction Through Machine Learning

Christian Schindelhauer, Sneha Mohanty, Demetrios N. Papadopoulos
article en

Abstract

The widespread adoption of smart meters and other IoT devices in smart homes has revolutionized residential energy management. However, this convenience comes with significant privacy risks, as malicious individuals can exploit leaked data to predict household occupancy, potentially enabling crimes like burglary and theft. Therefore, to safeguard occupancy data in a given household, we introduce a novel, efficient and robust cryptographic scheme subdivided into two. Both methods involve a robust two-fold encryption process, i.e.; performing Customized Fernet-256 encryption with random shuffling vs Customized Fernet-256 encryption with strategy based operations on household data, respectively. To test the effectiveness of these two methods, we predict the occupancy using an AutoML classifier on encrypted and unencrypted data. The random shuffling method steadily reduces the classifier’s accuracy as the percentage of encryption increases. In contrast, the strategic method achieves strong protection against intrusion even with minimal intervention, although its performance improvement plateaus after an initial decline. This is a significant improvement over unencrypted data, where attackers could have achieved $\gt95 \%$ across all performance metrics. Furthermore, we found that the strategic method attains a remarkable F1-Score of 0.447 for predicting absence at $100 \%$ encryption level, underscoring the difficulty of the attacker in accurately predicting household occupancy status during the test period. The corresponding value for the random shuffling method is 0.005, illustrating its superiority in terms of F1-Score. These findings signify the importance of encryption as a privacy-preserving measure in smart homes and demonstrate its ability to prevent unauthorized occupancy inference.

University of Freiburg (DE)
Climate action
Openalex Percentile: Top 70%
Privacy, Security, and Data Protection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.