Lune

NeurIPS2025Top-tier venue

TransferTraj: A Vehicle Trajectory Learning Model for Region and Task Transferability

Tonglong Wei, Yan Lin, Zeyu Zhou, Haomin Wen, Jilin Hu, Shengnan Guo, Youfang Lin, Gao Cong, Huaiyu Wan

Abstract

Vehicle GPS trajectories provide valuable movement information that supports various downstream tasks and applications. A desirable trajectory learning model should be able to transfer across regions and tasks without retraining, avoiding the need to maintain multiple specialized models and subpar performance with limited training data. However, each region has its unique spatial features and contexts, which are reflected in vehicle movement patterns and are difficult to generalize. Additionally, transferring across different tasks faces technical challenges due to the varying input-output structures required for each task. Existing efforts towards transferability primarily involve learning embedding vectors for trajectories, which perform poorly in region transfer and require retraining of prediction modules for task transfer. To address these challenges, we propose TransferTraj, a vehicle GPS trajectory learning model that excels in both region and task transferability. For region transferability, we introduce RTTE as the main learnable module within TransferTraj. It integrates spatial, temporal, POI, and road network modalities of trajectories to effectively manage variations in spatial context distribution across regions. It also introduces a TRIE module for incorporating relative information of spatial features and a spatial context MoE module for handling movement patterns in diverse contexts. For task transferability, we propose a task-transferable inputoutput scheme that unifies the input-output structure of different tasks into the masking and recovery of modalities and trajectory points. This approach allows TransferTraj to be pre-trained once and transferred to different tasks without retraining. We conduct extensive experiments on three real-world vehicle trajectory datasets under various transfer settings, including task transfer, zero-shot region transfer, and few-shot region transfer. Experimental results demonstrate that TransferTraj significantly outperforms state-of-the-art baselines in different scenarios, validating its effectiveness in region and task transfer. Code is available at https://github.com/wtl52656/TransferTraj.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on15

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Learnable Fourier Features for Multi-dimensional Spatial Positional EncodingYang Li, Si Si, Gang Li, Cho-Jui Hsieh et al.NeurIPS 2021 · 171 citations
  3. Pre-training Context and Time Aware Location Embeddings from Spatial-Temporal Trajectories for User Next Location PredictionYan Lin, Huaiyu Wan, Shengnan Guo, Youfang LinAAAI 2021 · 143 citations
  4. DiffTraj: Generating GPS Trajectory with Diffusion Probabilistic ModelYuanshao Zhu, Yongchao Ye, Shiyao Zhang, Xiangyu Zhao et al.NeurIPS 2023 · 134 citations
  5. Effective Travel Time Estimation: When Historical Trajectories over Road Networks MatterHaitao Yuan, Guoliang Li, Zhifeng Bao, Ling FengSIGMOD 2020 · 113 citations

Related papers

  1. UniTraj: Learning a Universal Trajectory Foundation Model from Billion-Scale Worldwide TracesYuanshao Zhu, James Jianqiao Yu, Xiangyu Zhao, Xun Zhou et al.NeurIPS 2025 · 27 citations
  2. TrajMamba: An Efficient and Semantic-rich Vehicle Trajectory Pre-training ModelYichen Liu, Yan Lin, Shengnan Guo, Zeyu Zhou et al.NeurIPS 2025 · 5 citations
  3. GTR: A General, Multi-View, and Dynamic Framework for Trajectory Representation LearningXiangheng Wang, Ziquan Fang, Chenglong Huang, Danlei Hu et al.ICML 2025
  4. Grid and Road Expressions Are Complementary for Trajectory Representation LearningSilin Zhou, Shuo Shang, Lisi Chen, Peng Han et al.KDD 2025 · 7 citations
  5. Region-Point Joint Representation for Effective Trajectory Similarity LearningHao Long, Silin Zhou, Lisi Chen, Shuo ShangAAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines