Computing Trajectory Similarity in Linear Time: A Generic Seed-Guided Neural Metric Learning Approach

被引:79
作者
Yao, Di [1 ,4 ]
Cong, Gao [2 ]
Zhang, Chao [3 ]
Bi, Jingping [1 ,4 ]
机构
[1] Chinese Acad Sci, Inst Comp Technol, Beijing, Peoples R China
[2] Nanyang Technol Univ, Sch Comp Sci & Engn, Singapore, Singapore
[3] Univ Illinois, Comp Sci Dept, Urbana, IL USA
[4] Univ Chinese Acad Sci, Beijing, Peoples R China
来源
2019 IEEE 35TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2019) | 2019年
基金
中国国家自然科学基金;
关键词
deep metric learning; trajectory similarity; linear time; DISTANCE;
D O I
10.1109/ICDE.2019.00123
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Trajectory similarity computation is a fundamental problem for various applications in trajectory data analysis. However, the high computation cost of existing trajectory similarity measures has become the key bottleneck for trajectory analysis at scale. While there have been many research efforts for reducing the complexity, they are specific to one similarity measure and often yield limited speedups. We propose NEUTRAJ to accelerate trajectory similarity computation. NEUTRAJ is generic to accommodate any existing trajectory measure and fast to compute the similarity of a given trajectory pair in linear lime. Furthermore, NEUTRAJ is elastic to collaborate with all spatial based trajectory indexing methods to reduce the search space. NEUTRAJ samples a number of seed trajectories from the given database, and then uses their pair-wise similarities as guidance to approximate the similarity function with a neural metric learning framework. NEUTRAJ features two novel modules to achieve accurate approximation of the similarity function: (1) a spatial attention memory module that augments existing recurrent neural networks for trajectory encoding; and (2) a distance-weighted ranking loss that effectively transcribes information from the seed-based guidance. With these two 'nodules, NEUTRAJ can yield high accuracies and fast convergence rates even if the training data is small. Our experiments on two real-life datasets show that NEUTRAJ achieves over SO% accuracy on Erechet, Hausdorff, ERN and DTW measures, which outperforms state-of-the-art baselines consistently and significantly. It obtains 50x 1000x speedup over bruteforce methods and 3x-500x speedup over existing approximate algorithms, while yielding more accurate approximations of the similarity functions.
引用
收藏
页码:1358 / 1369
页数:12
相关论文
共 33 条
  • [1] Agarwal PK, 2016, LEIBNIZ INT P INFORM, V6, P1, DOI 10.4230/LIPIcs.SoCG.2016.6
  • [2] COMPUTING THE FRECHET DISTANCE BETWEEN 2 POLYGONAL CURVES
    ALT, H
    GODAU, M
    [J]. INTERNATIONAL JOURNAL OF COMPUTATIONAL GEOMETRY & APPLICATIONS, 1995, 5 (1-2) : 75 - 91
  • [3] [Anonymous], 2015, ADV NEURAL INFORM PR
  • [4] [Anonymous], 2010, SIGMOD 10, DOI DOI 10.14796/JWMM.R236-16
  • [5] [Anonymous], 2005, 2005 ACM SIGMOD INT
  • [6] Clustering of Vehicle Trajectories
    Atev, Stefan
    Miller, Grant
    Papanikolopoulos, Nikolaos P.
    [J]. IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2010, 11 (03) : 647 - 657
  • [7] Backurs A., 2016, APPROX RANDOM 16
  • [8] Bromley J., 1993, International Journal of Pattern Recognition and Artificial Intelligence, V7, P669, DOI 10.1142/S0218001493000339
  • [9] Buchin K., 2017, SIGSPATIAL 17
  • [10] Cao Z., 2007, P 24 INT C MACH LEAR, P129, DOI [DOI 10.1145/1273496.1273513, 10.1145/1273496.1273513]