skip to main content
10.1145/3447548.3467337acmconferencesArticle/Chapter ViewAbstractPublication PageskddConference Proceedingsconference-collections
research-article
Open access

A Graph-based Approach for Trajectory Similarity Computation in Spatial Networks

Published: 14 August 2021 Publication History

Abstract

Trajectory similarity computation is an essential operation in many applications of spatial data analysis. In this paper, we study the problem of trajectory similarity computation over spatial network, where the real distances between objects are reflected by the network distance. Unlike previous studies which learn the representation of trajectories in Euclidean space, it requires to capture not only the sequence information of the trajectory but also the structure of spatial network. To this end, we propose GTS, a brand new framework that can jointly learn both factors so as to accurately compute the similarity. It first learns the representation of each point-of-interest (POI) in the road network along with the trajectory information. This is realized by incorporating the distances between POIs and trajectory in the random walk over the spatial network as well as the loss function. Then the trajectory representation is learned by a Graph Neural Network model to identify neighboring POIs within the same trajectory, together with an LSTM model to capture the sequence information in the trajectory. We conduct comprehensive evaluation on several real world datasets. The experimental results demonstrate that our model substantially outperforms all existing approaches.

References

[1]
S. Atev, G. Miller, and N. P. Papanikolopoulos. Clustering of vehicle trajectories. IEEE Trans. Intell. Transp. Syst., 11(3):647--657, 2010.
[2]
G. Atluri, A. Karpatne, and V. Kumar. Spatio-temporal data mining: A survey of problems and methods. ACM Comput. Surv., 51(4):83:1--83:41, 2018.
[3]
J. Bruna, W. Zaremba, A. Szlam, and Y. LeCun. Spectral networks and locally connected networks on graphs. In ICLR, 2014.
[4]
L. Chen and R. T. Ng. On the marriage of lp-norms and edit distance. In VLDB, pages 792--803, 2004.
[5]
L. Chen, M. T. �zsu, and V. Oria. Robust and fast similarity search for moving object trajectories. In SIGMOD, pages 491--502, 2005.
[6]
L. Chen, S. Shang, C. S. Jensen, B. Yao, and P. Kalnis. Parallel semantic trajectory similarity join. In ICDE, pages 997--1008, 2020.
[7]
Y. Chen, L. Wu, and M. J. Zaki. Reinforcement learning based graph-to-sequence model for natural question generation. In ICLR, 2020.
[8]
Z. Chen, H. T. Shen, X. Zhou, Y. Zheng, and X. Xie. Searching trajectories by locations: an efficiency study. In SIGMOD, pages 255--266, 2010.
[9]
S. Feng, G. Cong, B. An, and Y. M. Chee. Poi2vec: Geographical latent representation for predicting future visitors. In AAAI, pages 102--108, 2017.
[10]
A. Grover and J. Leskovec. node2vec: Scalable feature learning for networks. In ACM SIGKDD, pages 855--864, 2016.
[11]
W. L. Hamilton, Z. Ying, and J. Leskovec. Inductive representation learning on large graphs. In NIPS, pages 1024--1034, 2017.
[12]
P. Han, Z. Li, Y. Liu, P. Zhao, J. Li, H. Wang, and S. Shang. Contextualized point-of-interest recommendation. In IJCAI, pages 2484--2490, 2020.
[13]
P. Han, S. Shang, A. Sun, P. Zhao, K. Zheng, and P. Kalnis. AUC-MF: point of interest recommendation with AUC maximization. In ICDE, pages 1558--1561, 2019.
[14]
D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. In ICLR, 2015.
[15]
T. N. Kipf and M. Welling. Semi-supervised classification with graph convolutional networks. In ICLR, 2017.
[16]
J. Li, Y. Rong, H. Cheng, H. Meng, W. Huang, and J. Huang. Semi-supervised graph classification: A hierarchical graph perspective. In WWW, pages 972--982, 2019.
[17]
X. Li, G. Cong, and Y. Cheng. Spatial transition learning on road networks with deep probabilistic models. In ICDE, pages 349--360, 2020.
[18]
X. Li, K. Zhao, G. Cong, C. S. Jensen, and W. Wei. Deep representation learning for trajectory similarity computation. In ICDE, pages 617--628, 2018.
[19]
T. Mikolov, I. Sutskever, K. Chen, G. S. Corrado, and J. Dean. Distributed representations of words and phrases and their compositionality. In NIPS, pages 3111--3119, 2013.
[20]
W. Pei, D. M. J. Tax, and L. van der Maaten. Modeling time series similarity with siamese recurrent networks. CoRR, abs/1603.04713, 2016.
[21]
T. Rakthanmanon, B. J. L. Campana, A. Mueen, G. E. A. P. A. Batista, M. B. Westover, Q. Zhu, J. Zakaria, and E. J. Keogh. Searching and mining trillions of time series subsequences under dynamic time warping. In ACM SIGKDD, pages 262--270, 2012.
[22]
S. Shang, L. Chen, C. S. Jensen, J. Wen, and P. Kalnis. Searching trajectories by regions of interest. IEEE Trans. Knowl. Data Eng., 29(7):1549--1562, 2017.
[23]
S. Shang, L. Chen, Z. Wei, C. S. Jensen, K. Zheng, and P. Kalnis. Trajectory similarity join in spatial networks. PVLDB, 10(11):1178--1189, 2017.
[24]
S. Shang, L. Chen, K. Zheng, C. S. Jensen, Z. Wei, and P. Kalnis. Parallel trajectory-to-location join. IEEE Trans. Knowl. Data Eng., 31(6):1194--1207, 2019.
[25]
R. Song, W. Sun, B. Zheng, and Y. Zheng. PRESS: A novel framework of trajectory compression in road networks. PVLDB, 7(9):661--672, 2014.
[26]
J. Tang and K. Wang. Personalized top-n sequential recommendation via convolutional sequence embedding. In WSDM, pages 565--573, 2018.
[27]
P. Velickovic, G. Cucurull, A. Casanova, A. Romero, P. Li�, and Y. Bengio. Graph attention networks. In ICLR, 2018.
[28]
M. Vlachos, D. Gunopulos, and G. Kollios. Discovering similar multidimensional trajectories. In ICDE, pages 673--684, 2002.
[29]
S. Wang, Z. Bao, J. S. Culpepper, Z. Xie, Q. Liu, and X. Qin. Torch: A search engine for trajectory data. In SIGIR, pages 535--544, 2018.
[30]
J.-I. Won, S.-W. Kim, J.-H. Baek, and J. Lee. Trajectory clustering in road network environment. In IEEE Symposium on Computational Intelligence and Data Mining, pages 299--305, 2009.
[31]
D. Yao, G. Cong, C. Zhang, and J. Bi. Computing trajectory similarity in linear time: A generic seed-guided neural metric learning approach. In ICDE, pages 1358--1369, 2019.
[32]
D. Yao, G. Cong, C. Zhang, X. Meng, R. Duan, and J. Bi. A linear time approach to computing time series similarity based on deep metric learning. IEEE Transactions on Knowledge and Data Engineering, 2020.
[33]
D. Yao, C. Zhang, Z. Zhu, Q. Hu, Z. Wang, J. Huang, and J. Bi. Learning deep representation for trajectory clustering. Expert Syst. J. Knowl. Eng., 35(2), 2018.
[34]
B. Yi, H. V. Jagadish, and C. Faloutsos. Efficient retrieval of similar time sequences under time warping. In ICDE, pages 201--208, 1998.
[35]
H. Zhang, X. Zhang, Q. Jiang, B. Zheng, Z. Sun, W. Sun, and C. Wang. Trajectory similarity learning with auxiliary supervision and optimal matching. In IJCAI, pages 3209--3215, 2020.
[36]
K. Zhao, Y. Zhang, H. Yin, J. Wang, K. Zheng, X. Zhou, and C. Xing. Discovering subsequence patterns for next POI recommendation. In IJCAI, pages 3216--3222, 2020.
[37]
K. Zheng, Y. Zheng, X. Xie, and X. Zhou. Reducing uncertainty of low-sampling-rate trajectories. In ICDE, pages 1144--1155, 2012.
[38]
Y. Zheng, X. Xie, and W. Ma. Geolife: A collaborative social networking service among user, location and trajectory. IEEE Data Eng. Bull., 33(2):32--39, 2010.

Cited By

View all
  • (2025)Deep learning for cross-domain data fusion in urban computing: Taxonomy, advances, and outlookInformation Fusion10.1016/j.inffus.2024.102606113(102606)Online publication date: Jan-2025
  • (2024)Optimizing Spatial Weight Matrices in Spatial Econometrics: A Graph-Theoretic Approach Based on Shortest Path AlgorithmsInternational Review for Spatial Planning and Sustainable Development10.14246/irspsd.12.2_18112:2(181-200)Online publication date: 15-Apr-2024
  • (2024)Package Arrival Time Prediction via Knowledge Distillation Graph Neural NetworkACM Transactions on Knowledge Discovery from Data10.1145/364303318:5(1-19)Online publication date: 28-Feb-2024
  • Show More Cited By

Index Terms

  1. A Graph-based Approach for Trajectory Similarity Computation in Spatial Networks

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    KDD '21: Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining
    August 2021
    4259 pages
    ISBN:9781450383325
    DOI:10.1145/3447548
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 14 August 2021

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. graph neural networks
    2. spatial network
    3. trajectory similarity

    Qualifiers

    • Research-article

    Funding Sources

    Conference

    KDD '21
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 1,133 of 8,635 submissions, 13%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)889
    • Downloads (Last 6 weeks)110
    Reflects downloads up to 16 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2025)Deep learning for cross-domain data fusion in urban computing: Taxonomy, advances, and outlookInformation Fusion10.1016/j.inffus.2024.102606113(102606)Online publication date: Jan-2025
    • (2024)Optimizing Spatial Weight Matrices in Spatial Econometrics: A Graph-Theoretic Approach Based on Shortest Path AlgorithmsInternational Review for Spatial Planning and Sustainable Development10.14246/irspsd.12.2_18112:2(181-200)Online publication date: 15-Apr-2024
    • (2024)Package Arrival Time Prediction via Knowledge Distillation Graph Neural NetworkACM Transactions on Knowledge Discovery from Data10.1145/364303318:5(1-19)Online publication date: 28-Feb-2024
    • (2024)Cross-Task Multimodal Reinforcement for Long Tail Next POI RecommendationIEEE Transactions on Multimedia10.1109/TMM.2023.329072326(1996-2005)Online publication date: 1-Jan-2024
    • (2024)Learning Co-occurrence Patterns for Next Destination RecommendationIEEE Transactions on Mobile Computing10.1109/TMC.2023.333394423:6(7225-7237)Online publication date: Jun-2024
    • (2024)Spatio-Temporal Trajectory Similarity Measures: A Comprehensive Survey and Quantitative StudyIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2023.332353536:5(2191-2212)Online publication date: May-2024
    • (2024)KGNext: Knowledge-Graph-Enhanced Transformer for Next POI Recommendation With Uncertain Check-InsIEEE Transactions on Computational Social Systems10.1109/TCSS.2024.339650611:5(6637-6648)Online publication date: Oct-2024
    • (2024)CLEAR: Ranked Multi-Positive Contrastive Representation Learning for Robust Trajectory Similarity Computation2024 25th IEEE International Conference on Mobile Data Management (MDM)10.1109/MDM61037.2024.00024(21-30)Online publication date: 24-Jun-2024
    • (2024)G2Vec: Spatial-Temporal Trajectory Generation Network based on Multi-Resolution Feature Correlation2024 International Joint Conference on Neural Networks (IJCNN)10.1109/IJCNN60899.2024.10650806(1-6)Online publication date: 30-Jun-2024
    • (2024)InterCoop: Spatio-Temporal Interaction Aware Cooperative Perception for Networked Vehicles2024 IEEE International Conference on Robotics and Automation (ICRA)10.1109/ICRA57147.2024.10610188(14443-14449)Online publication date: 13-May-2024
    • Show More Cited By

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media