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 条
  • [1] A simple approximation for dynamic time warping search in large time series database
    Gu, Jie
    Jin, Xiaomin
    INTELLIGENT DATA ENGINEERING AND AUTOMATED LEARNING - IDEAL 2006, PROCEEDINGS, 2006, 4224 : 841 - 848
  • [2] Twadn: an efficient alignment algorithm based on time warping for pairwise dynamic networks
    Zhong, Yuanke
    Li, Jing
    He, Junhao
    Gao, Yiqun
    Liu, Jie
    Wang, Jingru
    Shang, Xuequn
    Hu, Jialu
    BMC BIOINFORMATICS, 2020, 21 (Suppl 13)
  • [3] Twadn: an efficient alignment algorithm based on time warping for pairwise dynamic networks
    Yuanke Zhong
    Jing Li
    Junhao He
    Yiqun Gao
    Jie Liu
    Jingru Wang
    Xuequn Shang
    Jialu Hu
    BMC Bioinformatics, 21
  • [4] Improvement of Dynamic Time Warping (DTW) Algorithm
    Lou, Yuansheng
    Ao, Huanhuan
    Dong, Yuchao
    14TH INTERNATIONAL SYMPOSIUM ON DISTRIBUTED COMPUTING AND APPLICATIONS FOR BUSINESS, ENGINEERING AND SCIENCE (DCABES 2015), 2015, : 384 - 387
  • [5] Efficient Dynamic Time Warping by Adaptively Controlling the Valid Warping Range
    Seok-Woo Jang
    Gye-Young Kim
    Young-Jae Park
    Hyung-Il Choi
    Journal of Measurement Science and Instrumentation, 2010, 1(S1) (S1) : 168 - 172
  • [6] Quantized Dynamic Time Warping (DTW) algorithm
    Zaharia, Tiberius
    Segarceanu, Svetlana
    Cotescu, Marius
    Spataru, Alexandru
    PROCEEDINGS OF THE 2010 8TH INTERNATIONAL CONFERENCE ON COMMUNICATIONS (COMM), 2010, : 91 - 94
  • [7] A multidimensional dynamic time warping algorithm for efficient multimodal fusion of asynchronous data streams
    Woellmer, Martin
    Al-Hames, Marc
    Eyben, Florian
    Schuller, Bjoern
    Rigoll, Gerhard
    NEUROCOMPUTING, 2009, 73 (1-3) : 366 - 380
  • [8] Upper bounds for time and accuracy improvement of dynamic time warping approximation
    Ben Ali, Bilel
    Masmoudi, Youssef
    Dhouib, Souhail
    INTERNATIONAL JOURNAL OF DATA MINING MODELLING AND MANAGEMENT, 2016, 8 (02) : 107 - 123
  • [9] Efficient Dynamic Time Warping for Big Data Streams
    Martins, Rafael M.
    Kerren, Andreas
    2018 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2018, : 2924 - 2929
  • [10] Supervision of bioprocesses using a dynamic time warping algorithm
    Gollmer, K
    Posten, C
    CONTROL ENGINEERING PRACTICE, 1996, 4 (09) : 1287 - 1295