Lune

ICDE2025Top-tier venue

Having It Both Ways: Single Trajectory Embedding for Similarity Computation with Pairwise Learning

Jianing Si, Haitao Yuan, Xiang Li, Nan Jiang, Xiao Ma, Guoliang Li, Shangguang Wang

Abstract

Trajectory similarity measure is a fundamental component in trajectory databases, supporting many down-stream trajectory tasks. Existing similarity functions often exhibit unacceptable time complexities, hampering their efficiency for real-world scenarios. To address this limitation, learning-based approximation techniques utilizing trajectory embeddings have been proposed. However, creating a robust embedding model presents challenges, including the lack of direct involvement in the computational similarity process, adherence to non-metric similarity spaces, and the integration of precise similarity computation alignments. To address these challenges, we introduce DTisT, a novel embedding framework that enhances trajectory embeddings by pairwise learning from dual-trajectory input models. DTisT not only captures the dynamics of trajectory similarity computation through a dual-trajectory learning model but also integrates a learnable virtual trajectory to align the embedding space with non-metric similarity spaces effectively. Additionally, we incorporate aligned information from actual similarity computations into our embedding process using an attention mask mechanism. To ensure effective learning, we adopt a pre-train and fine-tune strategy, utilizing contrastive learning during the pre-training stage. Extensive experiments conducted on two real datasets demonstrate that DTisT surpasses state-of-the-art methods, showcasing its effectiveness in trajectory similarity embedding.

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.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel Semantics cites Online Anomalous Trajectory Detection with Deep Generative Sequence Modeling
  • Online Anomalous Trajectory Detection with Deep Generative Sequence Modeling cites Fast Large-Scale Trajectory Clustering
  • TrajAgg: Dual-Scale Feature Aggregation with Hybrid Training for Trajectory Similarity Computation in Free Space cites Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel Semantics
  • TrajAgg: Dual-Scale Feature Aggregation with Hybrid Training for Trajectory Similarity Computation in Free Space cites Fast Large-Scale Trajectory Clustering
  • TrajAgg: Dual-Scale Feature Aggregation with Hybrid Training for Trajectory Similarity Computation in Free Space cites Contrastive Trajectory Similarity Learning with Dual-Feature Attention
  • REFINE: Trajectory Representation Learning via Closed-Loop Transcription cites Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel Semantics
  • REFINE: Trajectory Representation Learning via Closed-Loop Transcription cites Contrastive Trajectory Similarity Learning with Dual-Feature Attention
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. REFINE: Trajectory Representation Learning via Closed-Loop TranscriptionSean Bin Yang, Ying Sun, Jilin Hu, Zongyi Xu et al.KDD 2026 · 2 citations
  2. TrajAgg: Dual-Scale Feature Aggregation with Hybrid Training for Trajectory Similarity Computation in Free SpaceXiao Zhang, Xingyu Zhao, Yuan Cao, Bin Wang et al.AAAI 2026

Builds on13

  1. Gradient Surgery for Multi-Task LearningTianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine et al.NeurIPS 2020 · 2,261 citations
  2. Online Anomalous Trajectory Detection with Deep Generative Sequence ModelingYiding Liu, Kaiqi Zhao, Gao Cong, Zhifeng BaoICDE 2020 · 124 citations
  3. Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel SemanticsJiawei Jiang, Dayan Pan, Houxing Ren, Xiaohan Jiang et al.ICDE 2023 · 101 citations
  4. Fast Large-Scale Trajectory ClusteringSheng Wang, Zhifeng Bao, J. Shane Culpepper, Timos Sellis et al.VLDB 2020 · 83 citations
  5. Contrastive Trajectory Similarity Learning with Dual-Feature AttentionYanchuan Chang, Jianzhong Qi, Yuxuan Liang, Egemen TaninICDE 2023 · 77 citations

Related papers

  1. Trajectory Similarity Measurement: An Efficiency PerspectiveYanchuan Chang, Egemen Tanin, Gao Cong, Christian S. Jensen et al.VLDB 2024 · 28 citations
  2. KGTS: Contrastive Trajectory Similarity Learning over Prompt Knowledge Graph EmbeddingZhen Chen, Dalin Zhang, Shanshan Feng, Kaixuan Chen et al.AAAI 2024 · 22 citations
  3. SIMformer: Single-Layer Vanilla Transformer Can Learn Free-Space Trajectory SimilarityChuang Yang, Renhe Jiang, Xiaohang Xu, Chuan Xiao et al.VLDB 2025 · 8 citations
  4. Multimodal Trajectory Representation Learning for Travel Time EstimationZhi Liu, Xuyuan Hu, Xiao Han, Zhehao Dai et al.WWW 2026
  5. TMN: Trajectory Matching Networks for Predicting SimilarityPeilun Yang, Hanchen Wang, Defu Lian, Ying Zhang et al.ICDE 2022 · 32 citations
Dusk over the sea between two cliffs drawn in fine vertical lines