Make Your Home Safe: Time-aware Unsupervised User Behavior Anomaly Detection in Smart Homes via Loss-guided Mask

Jingyu Xiao, Zhiyao Xu, Qingsong Zou, Qing Li, Dan Zhao +9 more
6/16/2024
cs.CRcs.AIcs.NI

No official code found. Best implementation: xjywhu/SmartGuard (21 stars, last commit 2026-04-01).

Abstract

Smart homes, powered by the Internet of Things, offer great convenience but also pose security concerns due to abnormal behaviors, such as improper operations of users and potential attacks from malicious attackers. Several behavior modeling methods have been proposed to identify abnormal behaviors and mitigate potential risks. However, their performance often falls short because they do not effectively learn less frequent behaviors, consider temporal context, or account for the impact of noise in human behaviors. In this paper, we propose SmartGuard, an autoencoder-based unsupervised user behavior anomaly detection framework. First, we design a Loss-guided Dynamic Mask Strategy (LDMS) to encourage the model to learn less frequent behaviors, which are often overlooked during learning. Second, we propose a Three-level Time-aware Position Embedding (TTPE) to incorporate temporal information into positional embedding to detect temporal context anomaly. Third, we propose a Noise-aware Weighted Reconstruction Loss (NWRL) that assigns different weights for routine behaviors and noise behaviors to mitigate the interference of noise behaviors during inference. Comprehensive experiments on three datasets with ten types of anomaly behaviors demonstrates that SmartGuard consistently outperforms state-of-the-art baselines and also offers highly interpretable results.

View on arXivView PDF

Code Implementations(1)

xjywhu/SmartGuardCommunity100%

[SIGKDD 2024] Make Your Home Safe: Time-aware Unsupervised User Behavior Anomaly Detection in Smart Homes via Loss-guided Mask

212PythonFeb 7, 20246 months ago
anomaly-detectiondata-miningsmart-home

Similar Papers

Cite this paper

@article{xiao2024make,
  title  = {Make Your Home Safe: Time-aware Unsupervised User Behavior Anomaly Detection in Smart Homes via Loss-guided Mask},
  author = {Jingyu Xiao and Zhiyao Xu and Qingsong Zou and Qing Li and Dan Zhao and Dong Fang and Ruoyu Li and Wenxin Tang and Kang Li and Xudong Zuo and Penghui Hu and Yong Jiang and Zixuan Weng and Michael R. Lyv},
  year   = {2024},
  eprint = {2406.10928},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.10928v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.10928.svg)](https://codeofpaper.com/paper/2406.10928)

Discussion