Revisiting CNNs for Trajectory Similarity Learning
Not on the map. Why?
Abstract (arXiv)
Similarity search is a fundamental but expensive operator in querying trajectory data, due to its quadratic complexity of distance computation. To mitigate the computational burden for long trajectories, neural networks have been widely employed for similarity learning and each trajectory is encoded as a high-dimensional vector for similarity search with linear complexity. Given the sequential nature of trajectory data, previous efforts have been primarily devoted to the utilization of RNNs or Transformers. In this paper, we argue that the common practice of treating trajectory as sequential data results in excessive attention to capturing long-term global dependency between two sequences. Instead, our investigation reveals the pivotal role of local similarity, prompting a revisit of simple CNNs for trajectory similarity learning. We introduce ConvTraj, incorporating both 1D and 2D convolutions to capture sequential and geo-distribution features of trajectories, respectively. In addition, we conduct a series of theoretical analyses to justify the effectiveness of ConvTraj. Experimental results on four real-world large-scale datasets demonstrate that ConvTraj achieves state-of-the-art accuracy in trajectory similarity search. Owing to the simple network structure of ConvTraj, the training and inference speed on the Porto dataset with 1.6 million trajectories are increased by at least 240x and 2.16x, respectively. The source code and dataset can be found at textiturlhttps://github.com/Proudc/ConvTraj.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 5 of its 41 references that are in the map. First posted on arXiv 30 May 2024.
Builds on
5 of 41 references.
References · 5
- 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 786
- 2022Contrastive Trajectory Similarity Learning with Dual-Feature Attentioncited by 44
- 2021Deep Spatially and Temporally Aware Similarity Computation for Road Network Constrained Trajectoriescited by 29
- 2023Trajectory Similarity Measurement: An Efficiency Perspectivecited by 16
- 2021Sub-trajectory Similarity Join with Obfuscationcited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025TSMini: A Simple Yet Highly Effective Trajectory Similarity Learning Modelcited by 2
- 2025MovSemCL: Movement-Semantics Contrastive Learning for Trajectory Similarity (Extension)cited by 0
- 2026Efficient Prompt Learning for Traffic Forecastingcited by 0
- 2026Using Lower-Bound Representations for Trajectory Similarity Learningcited by 0
- 2026Using Lower-Bound Representations for Trajectory Similarity Learning2 Aug 2026
- 2026Efficient Prompt Learning for Traffic Forecasting8 May 2026
- 2025MovSemCL: Movement-Semantics Contrastive Learning for Trajectory Similarity (Extension)15 Nov 2025
- 2025TSMini: A Simple Yet Highly Effective Trajectory Similarity Learning Model1 Feb 2025