Speeding up dynamic time warping distance for sparse time series data

被引:0
作者
Abdullah Mueen
Nikan Chavoshi
Noor Abu-El-Rub
Hossein Hamooni
Amanda Minnich
Jonathan MacCarthy
机构
[1] University of New Mexico,Department of Computer Science
[2] Los Alamos National Laboratory,undefined
来源
Knowledge and Information Systems | 2018年 / 54卷
关键词
Sparse time series; Dynamic time warping; Run-length encoding;
D O I
暂无
中图分类号
学科分类号
摘要
Dynamic time warping (DTW) distance has been effectively used in mining time series data in a multitude of domains. However, in its original formulation DTW is extremely inefficient in comparing long sparse time series, containing mostly zeros and some unevenly spaced nonzero observations. Original DTW distance does not take advantage of this sparsity, leading to redundant calculations and a prohibitively large computational cost for long time series. We derive a new time warping similarity measure (AWarp) for sparse time series that works on the run-length encoded representation of sparse time series. The complexity of AWarp is quadratic on the number of observations as opposed to the range of time of the time series. Therefore, AWarp can be several orders of magnitude faster than DTW on sparse time series. AWarp is exact for binary-valued time series and a close approximation of the original DTW distance for any-valued series. We discuss useful variants of AWarp: bounded (both upper and lower), constrained, and multidimensional. We show applications of AWarp to three data mining tasks including clustering, classification, and outlier detection, which are otherwise not feasible using classic DTW, while producing equivalent results. Potential areas of application include bot detection, human activity classification, search trend analysis, seismic analysis, and unusual review pattern mining.
引用
收藏
页码:237 / 263
页数:26
相关论文
共 50 条
  • [21] Flexible Dynamic Time Warping for Time Series Classification
    Hsu, Che-Jui
    Huang, Kuo-Si
    Yang, Chang-Biau
    Guo, Yi-Pu
    [J]. INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, ICCS 2015 COMPUTATIONAL SCIENCE AT THE GATES OF NATURE, 2015, 51 : 2838 - 2842
  • [22] Segmentation of Time Series in Improving Dynamic Time Warping
    Ma, Ruizhe
    Ahmadzadeh, Azim
    Boubrahimi, Soukaina Filali
    Angryk, Rafal A.
    [J]. 2018 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2018, : 3756 - 3761
  • [23] Weighted dynamic time warping for time series classification
    Jeong, Young-Seon
    Jeong, Myong K.
    Omitaomu, Olufemi A.
    [J]. PATTERN RECOGNITION, 2011, 44 (09) : 2231 - 2240
  • [24] Making the dynamic time warping distance warping-invariant
    Jain, Brijnesh J.
    [J]. PATTERN RECOGNITION, 2019, 94 : 35 - 52
  • [25] Dynamic time warping based on cubic spline interpolation for time series data mining
    Li, Hailin
    Wan, Xiaoji
    Liang, Ye
    Gao, Shile
    [J]. 2014 IEEE INTERNATIONAL CONFERENCE ON DATA MINING WORKSHOP (ICDMW), 2014, : 19 - 26
  • [26] Inaccuracies of shape averaging method using dynamic time warping for time series data
    Niennattrakul, Vit
    Ratanamahatana, Chotirat Ann
    [J]. COMPUTATIONAL SCIENCE - ICCS 2007, PT 1, PROCEEDINGS, 2007, 4487 : 513 - +
  • [27] Combining raw and normalized data in multivariate time series classification with dynamic time warping
    Luczak, Maciej
    [J]. JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2018, 34 (01) : 373 - 380
  • [28] Enhanced Weighted Dynamic Time Warping for Time Series Classification
    Anantasech, Pichamon
    Ratanamahatana, Chotirat Ann
    [J]. THIRD INTERNATIONAL CONGRESS ON INFORMATION AND COMMUNICATION TECHNOLOGY, 2019, 797 : 655 - 664
  • [29] On-Line Dynamic Time Warping for Streaming Time Series
    Oregi, Izaskun
    Perez, Aritz
    Del Ser, Javier
    Lozano, Jose A.
    [J]. MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES, ECML PKDD 2017, PT II, 2017, 10535 : 591 - 605
  • [30] Correlation based dynamic time warping of multivariate time series
    Banko, Zoltan
    Abonyi, Janos
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2012, 39 (17) : 12814 - 12823