Lune

KDD2024Top-tier venue

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, Dong Fang, Ruoyu Li, Wenxin Tang, Kang Li, Xudong Zuo, Penghui Hu, Yong Jiang

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Sensitive Information Tracking in Commodity IoT cites 6thSense: A Context-aware Sensor-based Attack Detector for Smart Devices
  • Sensitive Information Tracking in Commodity IoT cites Security Analysis of Emerging Smart Home Applications
  • ContexloT: Towards Providing Contextual Integrity to Appified IoT Platforms cites Security Analysis of Emerging Smart Home Applications
  • HAWatcher: Semantics-Aware Anomaly Detection for Appified Smart Homes cites 6thSense: A Context-aware Sensor-based Attack Detector for Smart Devices
  • HAWatcher: Semantics-Aware Anomaly Detection for Appified Smart Homes cites Security Analysis of Emerging Smart Home Applications
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Dissect Black Box: Interpreting for Rule-Based Explanations in Unsupervised Anomaly DetectionYu Zhang, Ruoyu Li, Nengwu Wu, Qing Li et al.NeurIPS 2024 · 7 citations
  2. An Evidence-Based Post-Hoc Adjustment Framework for Anomaly Detection Under Data ContaminationSukanya Patra, Souhaib Ben TaiebNeurIPS 2025 · 4 citations
  3. Minos : A Lightweight and Dynamic Defense against Traffic Analysis in Programmable Data PlanesZihao Wang, Qing Li, Guorui Xie, Dan Zhao et al.USENIX ATC 2025 · 4 citations

Builds on14

  1. Security Analysis of Emerging Smart Home ApplicationsEarlence Fernandes, Jaeyeon Jung, Atul PrakashS&P 2016 · 684 citations
  2. ContexloT: Towards Providing Contextual Integrity to Appified IoT PlatformsYunhan Jack Jia, Qi Alfred Chen, Shiqi Wang, Amir Rahmati et al.NDSS 2017 · 325 citations
  3. Sensitive Information Tracking in Commodity IoTZ. Berkay Celik, Leonardo Babun, Amit Kumar Sikder, Hidayet Aksu et al.USENIX Security 2018 · 236 citations
  4. 6thSense: A Context-aware Sensor-based Attack Detector for Smart DevicesAmit Kumar Sikder, Hidayet Aksu, A. Selcuk UluagacUSENIX Security 2017 · 129 citations
  5. HAWatcher: Semantics-Aware Anomaly Detection for Appified Smart HomesChenglong Fu, Qiang Zeng, Xiaojiang DuUSENIX Security 2021 · 109 citations

Related papers

  1. SmartGen: Synthesizing Context-Aware User Behavior Data for Adaptive Smart Home IntelligenceZhiyao Xu, Dan Zhao, Qingsong Zou, Qing Li et al.KDD 2026
  2. Fine-Grained Anomaly Detection on Dynamic Graphs via Attention AlignmentDong Chen, Xiang Zhao, Weidong XiaoICDE 2024 · 8 citations
  3. Hierarchical Graph Embedded Pose Regularity Learning via Spatio-Temporal Transformer for Abnormal Behavior DetectionChao Huang, Yabo Liu, Zheng Zhang, Chengliang Liu et al.ACM MM 2022 · 38 citations
  4. UMGAD: Unsupervised Multiplex Graph Anomaly DetectionXiang Li, Jianpeng Qi, Zhongying Zhao, Guanjie Zheng et al.ICDE 2025 · 4 citations
  5. ARGUS: Context-Based Detection of Stealthy IoT Infiltration AttacksPhillip Rieger, Marco Chilese, Reham Mohamed, Markus Miettinen et al.USENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines