arXiv · 2611.35363
Knowledge Graph-Guided Temporal Behavior Interpretation with a Local LLM Agent in Smart Homes
Abstract
With the rise in aging populations and single-person households, privacy-preserving smart-home behavior monitoring is increasingly essential for daily living analysis and home-care applications. Smart-home sensors continuously record daily activities; however, these data are typically stored as low-level event logs, which are not directly interpretable as meaningful behavioral patterns. This paper presents a knowledge graph (KG)-guided local large language model (LLM) agent for temporal behavior interpretation in smart homes. The proposed system utilizes Home Assistant sensor histories and Qwen2.5-0.5B-Instruct, a lightweight local LLM, to interpret and explain daily behavior patterns. Sensor records are transformed into behavior-level summaries and organized into rolling-window features to capture multi-day changes. The proposed framework further adapts Qwen2.5 using Low-Rank Adaptation (LoRA) with KG-guided input. Experimental results using an external dataset and local Home Assistant data demonstrate that KG-guided fine-tuning improves the stability and consistency of temporal-state interpretation compared to the base model. Additionally, five-day and seven-day windows yield more stable KG-guided interpretations than shorter windows.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Tianle Hu, Hong Chen, Yenjou Wang. 2026-11-26. Knowledge Graph-Guided Temporal Behavior Interpretation with a Local LLM Agent in Smart Homes. https://arxiv.science/abs/2611.35363
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.