TSGen: A Framework for Indoor Trajectory-Semantic Data Synthesis

Ruikai Chu, Qixuan Cai, Yiping Yan, Xinyu Tong, Nianhang Tang, Xiulong Liu, Xin Xie, Zheng Gong and Wenyu Qu

Abstract

Smart homes are evolving from passive response to proactive service, where understanding the semantic information in user trajectories is essential. However, existing tracking systems output only sparse location sequences, insufficient for higher-level semantic reasoning. The core bottleneck lies in the lack of large-scale annotated datasets, while traditional data collection is costly and raises privacy concerns. We present TSGen, which formalizes indoor trajectory-semantic data synthesis as a structured decomposition problem. We first demonstrate that naive end-to-end LLM approaches are fundamentally limited for this task, then propose a hybrid workflow combining LLM-driven behavior simulation, physics-constrained trajectory synthesis, and a self-refining prompt architecture that evolves from runtime errors, to construct the T-S dataset (14,000 hours of trajectory-semantic pairs). We also implement a hierarchical processing pipeline as an initial baseline for semantic understanding, establishing reference benchmarks for future research. Evaluations cover data quality (user studies, diversity analysis, ablation studies) and baseline performance. On QA tasks over synthetic data and real-world deployments, our baseline significantly outperforms direct LLM methods while reducing computational costs. The open-sourced dataset and codebase provide foundational resources for this emerging research area 1 .

Venue
UbiComp / IMWUT 2026
Volume
Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, Volume 10
DOI
10.1145/3831992
PDF
https://dl.acm.org/doi/pdf/10.1145/3831992
Anthology ID
2026.imwut-10.144

Cite

@article{chu-etal-2026-tsgen,
    title = {{TSGen: A Framework for Indoor Trajectory-Semantic Data Synthesis}},
    author = {Ruikai Chu and Qixuan Cai and Yiping Yan and Xinyu Tong and Nianhang Tang and Xiulong Liu and Xin Xie and Zheng Gong and Wenyu Qu},
    journal = {Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies},
    volume = {10},
    issn = {2474-9567},
    year = {2026},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3831992},
    url = {https://doi.org/10.1145/3831992},
    abstract = {Smart homes are evolving from passive response to proactive service, where understanding the semantic information in user trajectories is essential. However, existing tracking systems output only sparse location sequences, insufficient for higher-level semantic reasoning. The core bottleneck lies in the lack of large-scale annotated datasets, while traditional data collection is costly and raises privacy concerns. We present TSGen, which formalizes indoor trajectory-semantic data synthesis as a structured decomposition problem. We first demonstrate that naive end-to-end LLM approaches are fundamentally limited for this task, then propose a hybrid workflow combining LLM-driven behavior simulation, physics-constrained trajectory synthesis, and a self-refining prompt architecture that evolves from runtime errors, to construct the T-S dataset (14,000 hours of trajectory-semantic pairs). We also implement a hierarchical processing pipeline as an initial baseline for semantic understanding, establishing reference benchmarks for future research. Evaluations cover data quality (user studies, diversity analysis, ablation studies) and baseline performance. On QA tasks over synthetic data and real-world deployments, our baseline significantly outperforms direct LLM methods while reducing computational costs. The open-sourced dataset and codebase provide foundational resources for this emerging research area 1 .}
}