Skip to main content
QUICK REVIEW

[论文解读] TrajGPT-R: Generating Urban Mobility Trajectory with Reinforcement Learning-Enhanced Generative Pre-trained Transformer

Jiawei Wang, Chuang Yang|arXiv (Cornell University)|Feb 24, 2026
Traffic Prediction and Management TechniquesEngineering被引用 0
一句话总结

TrajGPT-R 采用两阶段框架:先对 Transformer 进行城市轨迹生成的预训练,然后用由逆强化学习引导的奖励模型进行微调,以提高生成的城市出行轨迹的可靠性与多样性。

ABSTRACT

Mobility trajectories are essential for understanding urban dynamics and enhancing urban planning, yet access to such data is frequently hindered by privacy concerns. This research introduces a transformative framework for generating large-scale urban mobility trajectories, employing a novel application of a transformer-based model pre-trained and fine-tuned through a two-phase process. Initially, trajectory generation is conceptualized as an offline reinforcement learning (RL) problem, with a significant reduction in vocabulary space achieved during tokenization. The integration of Inverse Reinforcement Learning (IRL) allows for the capture of trajectory-wise reward signals, leveraging historical data to infer individual mobility preferences. Subsequently, the pre-trained model is fine-tuned using the constructed reward model, effectively addressing the challenges inherent in traditional RL-based autoregressive methods, such as long-term credit assignment and handling of sparse reward environments. Comprehensive evaluations on multiple datasets illustrate that our framework markedly surpasses existing models in terms of reliability and diversity. Our findings not only advance the field of urban mobility modeling but also provide a robust methodology for simulating urban data, with significant implications for traffic management and urban development planning. The implementation is publicly available at https://github.com/Wangjw6/TrajGPT_R.

研究动机与目标

  • 通过生成规模庞大的城市出行轨迹来实现对隐私的约束,同时使其 resemble 真实的城市动力学。
  • 离线预训练的 Transformer 模型,将轨迹生成视为序列决策过程进行学习。
  • 引入基于逆强化学习的奖励模型以捕捉轨迹层面的偏好并指导微调。
  • 在奖励模型引导的目标下对预训练模型进行微调,以提升生成轨迹的可靠性与多样性。
  • 在多个大规模城市出行数据集上验证该方法,并展示相较基线的优越性能。

提出的方法

  • 将城市轨迹生成建模为一个使用 Transformer 自回归框架的序列决策问题。
  • 用状态、动作和回报-到-去(return-to-go)tokens 表示轨迹,并使用离线 RL 在交叉熵损失下训练。
  • 通过逆强化学习构建一个轨迹级奖励模型,使用一个基本值估计器(Basic Value Estimator)和一个偏好值估计器(Preference Value Estimator)以捕捉一般性与个体化偏好。
  • 用结合策略梯度信号(GAE)和监督损失的奖励模型引导目标对预训练模型进行微调,采用通过较小的奖励权重参数实现保守更新。
  • 在 Toyota、T-Drive 和 Porto Taxi 数据集上使用可靠性与多样性指标进行评估,显示性能提升。
Figure 1 : Trajectory generation as a sequential decision-making problem . The vehicle navigates in the urban city by making decisions to determine the downstream link at each link
Figure 1 : Trajectory generation as a sequential decision-making problem . The vehicle navigates in the urban city by making decisions to determine the downstream link at each link

实验结果

研究问题

  • RQ1一个基于变换器的模型是否能够在保护隐私的同时生成多样且可靠的城市出行轨迹?
  • RQ2引入基于 IRL 的奖励模型与 RMFT 是否相较于单独离线 RL 可以提高轨迹生成质量?
  • RQ3TrajGPT-R 在不同的城市环境与数据集上能否实现良好泛化?

主要发现

  • TrajGPT-R 在 Toyota、T-Drive 与 Porto Taxi 数据集上实现了比基线更高的可靠性与多样性。
  • 在 Toyota 上,其指标为 Jac 0.524,Cos 0.575,BLEU 0.383,L-JSD 0.016,C-JSD 0.042,UE 14.85,BE 14.82。
  • 在 T-Drive 上,其指标为 Jac 0.635,Cos 0.570,BLEU 0.345,L-JSD 0.005,C-JSD 0.013,UE 8.57,BE 10.22。
  • 在 Porto 上,其指标为 Jac 0.522,Cos 0.470,BLEU 0.432,L-JSD 0.013,C-JSD 0.032,UE 10.13,BE 10.75。
  • 使用 RMFT 的微调和显式奖励建模显著提升了在长时序轨迹生成和稀疏区域的鲁棒性。
Figure 2 : Our proposed Two-phase framework to enhance pretrained generative model for urban mobility trajectory generation with reinforcement learning (TrajGPT-R). Phase 1: A Generative pre-trained Transformer (GPT) is developed to acquire the general knowledge for generating urban mobility traject
Figure 2 : Our proposed Two-phase framework to enhance pretrained generative model for urban mobility trajectory generation with reinforcement learning (TrajGPT-R). Phase 1: A Generative pre-trained Transformer (GPT) is developed to acquire the general knowledge for generating urban mobility traject

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。