Efficient Methods for Accurate Sparse Trajectory Recovery and Map Matching
Wei Tian, Jieming Shi, Man Lung Yiu
Abstract
Real-world trajectories are often sparse with low-sampling rates (i.e., long intervals between consecutive GPS points) and misaligned with road networks, yet many applications demand high-quality data for optimal performance. To improve data quality with sparse trajectories as input, we systematically study two related research problems: trajectory recovery on road network, which aims to infer missing points to recover high-sampling trajectories, and map matching, which aims to map GPS points to road segments to determine underlying routes. Capturing latent patterns in complex sparse trajectory data on road networks is challenging, especially with large-scale datasets. In this paper, we present efficient methods TRMMA and MMA for accurate trajectory recovery and map matching, respectively, where MMA serves as the first step of TRMMA. In MMA, we carefully formulate a classification task to map a GPS point from sparse trajectories to a road segment over a small candidate segment set, rather than the entire road network. We develop techniques in MMA to generate effective embeddings that capture the patterns of GPS data, directional information, and road segments, to accurately align sparse trajectories to routes. For trajectory recovery, TRMMA focuses on the segments in the route returned by MMA to infer missing points with position ratios on road segments, producing high-sampling trajectories efficiently by avoiding evaluation of all road segments. Specifically, in TRMMA, we design a dual-transformer encoding process to cohesively capture latent patterns in trajectories and routes, and an effective decoding technique to sequentially predict the position ratios and road segments of missing points. We conduct extensive experiments to compare TRMMA and MMA with numerous existing methods for trajectory recovery and map matching, respectively, on 4 large real-world datasets. TRMMA and MMA consistently achieve the best result quality, often by a significant margin. Moreover, TRMMA and MMA are highly efficient during training and inference, being up orders of magnitude faster than the next best competitors. The implementation is at https://github.com/derekwtian/TRMMA.
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.
Lineage
- Contrastive Trajectory Similarity Learning with Dual-Feature Attention cites TrajGAT: A Graph-based Long-term Dependency Modeling Approach for Trajectory Similarity Computation
- Contrastive Trajectory Similarity Learning with Dual-Feature Attention cites A Graph-based Approach for Trajectory Similarity Computation in Spatial Networks
Builds on18
- A Graph-based Approach for Trajectory Similarity Computation in Spatial NetworksPeng Han, Jin Wang, Di Yao, Shuo Shang et al.KDD 2021 · 119 citations
- Effective Travel Time Estimation: When Historical Trajectories over Road Networks MatterHaitao Yuan, Guoliang Li, Zhifeng Bao, Ling FengSIGMOD 2020 · 113 citations
- MTrajRec: Map-Constrained Trajectory Recovery via Seq2Seq Multi-task LearningHuimin Ren, Sijie Ruan, Yanhua Li, Jie Bao et al.KDD 2021 · 87 citations
- Contrastive Trajectory Similarity Learning with Dual-Feature AttentionYanchuan Chang, Jianzhong Qi, Yuxuan Liang, Egemen TaninICDE 2023 · 77 citations
- TrajGAT: A Graph-based Long-term Dependency Modeling Approach for Trajectory Similarity ComputationDi Yao, Haonan Hu, Lun Du, Gao Cong et al.KDD 2022 · 74 citations
Related papers
- RNTrajRec: Road Network Enhanced Trajectory Recovery with Spatial-Temporal TransformerYuqi Chen, Hanyuan Zhang, Weiwei Sun, Baihua ZhengICDE 2023 · 70 citations
- DiffMM: Efficient Method for Accurate Noisy and Sparse Trajectory Map Matching via One Step DiffusionChenxu Han, Sean Bin Yang, Jilin HuAAAI 2026
- TERI: An Effective Framework for Trajectory Recovery with Irregular Time IntervalsYile Chen, Gao Cong, Cuauhtemoc AndaVLDB 2024 · 22 citations
- TRACE: Trajectory Recovery with State Propagation Diffusion for Urban MobilityJinming Wang, Hai Wang, Hongkai Wen, Geyong Min et al.WWW 2026
- DMM: fast map matching for cellular dataZhihao Shen, Wan Du, Xi Zhao, Jianhua ZouMobiCom 2020 · 36 citations
