KGTS: Contrastive Trajectory Similarity Learning over Prompt Knowledge Graph Embedding
Zhen Chen, Dalin Zhang, Shanshan Feng, Kaixuan Chen, Lisi Chen, Peng Han, Shuo Shang
Abstract
Trajectory similarity computation serves as a fundamental functionality of various spatial information applications. Although existing deep learning similarity computation methods offer better efficiency and accuracy than non-learning solutions, they are still immature in trajectory embedding and suffer from poor generality and heavy preprocessing for training. Targeting these limitations, we propose a novel framework named KGTS based on knowledge graph grid embedding, prompt trajectory embedding, and unsupervised contrastive learning for improved trajectory similarity computation. Specifically, we first embed map grids with a GRot embedding method to vigorously grasp the neighbouring relations of grids. Then, a prompt trajectory embedding network incorporates the resulting grid embedding and extracts trajectory structure and point order information. It is trained by unsupervised contrastive learning, which not only alleviates the heavy preprocessing burden but also provides exceptional generality with creatively designed strategies for positive sample generation. The prompt trajectory embedding adopts a customized prompt paradigm to mitigate the gap between the grid embedding and the trajectory embedding. Extensive experiments on two real-world trajectory datasets demonstrate the superior performance of KGTS over state-of-the-art methods.
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 9a75e72c-11d0-432a-b3e0-1a4d73e3378eCited by top-tier papers3
- 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
- Region-Point Joint Representation for Effective Trajectory Similarity LearningHao Long, Silin Zhou, Lisi Chen, Shuo ShangAAAI 2026
- TrajAgg: Dual-Scale Feature Aggregation with Hybrid Training for Trajectory Similarity Computation in Free SpaceXiao Zhang, Xingyu Zhao, Yuan Cao, Bin Wang et al.AAAI 2026
Builds on6
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
- Are Graph Augmentations Necessary?: Simple Graph Contrastive Learning for RecommendationJunliang Yu, Hongzhi Yin, Xin Xia, Tong Chen et al.SIGIR 2022 · 658 citations
- Unified Contrastive Learning in Image-Text-Label SpaceJianwei Yang, Chunyuan Li, Pengchuan Zhang, Bin Xiao et al.CVPR 2022 · 182 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
- TMN: Trajectory Matching Networks for Predicting SimilarityPeilun Yang, Hanchen Wang, Defu Lian, Ying Zhang et al.ICDE 2022 · 32 citations
Related papers
- Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel SemanticsJiawei Jiang, Dayan Pan, Houxing Ren, Xiaohan Jiang et al.ICDE 2023 · 101 citations
- Having It Both Ways: Single Trajectory Embedding for Similarity Computation with Pairwise LearningJianing Si, Haitao Yuan, Xiang Li, Nan Jiang et al.ICDE 2025
- Contrastive Trajectory Similarity Learning with Dual-Feature AttentionYanchuan Chang, Jianzhong Qi, Yuxuan Liang, Egemen TaninICDE 2023 · 77 citations
- GRLSTM: Trajectory Similarity Computation with Graph-Based Residual LSTMSilin Zhou, Jing Li, Hao Wang, Shuo Shang et al.AAAI 2023 · 48 citations
- MovSemCL: Movement-Semantics Contrastive Learning for Trajectory SimilarityZhichen Lai, Hua Lu, Huan Li, Jialiang Li et al.AAAI 2026
