SIMformer: Single-Layer Vanilla Transformer Can Learn Free-Space Trajectory Similarity
Chuang Yang, Renhe Jiang, Xiaohang Xu, Chuan Xiao, Kaoru Sezaki

TL;DR
This paper introduces SIMformer, a single-layer vanilla transformer model that efficiently and accurately computes free-space trajectory similarity, overcoming limitations of existing methods in effectiveness, efficiency, and scalability.
Contribution
The paper proposes a simple single-layer transformer-based model with tailored similarity functions, improving trajectory similarity computation in terms of effectiveness and scalability.
Findings
Outperforms state-of-the-art methods in accuracy and speed.
Mitigates curse of dimensionality in trajectory similarity tasks.
Demonstrates scalability to large datasets with maintained effectiveness.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsInertial Sensor and Navigation · Hand Gesture Recognition Systems · Control and Dynamics of Mobile Robots
MethodsDynamic Time Warping
