SlideShare a Scribd company logo
Quang-Huy Tran
Network Science Lab
Dept. of Artificial Intelligence
The Catholic University of Korea
E-mail: huytran1126@gmail.com
2024-06-14
GRLSTM: Trajectory Similarity Computation
with Graph-Based Residual LSTM
Silin Zhou et al.
AAAI-2023: Proceedings of the Thirty-Seventh Conference on Artificial Intelligence
2
OUTLINE
• MOTIVATION
• INTRODUCTION
• METHODOLOGY
• EXPERIMENT & RESULT
• CONCLUSION
3
MOTIVATION
• With the ubiquitousness of GPS-enabled devices, massive trajectory data is being
collected at an unprecedented rate.
Overview
• One of main way for trajectory similarity computation:
o Each trajectory is encoded as a latent vector in Euclidean space with deep learning methods.
• Trajectory similarity computation is an essential function in many real-world
applications:
o trajectory clustering, anomaly trajectory detection, route planning, transportation optimization, and
trajectory matching.
4
MOTIVATION
Overview: Limitation
• No considering directly on the road network.
• Existing work on applying GNN into road network only considered road network.
o ignores the trajectory information during the graph processing.
o Adjacent points in a trajectory are not necessarily adjacent on the road.
5
INTRODUCTION
• Propose a novel trajectory similarity computation framework on road networks GRLSTM:
o Modeling multi-relation of points with knowledge graph.
o Introduce the residual network into multi-layer LSTM to learn trajectory embeddings
• Design two new neighbor-based point-aware loss functions:
o graph-based point loss and trajectory-based point loss.
6
METHODOLOGY
Problem Definition
• A road network graph 𝐺 = {𝑉, 𝐸}
o Each node 𝑣 ∈ 𝑉 is a point featured with a geographic coordinate, representing an endpoint of a road
segment or a road intersection.
o Each edge e = 𝑢, 𝑣 ∈ 𝐸 represents a road segment connecting 2 nodes.
• A trajectory set 𝑇 = {𝜏1, 𝜏2, … , 𝜏𝑚}
o A length n trajectory 𝜏 = 𝑣1, 𝑣2, . . , 𝑣𝑛 in the road network graph 𝐺 consists of an ordered sequence
of n point coordinates.
• The trajectory similarity computation problem:
o Find 𝜏𝑎, 𝜏𝑏 ∈ T, 𝑎 ≠ 𝑏 such that 𝜏𝑏 is most similar to 𝜏𝑎.
7
METHODOLOGY
Main Architecture - LSTF
• 3 main components:
o Point knowledge graph embedding.
o Fusion graph embedding.
o Residual-LSTM.
8
METHODOLOGY
Point knowledge Graph Embedding
• Construct a road network trajectory knowledge graph 𝐺 = {𝑉, 𝐸, 𝑅}.
o Relation types 𝑅: road network edge 𝑟𝑛, trajectory virtual edge 𝑟𝑡, dual edge 𝑟𝑛𝑡.
o A triplet: 𝑢, 𝑟𝑛, 𝑣
• Apply TransH[1] to learn entity and relation embeddings.
o Score function:
[1] Wang, Z., Zhang, J., Feng, J., & Chen, Z. (2014, June). Knowledge graph embedding by translating on hyperplanes. In Proceedings of the AAAI conference on artificial intelligence (Vol. 28, No. 1).
9
METHODOLOGY
Point knowledge Graph Embedding
• To capture the correlation of points within different relations:
o design entity-relation similarity function
• Construct a point fusion graph by using k-nearest selection to obtain point 𝑣𝑖 neighbor
set 𝑁𝑠(𝑣𝑖)
o based on similarity to keep sparsity on graph and decrease noisy.
• To show higher similarity for the closer distance, compute similarity between u and v.
where 𝑒𝑢, 𝑒𝑣 denote the learned embeddings of point u and point v, respectively, 𝑒𝑟 is the learned
relation embedding between u and v and ||. || represents L2-norm.
10
METHODOLOGY
Graph Embedding on Point
• To capture the topology in the fusion graph, apply Graph attention network (GAT)[1].
o points embedding 𝑃 = 𝑝1, 𝑝2, … , 𝑝|𝑉|
|| is represents concatenation, and 𝑁𝑖 is the neighbor set which can be
obtained from G
• Concatenate the output embeddings of multi-head GAT.
[1] Velickovic, P., Cucurull, G., Casanova, A., Romero, A., Lio, P., & Bengio, Y. (2017). Graph attention networks. stat, 1050(20), 10-48550.
where H is the number of the heads, || is the concatenationoperation, and σ is the activation
function.
11
METHODOLOGY
Multi-Layer LSTM with Residual Network
• Inspired by ResNet[1], integrate ResNet
into the multi-layer LSTM.
o residual block at each time step i:
[1] He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 770-778).
• take the last timestep hidden output of LSTM
as the final trajectory embeddings.
ℱ(·) is the residual function, which stands for the learned
residuals.
ℋ(·) represents the identity connection: ℋ(𝑝𝑖
𝑙−1
) = 𝑝𝑖
𝑙−1
12
METHODOLOGY
Objective Functions
• Embedding Similarity Measurement: after training, calculate similarity scores.
o Trajectory embedding similarity score between 2 trajectories 𝜏𝑖, 𝜏𝑗:
o Point embedding similarity score between 2 nodes points 𝑣𝑖, 𝑣𝑗:
• Point-Aware Loss Function: define two neighbor-based point-aware loss functions –
graph-based and trajectory-based.
o Graph-based point neighbors: first-order neighbors 𝑁𝑔𝑝 on the fusion graph
13
METHODOLOGY
Objective Functions
• Trajectory-Based Point Neighbors: each point in trajectory has previous and next point.
o denote trajectory-based point neighbors as 𝑁𝑡𝑝 and 𝑁𝑡𝑝 ∈ {1,2}.
• Trajectory-Aware Loss Function: .
o define trajectory loss function for finding most similarity trajectories:
o Final objective function:
14
EXPERIMENT AND RESULT
EXPERIMENT SETTINGs
• Measurement:
o top-k hitting ratio (HR@k): HR@1, HR@5, HR@10, HR@20,
and HR@50.
o overlap between there turned top-k results and the
ground truth
• Dataset – taxi trajectories network:
o Beijing and New York: GPS coordinates and timestamp.
• Baselines:
o Traj2vec[1], Siamese [2], NeuTraj [3], Traj2SimVec [4], and GTS[5].
[1] Yao, D., Zhang, C., Zhu, Z., Hu, Q., Wang, Z., Huang, J., & Bi, J. (2018). Learning deep representation for trajectory clustering. Expert Systems, 35(2), e12252.
[2] Pei, W., Tax, D. M., & van der Maaten, L. (2016). Modeling time series similarity with siamese recurrent networks. arXiv preprint arXiv:1603.04713.
[3] Yao, D., Cong, G., Zhang, C., & Bi, J. (2019, April). Computing trajectory similarity in linear time: A generic seed-guided neural metric learning approach. In 2019 IEEE 35th international conference on data engineering (ICDE) (pp. 1358-1369). IEEE.
[4] Zhang, H., Zhang, X., Jiang, Q., Zheng, B., Sun, Z., Sun, W., & Wang, C. (2020). Trajectory similarity learning with auxiliary supervision and optimal matching.
[5] Han, P., Wang, J., Yao, D., Shang, S., & Zhang, X. (2021, August). A graph-based approach for trajectory similarity computation in spatial networks. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining (pp. 556-564).
15
EXPERIMENT AND RESULT
RESULT – Overall Performance
16
EXPERIMENT AND RESULT
RESULT – Residual-LSTM Layers Experiment
17
CONCLUSION
• proposed a novel trajectory similarity computation framework named GRLSTM on
road networks.
o multi-relation of points on road networks and construct a point knowledge graph.
o utilize the knowledge graph embedding method to learn entity (point) and relation embeddings.
• Constructed the point fusion graph to integrate trajectory and road network:
o k-nearest selection.
• To capture topology and trajectory embedding at each time:
o multi-head GAT and Residual-LSTM.
• Design two new neighbor-based point-aware loss function from graph and trajectory-
based.
[20240614_LabSeminar_Huy]GRLSTM: Trajectory Similarity Computation with Graph-Based Residual LSTM.pptx
[20240614_LabSeminar_Huy]GRLSTM: Trajectory Similarity Computation with Graph-Based Residual LSTM.pptx

More Related Content

PPTX
[20240812_LabSeminar_Huy]Spatio-Temporal Fusion for Human Action Recognition ...
PPTX
[20240712_LabSeminar_Huy]Spatio-Temporal Neural Structural Causal Models for ...
PPTX
[20240703_LabSeminar_Huy]MakeGNNGreatAgain.pptx
PPTX
[20240617_LabSeminar_Huy]Long-term Spatio-Temporal Forecasting via Dynamic Mu...
PPTX
[20240805_LabSeminar_Huy]GPT-ST: Generative Pre-Training of Spatio-Temporal G...
PPTX
[20240520_LabSeminar_Huy]DSTAGNN: Dynamic Spatial-Temporal Aware Graph Neural...
PPTX
[20240902_LabSeminar_Huy]Dynamic Semantic-Based Spatial Graph Convolution Net...
PPTX
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...
[20240812_LabSeminar_Huy]Spatio-Temporal Fusion for Human Action Recognition ...
[20240712_LabSeminar_Huy]Spatio-Temporal Neural Structural Causal Models for ...
[20240703_LabSeminar_Huy]MakeGNNGreatAgain.pptx
[20240617_LabSeminar_Huy]Long-term Spatio-Temporal Forecasting via Dynamic Mu...
[20240805_LabSeminar_Huy]GPT-ST: Generative Pre-Training of Spatio-Temporal G...
[20240520_LabSeminar_Huy]DSTAGNN: Dynamic Spatial-Temporal Aware Graph Neural...
[20240902_LabSeminar_Huy]Dynamic Semantic-Based Spatial Graph Convolution Net...
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...

Similar to [20240614_LabSeminar_Huy]GRLSTM: Trajectory Similarity Computation with Graph-Based Residual LSTM.pptx (20)

PPTX
[20240710_LabSeminar_Huy]PDFormer: Propagation Delay-Aware Dynamic Long-Range...
PPTX
[20240527_LabSeminar_Huy]Meta-Graph.pptx
PPTX
[20240819_LabSeminar_Huy]Learning Decomposed Spatial Relations for Multi-Vari...
PPTX
[20240624_LabSeminar_Huy]Towards Dynamic Spatial-Temporal Graph Learning: A D...
PPTX
[20240628_LabSeminar_Huy]ScalableSTGNN.pptx
PPTX
[20240513_LabSeminar_Huy]GraphFewShort_Transfer.pptx
PPTX
[20240408_LabSeminar_Huy]PivotalSTGNN.pptx
PPTX
[20240415_LabSeminar_Huy]Deciphering Spatio-Temporal Graph Forecasting: A Cau...
PPTX
[20240923_LabSeminar_Huy]MSGNet: Learning Multi-Scale Inter-Series Correlatio...
PDF
J045055560
PPTX
[20240930_LabSeminar_Huy]GinAR: An End-To-End Multivariate Time Series Foreca...
PPTX
[20240621_LabSeminar_Huy]Spatial-Temporal Interplay in Human Mobility: A Hier...
PDF
Comparison of thresholding methods
PPTX
[20240729_LabSeminar_Huy]Spatio-Temporal Self-Supervised Learning for Traffic...
PDF
An improved graph drawing algorithm for email networks
PPTX
[20240318_LabSeminar_Huy]GSTNet: Global Spatial-Temporal Network for Traffic ...
PPTX
240520_Thanh_LabSeminar[G-MSM: Unsupervised Multi-Shape Matching with Graph-b...
PDF
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
PPTX
[20240825_LabSeminar_Huy]Self-Supervised Learning for Multilevel Skeleton-Bas...
PPTX
[20240325_LabSeminar_Huy]Spatial-Temporal Fusion Graph Neural Networks for Tr...
[20240710_LabSeminar_Huy]PDFormer: Propagation Delay-Aware Dynamic Long-Range...
[20240527_LabSeminar_Huy]Meta-Graph.pptx
[20240819_LabSeminar_Huy]Learning Decomposed Spatial Relations for Multi-Vari...
[20240624_LabSeminar_Huy]Towards Dynamic Spatial-Temporal Graph Learning: A D...
[20240628_LabSeminar_Huy]ScalableSTGNN.pptx
[20240513_LabSeminar_Huy]GraphFewShort_Transfer.pptx
[20240408_LabSeminar_Huy]PivotalSTGNN.pptx
[20240415_LabSeminar_Huy]Deciphering Spatio-Temporal Graph Forecasting: A Cau...
[20240923_LabSeminar_Huy]MSGNet: Learning Multi-Scale Inter-Series Correlatio...
J045055560
[20240930_LabSeminar_Huy]GinAR: An End-To-End Multivariate Time Series Foreca...
[20240621_LabSeminar_Huy]Spatial-Temporal Interplay in Human Mobility: A Hier...
Comparison of thresholding methods
[20240729_LabSeminar_Huy]Spatio-Temporal Self-Supervised Learning for Traffic...
An improved graph drawing algorithm for email networks
[20240318_LabSeminar_Huy]GSTNet: Global Spatial-Temporal Network for Traffic ...
240520_Thanh_LabSeminar[G-MSM: Unsupervised Multi-Shape Matching with Graph-b...
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
[20240825_LabSeminar_Huy]Self-Supervised Learning for Multilevel Skeleton-Bas...
[20240325_LabSeminar_Huy]Spatial-Temporal Fusion Graph Neural Networks for Tr...
Ad

More from thanhdowork (20)

PPTX
[NS][Lab_Seminar_250811]Imagine and Seek: Improving Composed Image Retrieval ...
PPTX
250811_HW_LabSeminar[Self-Supervised Graph Information Bottleneck for Multivi...
PPTX
250811_Thien_Labseminar[Cluster-GCN].pptx
PPTX
250811_Thuy_Labseminar[BioBRIDGE: BRIDGING BIOMEDICAL FOUNDATION MODELS VIA K...
PPTX
[NS][Lab_Seminar_250728]On the Trade-off between Over-smoothing and Over-squa...
PPTX
250804_HW_LabSeminar[Discrete Curvature Graph Information Bottleneck].pptx
PPTX
250728_Thuy_Labseminar[Knowledge Enhanced Representation Learning for Drug Di...
PPTX
250728_Thuy_Labseminar[Predictive Chemistry Augmented with Text Retrieval].pptx
PPTX
[NS][Lab_Seminar_250728]NeuralWalker.pptx
PPTX
A Novel Shape-Aware Topological Representation for GPR Data with DNN Integrat...
PPTX
250721_Thien_Labseminar[Variational Graph Auto-Encoders].pptx
PPTX
250721_HW_LabSeminar[RingFormer: A Ring-Enhanced Graph Transformer for Organi...
PPTX
250721_Thuy_Labseminar[Thought Propagation: An Analogical Approach to Complex...
PPTX
[NS][Lab_Seminar_250721]On Measuring Long-Range Interactions in Graph Neural ...
PPTX
250714_HW_LabSeminar[Structural Reasoning Improves Molecular Understanding of...
PPTX
[NS][Lab_Seminar_250714]Candidate Set Re-ranking for Composed Image Retrieval...
PPTX
250714_Thuy_Labseminar[BioT5: Enriching Cross-modal Integration in Biology wi...
PPTX
250707_HW_LabSeminar[CHEMICAL-REACTION-AWARE MOLECULE REPRESENTATION LEARNING...
PPTX
[NS][Lab_Seminar_250707]Learning with Noisy Triplet Correspondence for Compos...
PPTX
250707_JW_labseminar[CBAM: Convolutional Block Attention Module].pptx
[NS][Lab_Seminar_250811]Imagine and Seek: Improving Composed Image Retrieval ...
250811_HW_LabSeminar[Self-Supervised Graph Information Bottleneck for Multivi...
250811_Thien_Labseminar[Cluster-GCN].pptx
250811_Thuy_Labseminar[BioBRIDGE: BRIDGING BIOMEDICAL FOUNDATION MODELS VIA K...
[NS][Lab_Seminar_250728]On the Trade-off between Over-smoothing and Over-squa...
250804_HW_LabSeminar[Discrete Curvature Graph Information Bottleneck].pptx
250728_Thuy_Labseminar[Knowledge Enhanced Representation Learning for Drug Di...
250728_Thuy_Labseminar[Predictive Chemistry Augmented with Text Retrieval].pptx
[NS][Lab_Seminar_250728]NeuralWalker.pptx
A Novel Shape-Aware Topological Representation for GPR Data with DNN Integrat...
250721_Thien_Labseminar[Variational Graph Auto-Encoders].pptx
250721_HW_LabSeminar[RingFormer: A Ring-Enhanced Graph Transformer for Organi...
250721_Thuy_Labseminar[Thought Propagation: An Analogical Approach to Complex...
[NS][Lab_Seminar_250721]On Measuring Long-Range Interactions in Graph Neural ...
250714_HW_LabSeminar[Structural Reasoning Improves Molecular Understanding of...
[NS][Lab_Seminar_250714]Candidate Set Re-ranking for Composed Image Retrieval...
250714_Thuy_Labseminar[BioT5: Enriching Cross-modal Integration in Biology wi...
250707_HW_LabSeminar[CHEMICAL-REACTION-AWARE MOLECULE REPRESENTATION LEARNING...
[NS][Lab_Seminar_250707]Learning with Noisy Triplet Correspondence for Compos...
250707_JW_labseminar[CBAM: Convolutional Block Attention Module].pptx
Ad

Recently uploaded (20)

PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Computing-Curriculum for Schools in Ghana
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
01-Introduction-to-Information-Management.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Insiders guide to clinical Medicine.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Computing-Curriculum for Schools in Ghana
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Cell Types and Its function , kingdom of life
01-Introduction-to-Information-Management.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Sports Quiz easy sports quiz sports quiz
Insiders guide to clinical Medicine.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
GDM (1) (1).pptx small presentation for students
Final Presentation General Medicine 03-08-2024.pptx
Complications of Minimal Access Surgery at WLH
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial disease of the cardiovascular and lymphatic systems
Module 4: Burden of Disease Tutorial Slides S2 2025
human mycosis Human fungal infections are called human mycosis..pptx

[20240614_LabSeminar_Huy]GRLSTM: Trajectory Similarity Computation with Graph-Based Residual LSTM.pptx

  • 1. Quang-Huy Tran Network Science Lab Dept. of Artificial Intelligence The Catholic University of Korea E-mail: huytran1126@gmail.com 2024-06-14 GRLSTM: Trajectory Similarity Computation with Graph-Based Residual LSTM Silin Zhou et al. AAAI-2023: Proceedings of the Thirty-Seventh Conference on Artificial Intelligence
  • 2. 2 OUTLINE • MOTIVATION • INTRODUCTION • METHODOLOGY • EXPERIMENT & RESULT • CONCLUSION
  • 3. 3 MOTIVATION • With the ubiquitousness of GPS-enabled devices, massive trajectory data is being collected at an unprecedented rate. Overview • One of main way for trajectory similarity computation: o Each trajectory is encoded as a latent vector in Euclidean space with deep learning methods. • Trajectory similarity computation is an essential function in many real-world applications: o trajectory clustering, anomaly trajectory detection, route planning, transportation optimization, and trajectory matching.
  • 4. 4 MOTIVATION Overview: Limitation • No considering directly on the road network. • Existing work on applying GNN into road network only considered road network. o ignores the trajectory information during the graph processing. o Adjacent points in a trajectory are not necessarily adjacent on the road.
  • 5. 5 INTRODUCTION • Propose a novel trajectory similarity computation framework on road networks GRLSTM: o Modeling multi-relation of points with knowledge graph. o Introduce the residual network into multi-layer LSTM to learn trajectory embeddings • Design two new neighbor-based point-aware loss functions: o graph-based point loss and trajectory-based point loss.
  • 6. 6 METHODOLOGY Problem Definition • A road network graph 𝐺 = {𝑉, 𝐸} o Each node 𝑣 ∈ 𝑉 is a point featured with a geographic coordinate, representing an endpoint of a road segment or a road intersection. o Each edge e = 𝑢, 𝑣 ∈ 𝐸 represents a road segment connecting 2 nodes. • A trajectory set 𝑇 = {𝜏1, 𝜏2, … , 𝜏𝑚} o A length n trajectory 𝜏 = 𝑣1, 𝑣2, . . , 𝑣𝑛 in the road network graph 𝐺 consists of an ordered sequence of n point coordinates. • The trajectory similarity computation problem: o Find 𝜏𝑎, 𝜏𝑏 ∈ T, 𝑎 ≠ 𝑏 such that 𝜏𝑏 is most similar to 𝜏𝑎.
  • 7. 7 METHODOLOGY Main Architecture - LSTF • 3 main components: o Point knowledge graph embedding. o Fusion graph embedding. o Residual-LSTM.
  • 8. 8 METHODOLOGY Point knowledge Graph Embedding • Construct a road network trajectory knowledge graph 𝐺 = {𝑉, 𝐸, 𝑅}. o Relation types 𝑅: road network edge 𝑟𝑛, trajectory virtual edge 𝑟𝑡, dual edge 𝑟𝑛𝑡. o A triplet: 𝑢, 𝑟𝑛, 𝑣 • Apply TransH[1] to learn entity and relation embeddings. o Score function: [1] Wang, Z., Zhang, J., Feng, J., & Chen, Z. (2014, June). Knowledge graph embedding by translating on hyperplanes. In Proceedings of the AAAI conference on artificial intelligence (Vol. 28, No. 1).
  • 9. 9 METHODOLOGY Point knowledge Graph Embedding • To capture the correlation of points within different relations: o design entity-relation similarity function • Construct a point fusion graph by using k-nearest selection to obtain point 𝑣𝑖 neighbor set 𝑁𝑠(𝑣𝑖) o based on similarity to keep sparsity on graph and decrease noisy. • To show higher similarity for the closer distance, compute similarity between u and v. where 𝑒𝑢, 𝑒𝑣 denote the learned embeddings of point u and point v, respectively, 𝑒𝑟 is the learned relation embedding between u and v and ||. || represents L2-norm.
  • 10. 10 METHODOLOGY Graph Embedding on Point • To capture the topology in the fusion graph, apply Graph attention network (GAT)[1]. o points embedding 𝑃 = 𝑝1, 𝑝2, … , 𝑝|𝑉| || is represents concatenation, and 𝑁𝑖 is the neighbor set which can be obtained from G • Concatenate the output embeddings of multi-head GAT. [1] Velickovic, P., Cucurull, G., Casanova, A., Romero, A., Lio, P., & Bengio, Y. (2017). Graph attention networks. stat, 1050(20), 10-48550. where H is the number of the heads, || is the concatenationoperation, and σ is the activation function.
  • 11. 11 METHODOLOGY Multi-Layer LSTM with Residual Network • Inspired by ResNet[1], integrate ResNet into the multi-layer LSTM. o residual block at each time step i: [1] He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 770-778). • take the last timestep hidden output of LSTM as the final trajectory embeddings. ℱ(·) is the residual function, which stands for the learned residuals. ℋ(·) represents the identity connection: ℋ(𝑝𝑖 𝑙−1 ) = 𝑝𝑖 𝑙−1
  • 12. 12 METHODOLOGY Objective Functions • Embedding Similarity Measurement: after training, calculate similarity scores. o Trajectory embedding similarity score between 2 trajectories 𝜏𝑖, 𝜏𝑗: o Point embedding similarity score between 2 nodes points 𝑣𝑖, 𝑣𝑗: • Point-Aware Loss Function: define two neighbor-based point-aware loss functions – graph-based and trajectory-based. o Graph-based point neighbors: first-order neighbors 𝑁𝑔𝑝 on the fusion graph
  • 13. 13 METHODOLOGY Objective Functions • Trajectory-Based Point Neighbors: each point in trajectory has previous and next point. o denote trajectory-based point neighbors as 𝑁𝑡𝑝 and 𝑁𝑡𝑝 ∈ {1,2}. • Trajectory-Aware Loss Function: . o define trajectory loss function for finding most similarity trajectories: o Final objective function:
  • 14. 14 EXPERIMENT AND RESULT EXPERIMENT SETTINGs • Measurement: o top-k hitting ratio (HR@k): HR@1, HR@5, HR@10, HR@20, and HR@50. o overlap between there turned top-k results and the ground truth • Dataset – taxi trajectories network: o Beijing and New York: GPS coordinates and timestamp. • Baselines: o Traj2vec[1], Siamese [2], NeuTraj [3], Traj2SimVec [4], and GTS[5]. [1] Yao, D., Zhang, C., Zhu, Z., Hu, Q., Wang, Z., Huang, J., & Bi, J. (2018). Learning deep representation for trajectory clustering. Expert Systems, 35(2), e12252. [2] Pei, W., Tax, D. M., & van der Maaten, L. (2016). Modeling time series similarity with siamese recurrent networks. arXiv preprint arXiv:1603.04713. [3] Yao, D., Cong, G., Zhang, C., & Bi, J. (2019, April). Computing trajectory similarity in linear time: A generic seed-guided neural metric learning approach. In 2019 IEEE 35th international conference on data engineering (ICDE) (pp. 1358-1369). IEEE. [4] Zhang, H., Zhang, X., Jiang, Q., Zheng, B., Sun, Z., Sun, W., & Wang, C. (2020). Trajectory similarity learning with auxiliary supervision and optimal matching. [5] Han, P., Wang, J., Yao, D., Shang, S., & Zhang, X. (2021, August). A graph-based approach for trajectory similarity computation in spatial networks. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining (pp. 556-564).
  • 15. 15 EXPERIMENT AND RESULT RESULT – Overall Performance
  • 16. 16 EXPERIMENT AND RESULT RESULT – Residual-LSTM Layers Experiment
  • 17. 17 CONCLUSION • proposed a novel trajectory similarity computation framework named GRLSTM on road networks. o multi-relation of points on road networks and construct a point knowledge graph. o utilize the knowledge graph embedding method to learn entity (point) and relation embeddings. • Constructed the point fusion graph to integrate trajectory and road network: o k-nearest selection. • To capture topology and trajectory embedding at each time: o multi-head GAT and Residual-LSTM. • Design two new neighbor-based point-aware loss function from graph and trajectory- based.

Editor's Notes

  • #13: element-wise Hadamard product
  • #14: element-wise Hadamard product