SIMformer: Single-Layer Vanilla Transformer Can Learn Free-Space Trajectory Similarity
Not on the map. Why?
Abstract (arXiv)
Free-space trajectory similarity calculation, e.g., DTW, Hausdorff, and Frechet, often incur quadratic time complexity, thus learning-based methods have been proposed to accelerate the computation. The core idea is to train an encoder to transform trajectories into representation vectors and then compute vector similarity to approximate the ground truth. However, existing methods face dual challenges of effectiveness and efficiency: 1) they all utilize Euclidean distance to compute representation similarity, which leads to the severe curse of dimensionality issue -- reducing the distinguishability among representations and significantly affecting the accuracy of subsequent similarity search tasks; 2) most of them are trained in triplets manner and often necessitate additional information which downgrades the efficiency; 3) previous studies, while emphasizing the scalability in terms of efficiency, overlooked the deterioration of effectiveness when the dataset size grows. To cope with these issues, we propose a simple, yet accurate, fast, scalable model that only uses a single-layer vanilla transformer encoder as the feature extractor and employs tailored representation similarity functions to approximate various ground truth similarity measures. Extensive experiments demonstrate our model significantly mitigates the curse of dimensionality issue and outperforms the state-of-the-arts in effectiveness, efficiency, and scalability.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 4 of its 52 references that are in the map. First posted on arXiv 18 Oct 2024.
Builds on
4 of 52 references.
References · 4
- 2021Deep Spatially and Temporally Aware Similarity Computation for Road Network Constrained Trajectoriescited by 29
- 2023Trajectory Similarity Measurement: An Efficiency Perspectivecited by 16
- 2020EpiMob: Interactive Visual Analytics of Citywide Human Mobility Restrictions for Epidemic Controlcited by 6
- 2020Fast Subtrajectory Similarity Search in Road Networks under Weighted Edit Distance Constraintscited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025HiT-JEPA: A Hierarchical Self-supervised Trajectory Embedding Framework for Similarity Computationcited by 6
- 2025Region-Point Joint Representation for Effective Trajectory Similarity Learningcited by 1
- 2026TrajTok: Adaptive Spatial Tokenization for Trajectory Representation Learningcited by 1
- 2026From GPS Points to Travel Patterns: Flexible and Semantic Trajectory Generation with LLMscited by 0
- 2026Using Lower-Bound Representations for Trajectory Similarity Learningcited by 0
- 2026Using Lower-Bound Representations for Trajectory Similarity Learning2 Aug 2026
- 2026From GPS Points to Travel Patterns: Flexible and Semantic Trajectory Generation with LLMs28 May 2026
- 2026TrajTok: Adaptive Spatial Tokenization for Trajectory Representation Learning19 May 2026
- 2025Region-Point Joint Representation for Effective Trajectory Similarity Learning17 Nov 2025
- 2025HiT-JEPA: A Hierarchical Self-supervised Trajectory Embedding Framework for Similarity Computation17 Jun 2025