mlsanityData to 14 Oct 2026

TrajGPT: Controlled Synthetic Trajectory Generation Using a Multitask Transformer-Based Spatiotemporal Model

arXiv 2411.04381 ↗First posted 7 Nov 2024cs.LGcited by 13

Not on the map. Why?

Abstract (arXiv)

Human mobility modeling from GPS-trajectories and synthetic trajectory generation are crucial for various applications, such as urban planning, disaster management and epidemiology. Both of these tasks often require filling gaps in a partially specified sequence of visits - a new problem that we call "controlled" synthetic trajectory generation. Existing methods for next-location prediction or synthetic trajectory generation cannot solve this problem as they lack the mechanisms needed to constrain the generated sequences of visits. Moreover, existing approaches (1) frequently treat space and time as independent factors, an assumption that fails to hold true in real-world scenarios, and (2) suffer from challenges in accuracy of temporal prediction as they fail to deal with mixed distributions and the inter-relationships of different modes with latent variables (e.g., day-of-the-week). These limitations become even more pronounced when the task involves filling gaps within sequences instead of solely predicting the next visit. We introduce TrajGPT, a transformer-based, multi-task, joint spatiotemporal generative model to address these issues. Taking inspiration from large language models, TrajGPT poses the problem of controlled trajectory generation as that of text infilling in natural language. TrajGPT integrates the spatial and temporal models in a transformer architecture through a Bayesian probability model that ensures that the gaps in a visit sequence are filled in a spatiotemporally consistent manner. Our experiments on public and private datasets demonstrate that TrajGPT not only excels in controlled synthetic visit generation but also outperforms competing models in next-location prediction tasks - Relatively, TrajGPT achieves a 26-fold improvement in temporal accuracy while retaining more than 98% of spatial accuracy on average.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 19 of its 44 references that are in the map. First posted on arXiv 7 Nov 2024.

Builds on

19 of 44 references.

References · 19

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  8. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
  9. 2019Unified Language Model Pre-training for Natural Language Understanding and Generationcited by 670
  10. 2019Time2Vec: Learning a Vector Representation of Timecited by 213
  11. 2020Enabling Language Models to Fill in the Blankscited by 122
  12. 2021STAN: Spatio-Temporal Attention Network for Next Location Recommendationcited by 102
7 more
  1. 2023Where Would I Go Next? Large Language Models as Human Mobility Predictorscited by 93
  2. 2020Multi-Scale Representation Learning for Spatial Feature Distributions using Grid Cellscited by 90
  3. 2023GETNext: Trajectory Flow Map Enhanced Transformer for Next POI Recommendationcited by 58
  4. 2021MobTCast: Leveraging Auxiliary Trajectory Forecasting for Human Mobility Predictioncited by 48
  5. 2020Blank Language Modelscited by 43
  6. 2023A Hierarchical Spatial Transformer for Massive Point Samples in Continuous Spacecited by 10
  7. 2022Hierarchical Transformer with Spatio-Temporal Context Aggregation for Next Point-of-Interest Recommendationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 6.

13 papers.

Sort:

By area: