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 条
  • [11] Dynamic Time Warping Algorithm: A Hardware Realization in VHDL
    Tai, James Shueyen
    Li, Kin Fun
    Elmiligi, Haytham
    2013 INTERNATIONAL CONFERENCE ON IT CONVERGENCE AND SECURITY (ICITCS), 2013,
  • [12] Efficient Time Series Clustering by Minimizing Dynamic Time Warping Utilization
    Cai, Borui
    Huang, Guangyan
    Samadiani, Najmeh
    Li, Guanghui
    Chi, Chi-Hung
    IEEE ACCESS, 2021, 9 : 46589 - 46599
  • [13] Accurate and fast Dynamic Time Warping approximation using upper bounds
    Ben Ali, Bilel
    Masmoudi, Youssef
    Dhouib, Souhail
    2015 38TH INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS AND SIGNAL PROCESSING (TSP), 2015,
  • [14] DYNAMIC FREQUENCY WARPING, THE DUAL OF DYNAMIC TIME WARPING
    NEUBURG, EP
    JOURNAL OF THE ACOUSTICAL SOCIETY OF AMERICA, 1987, 81 : S94 - S94
  • [15] Dynamic Dynamic Time Warping
    Bringmann, Karl
    Fischer, Nick
    van der Hoog, Ivor
    Kipouridis, Evangelos
    Kociumaka, Tomasz
    Rotenberg, Eva
    PROCEEDINGS OF THE 2024 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2024, : 208 - 242
  • [16] Optimization of Dynamic Time Warping Algorithm for Abnormal Signal Detection
    Teng, Yuru
    Wang, Guotao
    He, Cailing
    Wu, Yaoyang
    Li, Chaoran
    INTERNATIONAL JOURNAL OF DATA SCIENCE AND ANALYTICS, 2025, 19 (01) : 115 - 127
  • [17] Tennis Assistance Technology Based on Dynamic Time Warping Algorithm
    Wang, Penggang
    Zhang, Pengpeng
    Fan, Guanxi
    IEEE ACCESS, 2025, 13 : 11170 - 11184
  • [18] ERP latency contrasts using Dynamic Time Warping algorithm
    A Zoumpoulaki
    A Alsufyani
    M Filetti
    M Brammer
    H Bowman
    BMC Neuroscience, 14 (Suppl 1)
  • [19] Improvement and Application of Hale's Dynamic Time Warping Algorithm
    Wang, Hairong
    Zheng, Qiufang
    SYMMETRY-BASEL, 2024, 16 (06):
  • [20] Simple linear time approximation algorithm for betweenness
    Makarychev, Yury
    OPERATIONS RESEARCH LETTERS, 2012, 40 (06) : 450 - 452