arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.20445cs.CLcs.AIcs.LG
收藏

TrajAgent:一种通过大小模型协作进行轨迹建模的LLM-Agent框架

TrajAgent: An LLM-Agent Framework for Trajectory Modeling via Large-and-Small Model Collaboration

Department of Electronic Engineering, BRNist, Tsinghua University, Beijing, China(电子工程系,北京理工大学,清华大学,北京)

Yuwei Du, Jie Feng, Jie Zhao, Yong Li

AI总结:

针对轨迹建模中数据异质、任务多样导致建模困难的问题,本文提出大语言模型驱动的TrajAgent框架,通过统一环境、智能体工作流及大小模型协作学习实现自动建模,在多数据集多任务上性能显著优于基线。

摘要:

轨迹建模涵盖轨迹数据模式挖掘与未来预测相关研究,在生活服务、城市交通、公共管理等领域具有广泛应用。目前已有众多方法被提出用于解决轨迹建模中的特定问题,但数据的异质性与轨迹任务的多样性,使得开展有效且可靠的轨迹建模成为一项重要却极具挑战性的工作,即便是领域专家也面临诸多困难。本文提出TrajAgent——一种由大语言模型驱动的智能体框架,旨在通过自动化建模实现稳健高效的轨迹建模。该框架利用并优化各类专用模型,以有效应对不同数据集下的多种轨迹建模任务。在TrajAgent中,我们首先开发了UniEnv(统一执行环境),它具备统一的数据与模型接口,可支持各类模型的执行与训练。基于UniEnv,我们设计了一套智能体工作流,用于跨不同轨迹任务与数据的自动轨迹建模。此外,我们还引入了基于LLM的智能体与小型专用模型之间的协作学习机制,以有效提升整个框架的性能。我们在4个真实世界数据集上针对5项任务开展了大量实验,结果证明了TrajAgent在自动化轨迹建模方面的有效性,其性能较基线方法提升了2.38%-69.91%。相关代码与数据可通过https://github.com/tsinghua-fib-lab/TrajAgent获取。

英文摘要:

Trajectory modeling, which includes research on trajectory data pattern mining and future prediction, has widespread applications in areas such as life services, urban transportation, and public administration. Numerous methods have been proposed to address specific problems within trajectory modeling. However, the heterogeneity of data and the diversity of trajectory tasks make effective and reliable trajectory modeling an important yet highly challenging endeavor, even for domain experts. In this paper, we propose TrajAgent, an agent framework powered by large language models, designed to facilitate robust and efficient trajectory modeling through automation modeling. This framework leverages and optimizes diverse specialized models to address various trajectory modeling tasks across different datasets effectively. In TrajAgent, we first develop UniEnv, an execution environment with a unified data and model interface, to support the execution and training of various models. Building on UniEnv, we introduce an agentic workflow designed for automatic trajectory modeling across various trajectory tasks and data. Furthermore, we introduce collaborative learning schema between LLM-based agents and small speciallized models, to enhance the performance of the whole framework effectively. Extensive experiments on five tasks using four real-world datasets demonstrate the effectiveness of TrajAgent in automated trajectory modeling, achieving a performance improvement of 2.38%-69.91% over baseline methods. The codes and data can be accessed via https://github.com/tsinghua-fib-lab/TrajAgent.

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

↑