RNTrajRec: Road Network Enhanced Trajectory Recovery with Spatial-Temporal Transformer
Yuqi Chen, Hanyuan Zhang, Weiwei Sun, Baihua Zheng
Abstract
GPS trajectories are the essential foundations for many trajectory-based applications, such as travel time estimation, traffic prediction and trajectory similarity measurement. Most applications require a large number of high sample rate trajectories to achieve a good performance. However, many reallife trajectories are collected with low sample rate due to energy concern or other constraints. We study the task of trajectory recovery in this paper as a means to increase the sample rate of low sample trajectories. Currently, most existing works on trajectory recovery follow a sequence-to-sequence diagram, with an encoder to encode a trajectory and a decoder to recover real GPS points in the trajectory. However, these works ignore the topology of road network and only use grid information or raw GPS points as input. Therefore, the encoder model is not able to capture rich spatial information of the GPS points along the trajectory, making the prediction less accurate and lower spatial consistent. In this paper, we propose a road network enhanced transformer-based framework, namely RNTrajRec, for trajectory recovery. RNTrajRec first uses a graph model, namely GridGNN, to learn the embedding features of each road segment. It next develops a spatial-temporal transformer model, namely GPSFormer, to learn rich spatial and temporal features along with a Sub-Graph Generation module to capture the spatial features for each GPS point in the trajectory. It finally forwards the outputs of encoder model to a multi-task decoder model to recover the missing GPS points. Extensive experiments based on three large-scale real-life trajectory datasets confirm the effectiveness of our approach.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers15
- LightTR: A Lightweight Framework for Federated Trajectory RecoveryZiqiao Liu, Hao Miao, Yan Zhao, Chenxi Liu et al.ICDE 2024 · 22 citations
- TERI: An Effective Framework for Trajectory Recovery with Irregular Time IntervalsYile Chen, Gao Cong, Cuauhtemoc AndaVLDB 2024 · 22 citations
- Grid and Road Expressions Are Complementary for Trajectory Representation LearningSilin Zhou, Shuo Shang, Lisi Chen, Peng Han et al.KDD 2025 · 7 citations
- TransferTraj: A Vehicle Trajectory Learning Model for Region and Task TransferabilityTonglong Wei, Yan Lin, Zeyu Zhou, Haomin Wen et al.NeurIPS 2025 · 6 citations
- Efficient Methods for Accurate Sparse Trajectory Recovery and Map MatchingWei Tian, Jieming Shi, Man Lung YiuICDE 2025 · 5 citations
Builds on17
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- Informer: Beyond Efficient Transformer for Long Sequence Time-Series ForecastingHaoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang et al.AAAI 2021 · 7,289 citations
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 citations
- GMAN: A Graph Multi-Attention Network for Traffic PredictionChuanpan Zheng, Xiaoliang Fan, Cheng Wang, Jianzhong QiAAAI 2020 · 1,858 citations
- 3D Human Pose Estimation with Spatial and Temporal TransformersCe Zheng, Sijie Zhu, Matías Mendieta, Taojiannan Yang et al.ICCV 2021 · 648 citations
Related papers
- MTrajRec: Map-Constrained Trajectory Recovery via Seq2Seq Multi-task LearningHuimin Ren, Sijie Ruan, Yanhua Li, Jie Bao et al.KDD 2021 · 87 citations
- Traj2Former: A Local Context-aware Snapshot and Sequential Dual Fusion Transformer for Trajectory ClassificationYuan Xie, Yichen Zhang, Yifang Yin, Sheng Zhang et al.ACM MM 2024 · 2 citations
- A Graph-based Approach for Trajectory Similarity Computation in Spatial NetworksPeng Han, Jin Wang, Di Yao, Shuo Shang et al.KDD 2021 · 119 citations
- Uncovering the Missing Pattern: Unified Framework Towards Trajectory Imputation and PredictionYi Xu, Armin Bazarjani, Hyung-Gun Chi, Chiho Choi et al.CVPR 2023
- Traffic Flow Prediction with Vehicle TrajectoriesMingqian Li, Panrong Tong, Mo Li, Zhongming Jin et al.AAAI 2021 · 54 citations
