Traj2Former: A Local Context-aware Snapshot and Sequential Dual Fusion Transformer for Trajectory Classification
Yuan Xie, Yichen Zhang, Yifang Yin, Sheng Zhang, Ying Zhang, Rajiv Ratn Shah, Roger Zimmermann, Guoqing Xiao
Abstract
The wide use of mobile devices has led to a proliferated creation of extensive trajectory data, rendering trajectory classification increasingly vital and challenging for downstream applications. Existing deep learning methods offer powerful feature extraction capabilities to detect nuanced variances in trajectory classification tasks. However, their effectiveness remains compromised by the following two unsolved challenges. First, identifying the distribution of nearby trajectories based on noisy and sparse GPS coordinates poses a significant challenge, providing critical contextual features to the classification. Second, though efforts have been made to incorporate a shape feature by rendering trajectories into images, they fail to model the local correspondence between GPS points and image pixels. To address these issues, we propose a novel model termed Traj2Former to spotlight the spatial distribution of the adjacent trajectory points (i.e., contextual snapshot) and enhance the snapshot fusion between the trajectory data and the corresponding spatial contexts. We propose a new GPS rendering method to generate contextual snapshots, but it can be applied from a trajectory database to a digital map. Moreover, to capture diverse temporal patterns, we conduct a multi-scale sequential fusion by compressing the trajectory data with differing rates. Extensive experiments have been conducted to verify the superiority of the Traj2Former model.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- RNTrajRec: Road Network Enhanced Trajectory Recovery with Spatial-Temporal TransformerYuqi Chen, Hanyuan Zhang, Weiwei Sun, Baihua ZhengICDE 2023 · 70 citations
- Learning to Generate Maps from TrajectoriesSijie Ruan, Cheng Long, Jie Bao, Chunyang Li et al.AAAI 2020 · 85 citations
- DiffTraj: Generating GPS Trajectory with Diffusion Probabilistic ModelYuanshao Zhu, Yongchao Ye, Shiyao Zhang, Xiangyu Zhao et al.NeurIPS 2023 · 134 citations
- More Than Routing: Joint GPS and Route Modeling for Refine Trajectory Representation LearningZhipeng Ma, Zheyan Tu, Xinhai Chen, Yan Zhang et al.WWW 2024 · 38 citations
- TrajFlow: Nation-wide Pseudo GPS Trajectory Generation with Flow Matching ModelsPeiran Li, Jiawei Wang, Haoran Zhang, Xiaodan Shi et al.ICLR 2026 · 4 citations
