Trajectory Similarity Measurement: An Efficiency Perspective
Yanchuan Chang, Egemen Tanin, Gao Cong, Christian S. Jensen, Jianzhong Qi
Abstract
Trajectories that capture object movement have numerous applications, in which similarity computation between trajectories often plays a key role. Traditionally, trajectory similarity is quantified by means of non-learned measures, e.g., Hausdorff, that operate directly on the trajectories. Recent studies exploit deep learning to map trajectories to 𝑑-dimensional vectors, called embeddings. Then, some distance measure, e.g., Manhattan, is applied to the embeddings to quantify trajectory similarity. The resulting similarities are inaccurate: they only approximate the similarities obtained using the non-learned measures. As embedding distance computation is efficient, focus has been on obtaining embeddings of high accuracy. Adopting an efficiency perspective, we analyze the time complexities of both the non-learned and the learning-based approaches, finding that the time complexities of the former approaches are not necessarily higher. Through extensive experiments on open datasets, we find that only a few learning-based approaches can deliver the promised higher efficiency, when the embeddings can be pre-computed, while non-learned approaches are more efficient for one-off computations. Among the learning-based approaches, the selfattention-based ones are the fastest and the most accurate. These results have implications for the use of trajectory similarity approaches given different application requirements. Code is available at https://github. com/changyanchuan/TrajSimiMeasures .
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 07d04821-6ebe-4ae0-b0b5-23b90a8adc9aCited by top-tier papers10
- UniTraj: Learning a Universal Trajectory Foundation Model from Billion-Scale Worldwide TracesYuanshao Zhu, James Jianqiao Yu, Xiangyu Zhao, Xun Zhou et al.NeurIPS 2025 · 27 citations
- SIMformer: Single-Layer Vanilla Transformer Can Learn Free-Space Trajectory SimilarityChuang Yang, Renhe Jiang, Xiaohang Xu, Chuan Xiao et al.VLDB 2025 · 8 citations
- Revisiting CNNs for Trajectory Similarity LearningZhihao Chang, Linzhu Yu, Huan Li, Sai Wu et al.VLDB 2025 · 5 citations
- FlexiReg: Flexible Urban Region Representation LearningFengze Sun, Yanchuan Chang, Egemen Tanin, Shanika Karunasekera et al.KDD 2025 · 3 citations
- Quantifying Point Contributions: A Lightweight Framework for Efficient and Effective Query-Driven Trajectory SimplificationYumeng Song, Yu Gu, Tianyi Li, Yushuai Li et al.VLDB 2025 · 2 citations
Builds on11
- A Graph-based Approach for Trajectory Similarity Computation in Spatial NetworksPeng Han, Jin Wang, Di Yao, Shuo Shang et al.KDD 2021 · 119 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
- Spatio-Temporal Trajectory Similarity Learning in Road NetworksZiquan Fang, Yuntao Du, Xinjun Zhu, Danlei Hu et al.KDD 2022 · 68 citations
- E2DTC: An End to End Deep Trajectory Clustering Framework via Self-TrainingZiquan Fang, Yuntao Du, Lu Chen, Yujia Hu et al.ICDE 2021 · 49 citations
Related papers
- Having It Both Ways: Single Trajectory Embedding for Similarity Computation with Pairwise LearningJianing Si, Haitao Yuan, Xiang Li, Nan Jiang et al.ICDE 2025
- TMN: Trajectory Matching Networks for Predicting SimilarityPeilun Yang, Hanchen Wang, Defu Lian, Ying Zhang et al.ICDE 2022 · 32 citations
- SimRN: Trajectory Similarity Learning in Road Networks based on Distributed Deep Reinforcement LearningDanlei Hu, Yilin Li, Lu Chen, Ziquan Fang et al.VLDB 2025 · 1 citation
- Efficient and Effective Similar Subtrajectory Search with Deep Reinforcement LearningZheng Wang, Cheng Long, Gao Cong, Yiding LiuVLDB 2020 · 29 citations
- Efficient Learning-based Top-k Representative Similar Subtrajectory QueryKunming Wang, Shiyu Yang, Jiabao Jin, Peng Cheng et al.ICDE 2024 · 2 citations
