TrajAgg: Dual-Scale Feature Aggregation with Hybrid Training for Trajectory Similarity Computation in Free Space

Authors

  • Xiao Zhang Faculty of Information Science and Engineering, Ocean University of China
  • Xingyu Zhao Faculty of Information Science and Engineering, Ocean University of China
  • Yuan Cao Faculty of Information Science and Engineering, Ocean University of China
  • Bin Wang Faculty of Information Science and Engineering, Ocean University of China
  • Guiyuan Jiang Faculty of Information Science and Engineering, Ocean University of China
  • Yanwei Yu Faculty of Information Science and Engineering, Ocean University of China State Key Laboratory of Physical Oceanography, Ocean University of China

DOI:

https://doi.org/10.1609/aaai.v40i19.38675

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) the difficulty of balancing efficiency and representation quality, and (2) the reliance on a single training paradigm, which limits the ability to capture both pairwise similarity and batch-level coherence. To address these challenges, 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 TrajAgg consistently 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.

Downloads

Published

2026-03-14

How to Cite

Zhang, X., Zhao, X., Cao, Y., Wang, B., Jiang, G., & Yu, Y. (2026). TrajAgg: Dual-Scale Feature Aggregation with Hybrid Training for Trajectory Similarity Computation in Free Space. Proceedings of the AAAI Conference on Artificial Intelligence, 40(19), 16370–16378. https://doi.org/10.1609/aaai.v40i19.38675

Issue

Section

AAAI Technical Track on Data Mining & Knowledge Management III