MobilityGPT: Enhanced Human Mobility Modeling With a GPT Model
- 12 November 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Intelligent Transportation Systems
- Vol. 27 (1) , 1681-1694
Abstract
Generative models have shown promising results in capturing human mobility characteristics and generating synthetic trajectories. However, it remains challenging to ensure that the generated geospatial mobility data is semantically realistic, including consistent location sequences, and reflects real-world characteristics, such as constraining on geospatial limits. We reformat human mobility modeling as an autoregressive generation task to address these issues, leveraging the Generative Pre-trained Transformer (GPT) architecture. To ensure its controllable generation to alleviate the above challenges, we propose a geospatially-aware generative model, MobilityGPT. We propose a gravity-based sampling method to train a transformer for semantic sequence similarity. Then, we constrained the training process via a road connectivity matrix that provides the connectivity of sequences in trajectory generation, thereby keeping generated trajectories in geospatial limits. Lastly, we proposed to construct a preference dataset for fine-tuning MobilityGPT via Reinforcement Learning from Trajectory Feedback (RLTF) mechanism, which minimizes the travel distance between training and the synthetically generated trajectories. Experiments on real-world datasets demonstrate MobilityGPT’s superior performance over state-of-the-art methods in generating high-quality mobility trajectories that are closest to real data in terms of origin-destination similarity, trip length, travel radius, link, and gravity distributions. We release the source code and reference links to datasets at https://github.com/ammarhydr/MobilityGPTKeywords
All Related Versions
This publication has 42 references indexed in Scilit:
- Human mobility is well described by closed-form gravity-like models learned automatically from dataNature Communications, 2025
- A unified longitudinal trajectory dataset for automated vehicleScientific Data, 2024
- Mobility trajectory generation: a surveyArtificial Intelligence Review, 2023
- Attention-based message passing and dynamic graph convolution for spatiotemporal data imputationScientific Reports, 2023
- A Systematic Evaluation of GPT-2-Based Music Generation2022
- Human Mobility Modelling: Exploration and Preferential Return Meet the Gravity ModelProcedia Computer Science, 2016
- Spatiotemporal Patterns of Urban Human MobilityJournal of Statistical Physics, 2012
- Comparison of accuracy of GPS techniquesMeasurement, 2012
- Microscopic Traffic Flow Simulator VISSIM2010
- Current map-matching algorithms for transport applications: State-of-the art and future research directionsTransportation Research Part C: Emerging Technologies, 2007