From GPS Points to Travel Patterns: Flexible and Semantic Trajectory Generation with LLMs
Not on the map. Why?
Abstract (arXiv)
Urban trajectories play a crucial role in modeling urban dynamics and supporting various smart city applications. However, privacy concerns restrict access to large-scale and high-quality trajectory datasets. Trajectory generation provides a promising alternative by synthesizing realistic data to mitigate privacy risks. However, existing methods fail to explicitly capture travel patterns and can only generate fixed-length trajectories under a single condition. To address these limitations, we propose HTP, which Hierarchically generates Travel patterns first and then generates GPS Points by using large language models (LLMs), rather than directly generating GPS points. We first design a trajectory-specific residual quantization variational autoencoder (RQ-VAE) that quantizes micro-level GPS trajectories into compact, macro-level travel pattern tokens in a coarse-to-fine manner. These tokens capture rich segment spatial irregularities, such as point density variations caused by traffic conditions. Then, we extend the LLM vocabulary with travel pattern tokens to align trajectory representations with the LLM input, and apply supervised fine-tuning (SFT) to align the LLM with the trajectory generation task, enabling generation of travel pattern sequences under various conditions. Extensive experiments on two real-world datasets show that HTP outperforms the strongest baseline by an average of 29.78% in terms of generation quality. Our code is available at https://github.com/slzhou-xy/HTP.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 32 of its 58 references that are in the map. First posted on arXiv 28 May 2026.
Builds on
32 of 58 references.
References · 32
- 2017Attention Is All You Needcited by 60,361
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2013Auto-Encoding Variational Bayescited by 4,053
- 2023Qwen Technical Reportcited by 3,344
- 2016node2vec: Scalable Feature Learning for Networkscited by 1,918
20 more
- 2020DiffWave: A Versatile Diffusion Model for Audio Synthesiscited by 1,354
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
- 2022Autoregressive Image Generation using Residual Quantizationcited by 722
- 2021Vector-quantized Image Modeling with Improved VQGANcited by 658
- 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 392
- 2016OSMnx: New Methods for Acquiring, Constructing, Analyzing, and Visualizing Complex Street Networkscited by 110
- 2023LLMLight: Large Language Models as Traffic Signal Control Agentscited by 73
- 2020Deep Gravity: enhancing mobility flows generation with deep neural networks and geographic informationcited by 58
- 2020LSTM-TrajGAN: A Deep Learning Approach to Trajectory Privacy Protectioncited by 57
- 2015Route Planning in Transportation Networkscited by 23
- 2019Alleviation of Gradient Exploding in GANs: Fake Can Be Realcited by 8
- 2024PateGail: A Privacy-Preserving Mobility Trajectory Generator with Imitation Learningcited by 8
- 2024Revisiting Synthetic Human Trajectories: Imitative Generation and Benchmarks Beyond Datasauruscited by 8
- 2025Blurred Encoding for Trajectory Representation Learningcited by 8
- 2024DutyTTE: Deciphering Uncertainty in Origin-Destination Travel Time Estimationcited by 6
- 2025GTG: Generalizable Trajectory Generation Model for Urban Mobilitycited by 6
- 2024Real-Time Trajectory Synthesis with Local Differential Privacycited by 5
- 2024SIMformer: Single-Layer Vanilla Transformer Can Learn Free-Space Trajectory Similaritycited by 5
- 2025Leveraging the Spatial Hierarchy: Coarse-to-fine Trajectory Generation via Cascaded Hybrid Diffusioncited by 4
- 2025BERT4Traj: Transformer Based Trajectory Reconstruction for Sparse Mobility Datacited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026TrajDLM: Topology-Aware Block Diffusion Language Model for Trajectory Generation
- 2025TrajSceneLLM: A Multimodal Perspective on Semantic GPS Trajectory Analysis
- 2026TrajFlow: Nation-wide Pseudo GPS Trajectory Generation with Flow Matching Models
- 2025TrajMamba: An Efficient and Semantic-rich Vehicle Trajectory Pre-training Model
- 2026TrajGenAgent: A Hierarchical LLM Agent for Human Mobility Trajectory Generation
- 2024ControlTraj: Controllable Trajectory Generation with Topology-Constrained Diffusion Model
- 2023DiffTraj: Generating GPS Trajectory with Diffusion Probabilistic Model
- 2026Coarse-to-Fine Multi-Resolution Diffusion Models for Trajectory Generation in Urban Systems