A Simple Efficient Approximation Algorithm for Dynamic Time Warping

被引:7
|
作者
Ying, Rex [1 ]
Pan, Jiangwei [2 ]
Fox, Kyle [2 ]
Agarwal, Pankaj K. [2 ]
机构
[1] Stanford Univ, Stanford, CA 94305 USA
[2] Duke Univ, Durham, NC 27706 USA
来源
24TH ACM SIGSPATIAL INTERNATIONAL CONFERENCE ON ADVANCES IN GEOGRAPHIC INFORMATION SYSTEMS (ACM SIGSPATIAL GIS 2016) | 2016年
关键词
Curve matching; dynamic time warping; approximation algorithm; trajectory analysis; SETS;
D O I
10.1145/2996913.2996954
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Dynamic time warping (DTW) is a widely used curve similarity measure. We present a simple and efficient (1 + is an element of)approximation algorithm for DTW between a pair of point sequences, say, P and Q, each of which is sampled from a curve. We prove that the running time of the algorithm is O (k(2) /is an element of n log sigma) for a pair of k-packed curves with a total of n points, assuming that the spreads of P and Q are bounded by sigma. The spread of a point set is the ratio of the maximum to the minimum pairwise distance, and a curve is called k-packed if the length of its intersection with any disk of radius r is at most kr. Although an algorithm with similar asymptotic time complexity was presented in [1], our algorithm is considerably simpler and more e ffi cient in practice. We have implemented our algorithm. Our experiments on both synthetic and real_world data sets show that it is an order of magnitude faster than the standard exact DP algorithm on point sequences of length 5,000 or more while keeping the approximation error within 5-10%. We demonstrate the e ffi cacy of our algorithm by using it in two applications | computing the k most similar trajectories to a query trajectory, and running the iterative closest point method for a pair of trajectories. We show that we can achieve 8-12 times speedup using our algorithm as a subroutine in these applications, without compromising much in accuracy.
引用
收藏
页数:10
相关论文
共 50 条
  • [41] A Dynamic Time Warping Algorithm Based Analysis of Pedestrian Shockwaves at Bottleneck
    Sun, Lishan
    Gong, Qingsheng
    Yao, Liya
    Luo, Wei
    Zhang, Tianqi
    JOURNAL OF ADVANCED TRANSPORTATION, 2018,
  • [42] Pattern Matching Trading System Based on the Dynamic Time Warping Algorithm
    Kim, Sang Hyuk
    Lee, Hee Soo
    Ko, Han Jun
    Jeong, Seung Hwan
    Byun, Hyun Woo
    Oh, Kyong Joo
    SUSTAINABILITY, 2018, 10 (12)
  • [43] A Vehicle Speed Estimation Algorithm Based on Dynamic Time Warping Approach
    Zhang, Zusheng
    Zhao, Tiezhu
    Ao, Xin
    Yuan, Huaqiang
    IEEE SENSORS JOURNAL, 2017, 17 (08) : 2456 - 2463
  • [44] An approximation algorithm for two-dimensional warping
    Uchida, S
    Sakoe, H
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2000, E83D (01): : 109 - 111
  • [45] Automatic seismic event tracking using a dynamic time warping algorithm
    Jin, Song
    Chen, ShuangQuan
    Wei, Jianxin
    Li, Xiang-Yang
    JOURNAL OF GEOPHYSICS AND ENGINEERING, 2017, 14 (05) : 1138 - 1149
  • [46] A Dynamic Hand Gesture Recognition Model Based on the Improved Dynamic Time Warping Algorithm
    Li, Yi
    Feng, Xuan
    Xu, Yuanping
    Dong, Xude
    Xu, Zhijie
    Huang, Jian
    Lu, Li
    2019 25TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATION AND COMPUTING (ICAC), 2019, : 141 - 146
  • [47] Wave Dynamic Time Warping algorithm for periodic signal similarity estimation
    Slivko, Evgenia
    Mauro, Gianfranco
    Bierzynski, Kay
    Servadei, Lorenzo
    Wille, Robert
    2024 IEEE SENSORS, 2024,
  • [48] A LEVEL BUILDING DYNAMIC TIME WARPING ALGORITHM FOR CONNECTED WORD RECOGNITION
    MYERS, CS
    RABINER, LR
    IEEE TRANSACTIONS ON ACOUSTICS SPEECH AND SIGNAL PROCESSING, 1981, 29 (02): : 284 - 297
  • [49] Online Dynamic Time Warping Algorithm for Human-Robot Imitation
    Taghavi, Nazita
    Berdichevsky, Jacob
    Balakrishnan, Namrata
    Welch, Karla C.
    Das, Sumit Kumar
    Popa, Dan O.
    2021 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA 2021), 2021, : 3843 - 3849
  • [50] Similarity Measurement of Biological Signals Using Dynamic Time Warping Algorithm
    Luzianin, Ivan
    Krause, Bernd
    PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON APPLIED INNOVATIONS IN IT (ICAIIT), 2016, 4 : 65 - 71