Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

TrajMamba: An Efficient and Semantic-rich Vehicle Trajectory Pre-training Model

About

Vehicle GPS trajectories record how vehicles move over time, storing valuable travel semantics, including movement patterns and travel purposes. Learning travel semantics effectively and efficiently is crucial for real-world applications of trajectory data, which is hindered by two major challenges. First, travel purposes are tied to the functions of the roads and points-of-interest (POIs) involved in a trip. Such information is encoded in textual addresses and descriptions and introduces heavy computational burden to modeling. Second, real-world trajectories often contain redundant points, which harm both computational efficiency and trajectory embedding quality. To address these challenges, we propose TrajMamba, a novel approach for efficient and semantically rich vehicle trajectory learning. TrajMamba introduces a Traj-Mamba Encoder that captures movement patterns by jointly modeling both GPS and road perspectives of trajectories, enabling robust representations of continuous travel behaviors. It also incorporates a Travel Purpose-aware Pre-training procedure to integrate travel purposes into the learned embeddings without introducing extra overhead to embedding calculation. To reduce redundancy in trajectories, TrajMamba features a Knowledge Distillation Pre-training scheme to identify key trajectory points through a learnable mask generator and obtain effective compressed trajectory embeddings. Extensive experiments on two real-world datasets and three downstream tasks show that TrajMamba outperforms state-of-the-art baselines in both efficiency and accuracy.

Yichen Liu, Yan Lin, Shengnan Guo, Zeyu Zhou, Youfang Lin, Huaiyu Wan• 2025

Related benchmarks

TaskDatasetResultRank
Destination PredictionBeijing
Top-5 Accuracy22.56
28
Destination PredictionPorto
Acc@536.44
28
Trajectory Similarity SearchPorto (test)
HR@10.7998
24
Estimated Time of ArrivalPorto
MAPE (%)22.68
21
Path RankingBeijing
Kendall's τ0.6484
13
Path RankingChengdu
Kendall's τ0.7557
13
Travel Time EstimationBeijing
MAE4.0791
13
Destination PredictionChengdu
Top-1 Accuracy41.61
13
Path RankingPorto
Kendall's Tau0.8031
13
Road Label PredictionChengdu (test)
Macro F1 Score70.44
13
Showing 10 of 20 rows

Other info

Follow for update