Spatio-Temporal Top-k Similarity Search for Trajectories in Graphs

We study the problem of finding the $k$ most similar trajectories to a given query trajectory. Our work is inspired by the work of Grossi et al. [6] that considers trajectories as walks in a graph. Each visited vertex is accompanied by a time-interval. Grossi et al. define a similarity function that captures temporal and spatial aspects. We improve this similarity function to derive a new spatio-temporal distance function for which we can show that a specific type of triangle inequality is satisfied. This distance function is the basis for our index structures, which can be constructed efficiently, need only linear memory, and can quickly answer queries for the top-$k$ most similar trajectories. Our evaluation on real-world and synthetic data sets shows that our algorithms outperform the baselines with respect to indexing time by several orders of magnitude while achieving similar or better query time and quality of results.

[1]  Kai Zheng,et al.  Spatio-temporal top-k term search over sliding window , 2018, World Wide Web.

[2]  Kai Zheng,et al.  A survey of trajectory distance measures and performance evaluation , 2019, The VLDB Journal.

[3]  Yannis Manolopoulos,et al.  Trajectory Similarity Search in Spatial Networks , 2006, 2006 10th International Database Engineering and Applications Symposium (IDEAS'06).

[4]  Eleftherios Tiakas,et al.  Scalable Trajectory Similarity Search Based on Locations in Spatial Networks , 2015, MEDI.

[5]  Roberto Grossi,et al.  Finding Structurally and Temporally Similar Trajectories in Graphs , 2020, SEA.

[6]  Xing Xie,et al.  T-drive: driving directions based on taxi trajectories , 2010, GIS '10.

[7]  Panos Kalnis,et al.  Personalized trajectory matching in spatial networks , 2014, The VLDB Journal.

[8]  Heng Tao Shen,et al.  Searching trajectories by locations: an efficiency study , 2010, SIGMOD Conference.

[9]  Christos Faloutsos,et al.  Efficient Similarity Search In Sequence Databases , 1993, FODO.

[10]  Ki-Joune Li,et al.  Searching for Similar Trajectories on Road Networks Using Spatio-temporal Similarity , 2006, ADBIS.

[11]  Guangzhong Sun,et al.  Driving with knowledge from the physical world , 2011, KDD.

[12]  Lei Chen,et al.  Robust and fast similarity search for moving object trajectories , 2005, SIGMOD '05.

[13]  Piotr Indyk,et al.  Approximate nearest neighbor algorithms for Frechet distance via product metrics , 2002, SCG '02.

[14]  Guoyin Wang,et al.  Spatio-temporal Similarity Measure for Network Constrained Trajectory Data , 2011, Int. J. Comput. Intell. Syst..

[15]  Jure Leskovec,et al.  Learning to Discover Social Circles in Ego Networks , 2012, NIPS.

[16]  Panos Kalnis,et al.  Parallel trajectory similarity joins in spatial networks , 2018, The VLDB Journal.

[17]  Ioannis Psarros,et al.  Sublinear data structures for short Fréchet queries , 2019, ArXiv.