SynMob: Creating High-Fidelity Synthetic GPS Trajectory Dataset for Urban Mobility Analysis

Yuanshao Zhu, Yongchao Ye, Ying Wu, Xiangyu Zhao, James Jian Qiao Yu

Urban mobility analysis—the study of how people and vehicles move through a city—is the backbone of modern urban planning. It drives everything from optimizing traffic lights to designing efficient public transit systems. However, researchers face a persistent "data desert." Real-world GPS trajectory data is often proprietary (owned by private ride-hailing giants), privacy-sensitive (containing digital breadcrumbs that can reveal personal routines), or low quality (riddled with noise and missing points).

Existing public datasets are either too small or lack the quality needed for advanced deep learning applications. To overcome these privacy and accessibility barriers, researchers have introduced SynMob, a novel framework for generating high-fidelity synthetic GPS trajectory datasets using diffusion models. By releasing two massive synthetic datasets, the authors demonstrate that synthetic trajectories can effectively replace real-world data for critical tasks like traffic demand prediction and travel time estimation.

The SynMob Methodology

The authors employ a Diffusion Model as their core trajectory synthesizer. While diffusion models are famous for generating photorealistic images, SynMob creatively repurposes them for spatial-temporal data.

The SynMob Framework illustrating the forward noising and reverse denoising processes.
  • The Process: The model uses a two-step approach. First, a forward noising process iteratively adds Gaussian noise to real trajectories until they become unrecognizable. Then, a reverse denoising process learns to "undo" this noise, effectively learning the underlying distribution of how people move.
  • Architecture: The framework utilizes a UNet architecture optimized specifically for the unique sequential structure of trajectory data.
  • Guidance: To ensure the generated paths are realistic and adhere to actual road networks, they use classifier-free diffusion guidance. This helps balance the diversity of the generated paths with the high fidelity required to match real-world constraints.
  • Normalization: Practical adjustments, like length normalization, are implemented to ensure the model trains efficiently across varying trip durations.

Datasets and Key Insights

The paper introduces two major synthetic benchmarks trained using data from the GAIA project (Didi Chuxing):

  • SYN-CHENGDU: 1 million records (4.39 GB), sampled at 3-second intervals.
  • SYN-XI’AN: 1 million records (4.66 GB), also at 3-second intervals.

Compared to existing datasets, SynMob is unique in checking all the critical boxes: standard GPS trajectory format, high availability, high data quality, and guaranteed privacy.

Unlike older anonymization methods that simply "blur" real data points—which can often be reverse-engineered—the diffusion model learns the statistical distribution of movement. The resulting trajectories are entirely new but behave exactly like the originals. Furthermore, SynMob successfully captures complex spatial-temporal synchronization, maintaining realistic "day-night cycles" and road-network constraints (e.g., recognizing that traffic moves slower at 5 PM than at 3 AM).

Key Results and Validation

The ultimate test of synthetic data is its utility in the real world. The authors validated the datasets through rigorous statistical testing and downstream applications, proving that models trained on synthetic data can achieve nearly the same accuracy as those trained on real data.

Comparison of average speed and trip volume between synthetic and original trajectories.
  • Statistical Fidelity: Using the Kolmogorov-Smirnov (K-S) test, the synthetic data showed a >90% similarity to real data across key metrics like travel distance, travel time, speed, and relative distance.
  • Traffic Demand Prediction (TDP): When training state-of-the-art models (like AGCRN and GWNet) on synthetic data, the performance difference compared to real data was remarkably low—often under 6%.
  • Travel Time Estimation (TTE): In predicting trip durations, the synthetic data maintained high consistency, with difference ratios generally staying within a modest range of 4-10%.

Limitations and Future Work

Despite this breakthrough, the authors acknowledge a few hurdles. The synthesizer still requires high-quality raw data as a "seed" to learn from initially; it cannot generate a city's mobility patterns entirely from scratch. Additionally, diffusion models are computationally heavy to train compared to simpler generative models.

Future work will focus on reducing this computational overhead and refining the synthesizer to capture even more subtle, long-tail mobility behaviors that might be missed in the current iteration.

The trajectory synthesizer and datasets are publicly available on GitHub at Applied-Machine-Learning-Lab/SynMob.

Summary updated

Abstract

Urban mobility analysis has been extensively studied in the past decade using a vast amount of GPS trajectory data, which reveals hidden patterns in movement and human activity within urban landscapes. Despite its significant value, the availability of such datasets often faces limitations due to privacy concerns, proprietary barriers, and quality inconsistencies. To address these challenges, this paper presents a synthetic trajectory dataset with high fidelity, offering a general solution to these data accessibility issues. Specifically, the proposed dataset adopts a diffusion model as its synthesizer, with the primary aim of accurately emulating the spatial-temporal behavior of the original trajectory data. These synthesized data can retain the geo-distribution and statistical properties characteristic of real-world datasets. Through rigorous analysis and case studies, we validate the high similarity and utility between the proposed synthetic trajectory dataset and real-world counterparts. Such validation underscores the practicality of synthetic datasets for urban mobility analysis and advocates for its wider acceptance within the research community. Finally, we publicly release the trajectory synthesizer and datasets, aiming to enhance the quality and availability of synthetic trajectory datasets and encourage continued contributions to this rapidly evolving field. The dataset is released for public online availability https://github.com/Applied-Machine-Learning-Lab/SynMob.
BibTeX
@inproceedings{zhu2023synmob,
  author = {Yuanshao Zhu and Yongchao Ye and Ying Wu and Xiangyu Zhao and James Jian Qiao Yu},
  title = {{SynMob: Creating High-Fidelity Synthetic GPS Trajectory Dataset for Urban Mobility Analysis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
}
Figure