AgentSense: Virtual Sensor Data Generation Using LLM Agents in Simulated Home Environments

Zikang Leng, Megha Thukral, Yaqi Liu, Hrudhai Rajasekhar, Shruthi K. Hiremath +2 more
6/13/2025
12 citations
cs.CVcs.HC

Official code: ZikangLeng/AgentSense (9 stars, Python, MIT, last commit 2026-10-09).

Abstract

A major challenge in developing robust and generalizable Human Activity Recognition (HAR) systems for smart homes is the lack of large and diverse labeled datasets. Variations in home layouts, sensor configurations, and individual behaviors further exacerbate this issue.

Show full abstract

To address this, we leverage the idea of embodied AI agents -- virtual agents that perceive and act within simulated environments guided by internal world models. We introduce AgentSense, a virtual data generation pipeline in which agents live out daily routines in simulated smart homes, with behavior guided by Large Language Models (LLMs). The LLM generates diverse synthetic personas and realistic routines grounded in the environment, which are then decomposed into fine-grained actions. These actions are executed in an extended version of the VirtualHome simulator, which we augment with virtual ambient sensors that record the agents' activities. Our approach produces rich, privacy-preserving sensor data that reflects real-world diversity. We evaluate AgentSense on five real HAR datasets. Models pretrained on the generated data consistently outperform baselines, especially in low-resource settings. Furthermore, combining the generated virtual sensor data with a small amount of real data achieves performance comparable to training on full real-world datasets. These results highlight the potential of using LLM-guided embodied agents for scalable and cost-effective sensor data generation in HAR. Our code is publicly available at https://github.com/ZikangLeng/AgentSense.

View on arXivView PDF

Code Implementations(1)

MIT

LLM agents live out daily routines in simulated smart homes to generate virtual ambient sensor data for activity recognition (AAAI 2026)

92Python, Jupyter NotebookNov 11, 20251 months agoMIT
aaaihuman-activity-recognitionllm-agentssmart-homesynthetic-data+1 more

Similar Papers

Cite this paper

@article{leng2025agentsense,
  title  = {AgentSense: Virtual Sensor Data Generation Using LLM Agents in Simulated Home Environments},
  author = {Zikang Leng and Megha Thukral and Yaqi Liu and Hrudhai Rajasekhar and Shruthi K. Hiremath and Jiaman He and Thomas Plötz},
  year   = {2025},
  eprint = {2506.11773},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.11773v4}
}

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/2506.11773.svg)](https://codeofpaper.com/paper/2506.11773)

Discussion