TrajGenAgent: A Hierarchical LLM Agent for Human Mobility Trajectory Generation

· Source: cs.AI updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics, Robotics & Autonomous Systems · Depth: Expert, extended

Summary

TrajGenAgent is a novel hierarchical LLM-agent framework designed for generating realistic human mobility trajectories without model fine-tuning. It employs a two-stage orchestrator–worker design, decoupling macro-level activity chain planning from micro-level spatiotemporal grounding. The orchestrator, powered by Qwen2.5-32B-Instruct, synthesizes activity chains via in-context learning, while a deterministic LangGraph worker workflow instantiates each activity with distance-aware location retrieval and kinematics-aware temporal generation. The framework introduces an anomaly-detection-based evaluation using ICAD and BeSTAD to assess behavioral fidelity beyond aggregate spatiotemporal statistics. Experiments on NumoSim and MobilitySyn datasets demonstrate that TrajGenAgent outperforms existing baselines, including Geo-Llama and Geo-CETRA, in both statistical alignment and semantic coherence, while significantly reducing computational overhead by avoiding parameter updates.

Key takeaway

For Machine Learning Engineers developing synthetic mobility data generators, TrajGenAgent offers a compelling, cost-effective approach. Its zero-shot hierarchical agent design, which separates high-level planning from low-level grounding, achieves superior realism and semantic coherence compared to fine-tuned LLMs, without incurring substantial computational overhead. You should explore adopting similar workflow-managed agent architectures and integrate anomaly-detection frameworks like ICAD and BeSTAD to ensure generated data exhibits high behavioral fidelity.

Key insights

TrajGenAgent's hierarchical LLM-agent framework generates realistic human mobility trajectories by decoupling semantic planning from spatiotemporal grounding without fine-tuning.

Principles

Method

An LLM orchestrator synthesizes an activity chain via in-context learning, followed by a LangGraph worker workflow that deterministically grounds each activity using rule-based POI retrieval and kinematics-aware temporal generation.

In practice

Topics

Code references

Best for: AI Scientist, Machine Learning Engineer, Research Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.