Contrastive Trajectory Similarity Learning with Dual-Feature Attention
Not on the map. Why?
Abstract (arXiv)
Trajectory similarity measures act as query predicates in trajectory databases, making them the key player in determining the query results. They also have a heavy impact on the query efficiency. An ideal measure should have the capability to accurately evaluate the similarity between any two trajectories in a very short amount of time. Towards this aim, we propose a contrastive learning-based trajectory modeling method named TrajCL. We present four trajectory augmentation methods and a novel dual-feature self-attention-based trajectory backbone encoder. The resultant model can jointly learn both the spatial and the structural patterns of trajectories. Our model does not involve any recurrent structures and thus has a high efficiency. Besides, our pre-trained backbone encoder can be fine-tuned towards other computationally expensive measures with minimal supervision data. Experimental results show that TrajCL is consistently and significantly more accurate than the state-of-the-art trajectory similarity measures. After fine-tuning, i.e., to serve as an estimator for heuristic measures, TrajCL can even outperform the state-of-the-art supervised method by up to 56% in the accuracy for processing trajectory similarity queries.
Key facts. Cited by 44 papers in the map (data through 7 Oct 2026). Builds on 27 of its 60 references that are in the map. First posted on arXiv 11 Oct 2022.
Builds on
27 of 60 references.
References · 27
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2016Layer Normalizationcited by 5,579
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
15 more
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2016node2vec: Scalable Feature Learning for Networkscited by 1,913
- 2018Deep Graph Infomaxcited by 1,101
- 2020Contrastive Multi-View Representation Learning on Graphscited by 651
- 2020Graph Contrastive Learning with Adaptive Augmentationcited by 519
- 2020GCC: Graph Contrastive Coding for Graph Neural Network Pre-Trainingcited by 461
- 2020Understanding the Behaviour of Contrastive Losscited by 397
- 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
- 2020Spatio-Temporal Graph Transformer Networks for Pedestrian Trajectory Predictioncited by 218
- 2020Transformer Networks for Trajectory Forecastingcited by 180
- 2020CERT: Contrastive Self-supervised Learning for Language Understandingcited by 169
- 2021MobTCast: Leveraging Auxiliary Trajectory Forecasting for Human Mobility Predictioncited by 48
- 2021When Do Contrastive Learning Signals Help Spatio-Temporal Graph Forecasting?cited by 36
- 2021Deep Spatially and Temporally Aware Similarity Computation for Road Network Constrained Trajectoriescited by 29
- 2021Sub-trajectory Similarity Join with Obfuscationcited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 14; 2025: 20; 2026: 9.
44 papers.
Sort:
By area:
- 2024Foundation Models for Time Series Analysis: A Tutorial and Surveycited by 234
- 2024Trajectory Data Management and Mining: A Survey from Deep Learning to the LLM Eracited by 23
- 2024More Than Routing: Joint GPS and Route Modeling for Refine Trajectory Representation Learningcited by 20
- 2024TrajFM: A Vehicle Trajectory Foundation Model for Region and Task Transferabilitycited by 16
- 2024MM-Path: Multi-modal, Multi-granularity Path Representation Learning -- Extended Versioncited by 14
- 2023Urban Region Representation Learning with Attentive Fusioncited by 12
- 2024T-JEPA: A Joint-Embedding Predictive Architecture for Trajectory Similarity Computationcited by 11
- 2025Unraveling Spatio-Temporal Foundation Models via the Pipeline Lens: A Comprehensive Reviewcited by 10
- 2024Self-Supervised Representation Learning for Geospatial Objects: A Surveycited by 8
- 2024RED: Effective Trajectory Representation Learning with Comprehensive Informationcited by 8
- 2025Blurred Encoding for Trajectory Representation Learningcited by 8
- 2024Grid and Road Expressions Are Complementary for Trajectory Representation Learningcited by 7
32 more
- 2025Holistic Semantic Representation for Navigational Trajectory Generationcited by 7
- 2025HiT-JEPA: A Hierarchical Self-supervised Trajectory Embedding Framework for Similarity Computationcited by 5
- 2024Towards Robust Trajectory Representations: Isolating Environmental Confounders with Causal Learningcited by 4
- 2024TrajCogn: Leveraging LLMs for Cognizing Movement Patterns and Travel Purposes from Trajectoriescited by 4
- 2024Revisiting CNNs for Trajectory Similarity Learningcited by 4
- 2024UniTE: A Survey and Unified Pipeline for Pre-training Spatiotemporal Trajectory Embeddingscited by 4
- 2025TransferTraj: A Vehicle Trajectory Learning Model for Region and Task Transferabilitycited by 4
- 2025AMD: Adaptive Momentum and Decoupled Contrastive Learning Framework for Robust Long-Tail Trajectory Predictioncited by 4
- 2024PTrajM: Efficient and Semantic-rich Trajectory Learning with Pretrained Trajectory-Mambacited by 3
- 2025Contrast & Compress: Learning Lightweight Embeddings for Short Trajectoriescited by 3
- 2025Spatio-Temporal Trajectory Foundation Model - Recent Advances and Future Directionscited by 3
- 2025TSMini: A Simple Yet Highly Effective Trajectory Similarity Learning Modelcited by 2
- 2025Towards Physics-informed Diffusion for Anomaly Detection in Trajectoriescited by 2
- 2026CoMI-IRL: Contrastive Multi-Intention Inverse Reinforcement Learningcited by 2
- 2026TrajDLM: Topology-Aware Block Diffusion Language Model for Trajectory Generationcited by 2
- 2025Learning Spatio-Temporal Dynamics for Trajectory Recovery via Time-Aware Transformercited by 1
- 2025Learning Generalized and Flexible Trajectory Models from Omni-Semantic Supervisioncited by 1
- 2025TrajMamba: An Efficient and Semantic-rich Vehicle Trajectory Pre-training Modelcited by 1
- 2025Region-Point Joint Representation for Effective Trajectory Similarity Learningcited by 1
- 2026TrajPrism: A Multi-Task Benchmark for Language-Grounded Urban Trajectory Understandingcited by 1
- 2026TrajTok: Adaptive Spatial Tokenization for Trajectory Representation Learningcited by 1
- 2026REFINE: Trajectory Representation Learning via Closed-Loop Transcription -- Extended Versioncited by 1
- 2025TrajDiff: Diffusion Bridge Network with Semantic Alignment for Trajectory Similarity Computationcited by 0
- 2025NAICS-Aware Graph Neural Networks for Large-Scale POI Co-visitation Prediction: A Multi-Modal Dataset and Methodologycited by 0
- 2025Efficient Methods for Accurate Sparse Trajectory Recovery and Map Matchingcited by 0
- 2025Multimodal Trajectory Representation Learning for Travel Time Estimationcited by 0
- 2025MovSemCL: Movement-Semantics Contrastive Learning for Trajectory Similarity (Extension)cited by 0
- 2025CroTad: A Contrastive Reinforcement Learning Framework for Online Trajectory Anomaly Detectioncited by 0
- 2026TraXion: Rethinking Pre-training Frameworks for Mobility and Beyondcited by 0
- 2026MoCo-AIS: A Contrastive Learning Framework for Similarity Computation of Vessel Trajectoriescited by 0
- 2026Objective-Behavior Alignment: Diagnostics for MORL Policy Selectioncited by 0
- 2026Using Lower-Bound Representations for Trajectory Similarity Learningcited by 0
- 2026REFINE: Trajectory Representation Learning via Closed-Loop Transcription -- Extended Version7 Sep 2026
- 2026Using Lower-Bound Representations for Trajectory Similarity Learning2 Aug 2026
- 2026Objective-Behavior Alignment: Diagnostics for MORL Policy Selection19 Jun 2026
- 2026MoCo-AIS: A Contrastive Learning Framework for Similarity Computation of Vessel Trajectories16 Jun 2026
- 2026TrajTok: Adaptive Spatial Tokenization for Trajectory Representation Learning19 May 2026
- 2026TrajPrism: A Multi-Task Benchmark for Language-Grounded Urban Trajectory Understanding11 May 2026
- 2026TrajDLM: Topology-Aware Block Diffusion Language Model for Trajectory Generation11 May 2026
- 2026TraXion: Rethinking Pre-training Frameworks for Mobility and Beyond7 May 2026
- 2026CoMI-IRL: Contrastive Multi-Intention Inverse Reinforcement Learning7 Feb 2026
- 2025Spatio-Temporal Trajectory Foundation Model - Recent Advances and Future Directions25 Nov 2025
- 2025CroTad: A Contrastive Reinforcement Learning Framework for Online Trajectory Anomaly Detection21 Nov 2025
- 2025Region-Point Joint Representation for Effective Trajectory Similarity Learning17 Nov 2025
32 more
- 2025MovSemCL: Movement-Semantics Contrastive Learning for Trajectory Similarity (Extension)15 Nov 2025
- 2025Blurred Encoding for Trajectory Representation Learning12 Nov 2025
- 2025TrajMamba: An Efficient and Semantic-rich Vehicle Trajectory Pre-training Model20 Oct 2025
- 2025Multimodal Trajectory Representation Learning for Travel Time Estimation7 Oct 2025
- 2025Efficient Methods for Accurate Sparse Trajectory Recovery and Map Matching14 Aug 2025
- 2025NAICS-Aware Graph Neural Networks for Large-Scale POI Co-visitation Prediction: A Multi-Modal Dataset and Methodology25 Jul 2025
- 2025AMD: Adaptive Momentum and Decoupled Contrastive Learning Framework for Robust Long-Tail Trajectory Prediction2 Jul 2025
- 2025TrajDiff: Diffusion Bridge Network with Semantic Alignment for Trajectory Similarity Computation18 Jun 2025
- 2025HiT-JEPA: A Hierarchical Self-supervised Trajectory Embedding Framework for Similarity Computation17 Jun 2025
- 2025Towards Physics-informed Diffusion for Anomaly Detection in Trajectories8 Jun 2025
- 2025Contrast & Compress: Learning Lightweight Embeddings for Short Trajectories3 Jun 2025
- 2025Unraveling Spatio-Temporal Foundation Models via the Pipeline Lens: A Comprehensive Review2 Jun 2025
- 2025Learning Generalized and Flexible Trajectory Models from Omni-Semantic Supervision23 May 2025
- 2025Learning Spatio-Temporal Dynamics for Trajectory Recovery via Time-Aware Transformer20 May 2025
- 2025TransferTraj: A Vehicle Trajectory Learning Model for Region and Task Transferability19 May 2025
- 2025TSMini: A Simple Yet Highly Effective Trajectory Similarity Learning Model1 Feb 2025
- 2025Holistic Semantic Representation for Navigational Trajectory Generation6 Jan 2025
- 2024MM-Path: Multi-modal, Multi-granularity Path Representation Learning -- Extended Version27 Nov 2024
- 2024RED: Effective Trajectory Representation Learning with Comprehensive Information22 Nov 2024
- 2024Grid and Road Expressions Are Complementary for Trajectory Representation Learning22 Nov 2024
- 2024Self-Supervised Representation Learning for Geospatial Objects: A Survey22 Aug 2024
- 2024TrajFM: A Vehicle Trajectory Foundation Model for Region and Task Transferability9 Aug 2024
- 2024PTrajM: Efficient and Semantic-rich Trajectory Learning with Pretrained Trajectory-Mamba9 Aug 2024
- 2024UniTE: A Survey and Unified Pipeline for Pre-training Spatiotemporal Trajectory Embeddings17 Jul 2024
- 2024T-JEPA: A Joint-Embedding Predictive Architecture for Trajectory Similarity Computation13 Jun 2024
- 2024Revisiting CNNs for Trajectory Similarity Learning30 May 2024
- 2024TrajCogn: Leveraging LLMs for Cognizing Movement Patterns and Travel Purposes from Trajectories21 May 2024
- 2024Towards Robust Trajectory Representations: Isolating Environmental Confounders with Causal Learning22 Apr 2024
- 2024Foundation Models for Time Series Analysis: A Tutorial and Survey21 Mar 2024
- 2024Trajectory Data Management and Mining: A Survey from Deep Learning to the LLM Era21 Mar 2024
- 2024More Than Routing: Joint GPS and Route Modeling for Refine Trajectory Representation Learning25 Feb 2024
- 2023Urban Region Representation Learning with Attentive Fusion7 Dec 2023
- 2024Foundation Models for Time Series Analysis: A Tutorial and Surveycited by 234
- 2024Trajectory Data Management and Mining: A Survey from Deep Learning to the LLM Eracited by 23
- 2024More Than Routing: Joint GPS and Route Modeling for Refine Trajectory Representation Learningcited by 20
- 2024TrajFM: A Vehicle Trajectory Foundation Model for Region and Task Transferabilitycited by 16
- 2024MM-Path: Multi-modal, Multi-granularity Path Representation Learning -- Extended Versioncited by 14
- 2023Urban Region Representation Learning with Attentive Fusioncited by 12
- 2024T-JEPA: A Joint-Embedding Predictive Architecture for Trajectory Similarity Computationcited by 11
- 2025Unraveling Spatio-Temporal Foundation Models via the Pipeline Lens: A Comprehensive Reviewcited by 10
- 2024Self-Supervised Representation Learning for Geospatial Objects: A Surveycited by 8
- 2024RED: Effective Trajectory Representation Learning with Comprehensive Informationcited by 8
- 2025Blurred Encoding for Trajectory Representation Learningcited by 8
- 2024Grid and Road Expressions Are Complementary for Trajectory Representation Learningcited by 7
12 most cited of 40 All 40 (JSON)
- 2026REFINE: Trajectory Representation Learning via Closed-Loop Transcription -- Extended Version7 Sep 2026
- 2026Using Lower-Bound Representations for Trajectory Similarity Learning2 Aug 2026
- 2026Objective-Behavior Alignment: Diagnostics for MORL Policy Selection19 Jun 2026
- 2026MoCo-AIS: A Contrastive Learning Framework for Similarity Computation of Vessel Trajectories16 Jun 2026
- 2026TrajTok: Adaptive Spatial Tokenization for Trajectory Representation Learning19 May 2026
- 2026TrajPrism: A Multi-Task Benchmark for Language-Grounded Urban Trajectory Understanding11 May 2026
- 2025Spatio-Temporal Trajectory Foundation Model - Recent Advances and Future Directions25 Nov 2025
- 2025CroTad: A Contrastive Reinforcement Learning Framework for Online Trajectory Anomaly Detection21 Nov 2025
- 2025Region-Point Joint Representation for Effective Trajectory Similarity Learning17 Nov 2025
- 2025MovSemCL: Movement-Semantics Contrastive Learning for Trajectory Similarity (Extension)15 Nov 2025
- 2025Blurred Encoding for Trajectory Representation Learning12 Nov 2025
- 2025TrajMamba: An Efficient and Semantic-rich Vehicle Trajectory Pre-training Model20 Oct 2025
12 newest of 40 All 40 (JSON)