arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.13918cs.AI
收藏

Geo-Llama:利用LLM在时空约束下生成人类移动轨迹

Geo-Llama: Leveraging LLMs for Human Mobility Trajectory Generation with Spatiotemporal Constraints

Dept. of Computer Science, Emory University(埃默里大学计算机科学系);Dept. of Computer Science, University of Southern California(南加州大学计算机科学系);Novateur Research Solutions(Novateur研究解决方案)

Siyu Li, Toan Tran, Haowen Lin, John Krumm, Cyrus Shahabi, Lingyi Zhao, Khurram Shafique, Li Xiong

AI总结:

提出Geo-Llama框架,通过微调LLM并采用逐次访问排列策略,在多重时空约束下生成更具真实性和连贯性的人类移动轨迹。

摘要:

生成真实的人类移动数据对于交通、城市规划和疫情控制等多个应用领域至关重要,因为真实数据常因高成本和隐私问题而难以供研究人员获取。现有的深度生成模型通过学习真实轨迹来生成合成轨迹。尽管取得了一定进展,但大多数模型存在训练稳定性问题,且随数据量增加扩展性较差。更重要的是,它们通常缺乏控制机制来在特定约束(如强制特定访问)下引导生成的轨迹。为解决这些局限性,我们正式定义了受控轨迹生成问题,以有效处理多重时空约束。我们提出了Geo-Llama,一种新颖的LLM微调框架,能够在维持生成轨迹上下文连贯性的同时,强制执行多重显式访问约束。在该方法中,预训练LLM在轨迹数据上通过逐次访问排列策略进行微调,其中每次访问对应特定的时间和位置。该策略使模型能够捕捉时空模式而不受访问顺序影响,同时在生成过程中通过提示保持灵活的上下文约束整合。在真实世界和合成数据集上的大量实验验证了Geo-Llama的有效性,证明了其在处理广泛约束以生成比现有方法更真实轨迹方面的多功能性和鲁棒性。

英文摘要:

Generating realistic human mobility data is essential for various application domains, including transportation, urban planning, and epidemic control, as real data is often inaccessible to researchers due to high costs and privacy concerns. Existing deep generative models learn from real trajectories to generate synthetic ones. Despite the progress, most of them suffer from training stability issues and scale poorly with increasing data size. More importantly, they often lack control mechanisms to guide the generated trajectories under constraints such as enforcing specific visits. To address these limitations, we formally define the controlled trajectory generation problem for effectively handling multiple spatiotemporal constraints. We introduce Geo-Llama, a novel LLM finetuning framework that can enforce multiple explicit visit constraints while maintaining contextual coherence of the generated trajectories. In this approach, pre-trained LLMs are fine-tuned on trajectory data with a visit-wise permutation strategy where each visit corresponds to a specific time and location. This strategy enables the model to capture spatiotemporal patterns regardless of visit orders while maintaining flexible and in-context constraint integration through prompts during generation. Extensive experiments on real-world and synthetic datasets validate the effectiveness of Geo-Llama, demonstrating its versatility and robustness in handling a broad range of constraints to generate more realistic trajectories compared to existing methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑