SmartGen: Synthesizing Context-Aware User Behavior Data for Adaptive Smart Home Intelligence
Zhiyao Xu, Dan Zhao, Qingsong Zou, Qing Li, Yong Jiang, Yuhang Wang, Jingyu Xiao
Abstract
As smart homes become increasingly prevalent, intelligent models are widely used for tasks such as anomaly detection and behavior prediction. These models are typically trained on static datasets, making them brittle to behavioral drift caused by seasonal changes, lifestyle shifts, or evolving routines. However, collecting new behavior data for retraining is often impractical due to its slow pace, high cost, and privacy concerns. In this paper, we propose SmartGen, an LLM-based framework that synthesizes context-aware user behavior data to support continual adaptation of downstream smart home models. SmartGen consists of four key components. First, we design a Time and Semantic-aware Split module to divide long behavior sequences into manageable, semantically coherent subsequences under dual time-span constraints. Second, we propose Semantic-aware Sequence Compression to reduce input length while preserving representative semantics by clustering behavior mapping in latent space. Third, we introduce Graph-guided Sequence Synthesis, which constructs a behavior relationship graph and encodes frequent transitions into prompts, guiding the LLM to generate data aligned with contextual changes while retaining core behavior patterns. Finally, we design a Two-stage Outlier Filter to identify and remove implausible or semantically inconsistent outputs, aiming to improve the factual coherence and behavioral validity of the generated sequences. Experiments on three real-world datasets demonstrate that SmartGen significantly enhances model performance on anomaly detection and behavior prediction tasks under behavioral drift, with anomaly detection improving by 85.43% and behavior prediction by 70.51% on average. The code is available at https://github.com/xzyvoid/SmartGen.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 3dceb9a3-679a-407f-a369-8de08c91d00bRelated papers
- Make Your Home Safe: Time-aware Unsupervised User Behavior Anomaly Detection in Smart Homes via Loss-guided MaskJingyu Xiao, Zhiyao Xu, Qingsong Zou, Qing Li et al.KDD 2024 · 12 citations
- TSGen: A Framework for Indoor Trajectory-Semantic Data SynthesisRuikai Chu, Qixuan Cai, Yiping Yan, Xinyu Tong et al.UbiComp 2026
- Predicting User Behavior in Smart Spaces with LLM-Enhanced Logs and Personalized PromptsYunpeng Song, Jiawei Li, Yiheng Bian, Zhongmin CaiAAAI 2025 · 7 citations
- Learning from User-driven Events to Generate Automation SequencesYunpeng Song, Yiheng Bian, Xiaorui Wang, Zhongmin CaiUbiComp 2024 · 7 citations
- LLM as an Algorithmist: Enhancing Anomaly Detectors via Programmatic SynthesisHangting Ye, Jinmeng Li, He Zhao, Mingchen Zhuge et al.ICLR 2026 · 2 citations
