Road-Network Trajectory Similarity Learning with Landmark Distance Encoding and Matching Knowledge Transfer
- 1School of Software, Shandong University, Jinan 250101, China
- 2School of Cryptologic Science and Engineering, Shandong University, Jinan 250101, China
Abstract
Representation-based trajectory similarity learning (TSL) uses deep neural encoders to map each trajectory independently to a reusable vector, which enables efficient road-network trajectory retrieval. However, existing methods do not fully exploit the information that defines road-network similarity. Quantitative road-network distances are rarely organized into reusable segment-level descriptions, and the position-level comparisons performed by the target measure are usually collapsed into trajectory-level supervision. To preserve this information, we propose two complementary designs, one for representation and one for supervision. Landmark distance encoding describes each visited road segment by its shortest-path distances to a shared set of landmark road segments, which gives every segment a common quantitative reference for road-network distance. Matching knowledge transfer converts the position-level comparison rule of the target measure into soft position targets and uses them to supervise contextual position representations during training. Both designs are integrated into a single shared Transformer encoder. At inference, each trajectory is still encoded independently, and similarity is evaluated by a vector distance alone. Experiments on two real-world road-network trajectory datasets under two representative target measures show that the proposed framework consistently outperforms representative TSL methods while retaining efficient, vector-based retrieval.
Related
- A General Kernel Framework for Non-CND Distance Measures Using |D|-Dimensional Sparse Landmark Embeddings
- Aligning entity of knowledge graph based on graph convolutional network with maximum translated similarity
- Sigmoid-based supervised contrastive learning with von mises–fisher similarity and memory banks for visual recognition
- Learning Hamiltonians from Trajectory Data with Kernel Methods
- Efficient Joint Trajectory Optimization and Resource Allocation for Secure UAV Networks: A Deep Reinforcement Learning Approach
BibTeX
@article{liu2026roadnetwork,
title = {{Road-Network Trajectory Similarity Learning with Landmark Distance Encoding and Matching Knowledge Transfer}},
author = {Qingjie Liu and Li Pan and Meng Chen},
journal = {Mathematics},
year = {2026},
month = nov,
doi = {10.3390/math14224119},
url = {https://www.mdpi.com/2227-7390/14/22/4119},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - Road-Network Trajectory Similarity Learning with Landmark Distance Encoding and Matching Knowledge Transfer
AU - Qingjie Liu
AU - Li Pan
AU - Meng Chen
PY - 2026
DA - 2026/11/10
JO - Mathematics
DO - 10.3390/math14224119
UR - https://www.mdpi.com/2227-7390/14/22/4119
AB - Representation-based trajectory similarity learning (TSL) uses deep neural encoders to map each trajectory independently to a reusable vector, which enables efficient road-network trajectory retrieval. However, existing methods do not fully exploit the information that defines road-network similarity. Quantitative road-network distances are rarely organized into reusable segment-level descriptions, and the position-level comparisons performed by the target measure are usually collapsed into trajectory-level supervision. To preserve this information, we propose two complementary designs, one for representation and one for supervision. Landmark distance encoding describes each visited road segment by its shortest-path distances to a shared set of landmark road segments, which gives every segment a common quantitative reference for road-network distance. Matching knowledge transfer converts the position-level comparison rule of the target measure into soft position targets and uses them to supervise contextual position representations during training. Both designs are integrated into a single shared Transformer encoder. At inference, each trajectory is still encoded independently, and similarity is evaluated by a vector distance alone. Experiments on two real-world road-network trajectory datasets under two representative target measures show that the proposed framework consistently outperforms representative TSL methods while retaining efficient, vector-based retrieval.
SN - 2227-7390
ER -