Skip to main navigation Skip to search Skip to main content

DeepTimeGeo: Trajectory Reconstruction From Sparse Data With Transformer

  • Shangqing Cao*
  • , Jiaman Wu
  • , Aparimit Kasliwal
  • , Baoqi Chen
  • , Giuseppe Perona
  • , Marta C. González
  • *Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

Abstract

The completion of sparse Location-Based Service (LBS) data for modeling urban-scale origin-destination (OD) flow is of great importance to transportation planning applications. Sparse trajectories lack realistic human mobility patterns. Only with completed trajectories one can derive urban-scale OD flow that resembles complete travel diaries as those gathered by surveys or actively collecting phone applications. We present DeepTimeGeo (DTG), a transformer encoder-only model that reconstructs complete trajectories from sparse LBS inputs. We adopt a rank-based representation of locations to preserve individual-level heterogeneity and take a sequence-to-sequence approach to address the issue of gradient back-propagation blockage when it comes to regulating human mobility patterns. We devise human mobility distribution-based loss functions and leverage auxiliary learning to model the dynamics of exploration versus returns in users’ spatial choices. Experimental results show the superiority of DTG in trajectory reconstruction compared to other start-of-the-art generative models for human mobility trajectories. We conducted a case study with LBS data in the city of Coral Gables, Florida. The case study reveals that DTG leads to a reduction of more than 15% (1.35 vs. 1.60), when compared to the state-of-art model, in the cross-entropy loss that measures the deviation from the ground truth departure time distribution. We further demonstrate through SUMO simulation that DTG-generated trip demand captures both morning and evening rush hours, enabled by the more accurate distribution of trip departure time with important implications for traffic estimates. © 2026 IEEE.
Original languageEnglish
JournalIEEE Transactions on Intelligent Transportation Systems
Online published16 Feb 2026
DOIs
Publication statusOnline published - 16 Feb 2026

Funding

This work was supported by the Intelligence Advanced Research Projects Activity (IARPA) via the Department of Interior/Interior Business Center (DOI/IBC) under Contract 140D0423C0033.

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 11 - Sustainable Cities and Communities
    SDG 11 Sustainable Cities and Communities

Research Keywords

  • auxiliary learning
  • human mobility
  • self-supervised learning
  • sequence-to-sequence transformer
  • Trajectory reconstruction

Fingerprint

Dive into the research topics of 'DeepTimeGeo: Trajectory Reconstruction From Sparse Data With Transformer'. Together they form a unique fingerprint.

Cite this