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

Tong-Long Wei, Yan Lin, Ze-Yu Zhou, Haomin Wen, Ji-Lin Hu +4 more
5/1/2025

No confident code implementation found for this paper.

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.

Show full abstract

However, each region has its unique spatial features and contexts, which are reflected in vehicle movement patterns and 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 input-output 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. Extensive experiments on three real-world vehicle trajectory datasets under task transfer, zero-shot, and few-shot region transfer, validating TransferTraj's effectiveness.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wei2025transfertraj,
  title  = {TransferTraj: A Vehicle Trajectory Learning Model for Region and Task Transferability},
  author = {Tong-Long Wei and Yan Lin and Ze-Yu Zhou and Haomin Wen and Ji-Lin Hu and S. Guo and You-Fang Lin and Gao Cong and Huai-Yu Wan},
  year   = {2025},
  eprint = {2505.12672},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.12672},
  url    = {https://doi.org/10.48550/arXiv.2505.12672},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.12672.svg)](https://codeofpaper.com/paper/2505.12672)

Discussion