English

TrajLLM: A Modular LLM-Enhanced Agent-Based Framework for Realistic Human Trajectory Simulation

Artificial Intelligence 2025-02-27 v1 Social and Information Networks

Abstract

This work leverages Large Language Models (LLMs) to simulate human mobility, addressing challenges like high costs and privacy concerns in traditional models. Our hierarchical framework integrates persona generation, activity selection, and destination prediction, using real-world demographic and psychological data to create realistic movement patterns. Both physical models and language models are employed to explore and demonstrate different methodologies for human mobility simulation. By structuring data with summarization and weighted density metrics, the system ensures scalable memory management while retaining actionable insights. Preliminary results indicate that LLM-driven simulations align with observed real-world patterns, offering scalable, interpretable insights for social problems such as urban planning, traffic management, and public health. The framework's ability to dynamically generate personas and activities enables it to provide adaptable and realistic daily routines. This study demonstrates the transformative potential of LLMs in advancing mobility modeling for societal and urban applications. The source code and interactive demo for our framework are available at https://github.com/cju0/TrajLLM.

Keywords

Cite

@article{arxiv.2502.18712,
  title  = {TrajLLM: A Modular LLM-Enhanced Agent-Based Framework for Realistic Human Trajectory Simulation},
  author = {Chenlu Ju and Jiaxin Liu and Shobhit Sinha and Hao Xue and Flora Salim},
  journal= {arXiv preprint arXiv:2502.18712},
  year   = {2025}
}

Comments

Accepted WWW2025 Demo Paper

R2 v1 2026-06-28T21:58:03.967Z