English

Detecting Transportation Mode Using Dense Smartphone GPS Trajectories and Transformer Models

Machine Learning 2026-03-19 v3

Abstract

Transportation mode detection is an important topic within GeoAI and transportation research. In this study, we introduce SpeedTransformer, a novel Transformer-based model that relies solely on speed inputs to infer transportation modes from dense smartphone GPS trajectories. In benchmark experiments, SpeedTransformer outperformed traditional deep learning models, such as the Long Short-Term Memory (LSTM) network. Moreover, the model demonstrated strong flexibility in transfer learning, achieving high accuracy across geographical regions after fine-tuning with small datasets. Finally, we deployed the model in a real-world experiment, where it consistently outperformed baseline models under complex built environments and high data uncertainty. These findings suggest that Transformer architectures, when combined with dense GPS trajectories, hold substantial potential for advancing transportation mode detection and broader mobility-related research.

Keywords

Cite

@article{arxiv.2603.00340,
  title  = {Detecting Transportation Mode Using Dense Smartphone GPS Trajectories and Transformer Models},
  author = {Yuandong Zhang and Othmane Echchabi and Tianshu Feng and Wenyi Zhang and Hsuai-Kai Liao and Charles Chang},
  journal= {arXiv preprint arXiv:2603.00340},
  year   = {2026}
}

Comments

Accepted for publication in the International Journal of Geographical Information Science, February 2026. This is the accepted manuscript. The final version of record will appear in IJGIS (Taylor and Francis)

R2 v1 2026-07-01T10:56:40.412Z