TrajAgg: Dual-Scale Feature Aggregation with Hybrid Training for Trajectory Similarity Computation in Free Space
Xiao Zhang, Xingyu Zhao, Yuan Cao, Bin Wang, Guiyuan Jiang, Yanwei Yu
Abstract
With the widespread use of location-tracking technologies, large volumes of trajectory data are continuously generated. Trajectory similarity computation is a core task in trajectory mining with broad applications. However, existing methods still face two key challenges: (1) difficulty in balancing efficiency and representation quality, and (2) reliance on a single training paradigm, which limits the ability to capture both pairwise similarity and batch-level coherence. To address the challenges mentioned above, we propose a trajectory similarity computation framework, named TrajAgg. Specifically, our framework incorporates a novel Aggregation Transformer that efficiently aggregates GPS and grid features through two stages of direct interaction and enhances the expressiveness of the resulting trajectory embeddings. In addition, by integrating two distinct training paradigms, our model captures both fine-grained pairwise relationships and global structural consistency. We further analyze its effectiveness from the perspective of mutual information. Extensive experiments on three publicly available datasets show that TrajAggconsistently outperforms state-of-the-art baselines. Our method achieves average improvements of 15.11%, 16.49%, 10.41% and 40.15% in HR@1 under four distance measures across three datasets, respectively.
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
- Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel Semantics cites Learning Effective Road Network Representation with Hierarchical Graph Neural Networks
- Contrastive Trajectory Similarity Learning with Dual-Feature Attention cites TrajGAT: A Graph-based Long-term Dependency Modeling Approach for Trajectory Similarity Computation
Builds on16
- Learning Effective Road Network Representation with Hierarchical Graph Neural NetworksNing Wu, Wayne Xin Zhao, Jingyuan Wang, Dayan PanKDD 2020 · 109 citations
- Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel SemanticsJiawei Jiang, Dayan Pan, Houxing Ren, Xiaohan Jiang et al.ICDE 2023 · 101 citations
- Fast Large-Scale Trajectory ClusteringSheng Wang, Zhifeng Bao, J. Shane Culpepper, Timos Sellis et al.VLDB 2020 · 83 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
- Having It Both Ways: Single Trajectory Embedding for Similarity Computation with Pairwise LearningJianing Si, Haitao Yuan, Xiang Li, Nan Jiang et al.ICDE 2025
- Region-Point Joint Representation for Effective Trajectory Similarity LearningHao Long, Silin Zhou, Lisi Chen, Shuo ShangAAAI 2026
- TMN: Trajectory Matching Networks for Predicting SimilarityPeilun Yang, Hanchen Wang, Defu Lian, Ying Zhang et al.ICDE 2022 · 32 citations
- Spatio-Temporal Trajectory Similarity Learning in Road NetworksZiquan Fang, Yuntao Du, Xinjun Zhu, Danlei Hu et al.KDD 2022 · 68 citations
- KGTS: Contrastive Trajectory Similarity Learning over Prompt Knowledge Graph EmbeddingZhen Chen, Dalin Zhang, Shanshan Feng, Kaixuan Chen et al.AAAI 2024 · 22 citations
