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 条
[41]   Intertemporal Similarity of Economic Time Series: An Application of Dynamic Time Warping [J].
Franses, Philip Hans ;
Wiemann, Thomas .
COMPUTATIONAL ECONOMICS, 2020, 56 (01) :59-75
[42]   Revisiting inaccuracies of time series averaging under dynamic time warping [J].
Jain, Brijnesh .
PATTERN RECOGNITION LETTERS, 2019, 125 :418-424
[43]   Multivariate time series classification with parametric derivative dynamic time warping [J].
Gorecki, Tomasz ;
Luczak, Maciej .
EXPERT SYSTEMS WITH APPLICATIONS, 2015, 42 (05) :2305-2312
[44]   Efficient Time Series Clustering by Minimizing Dynamic Time Warping Utilization [J].
Cai, Borui ;
Huang, Guangyan ;
Samadiani, Najmeh ;
Li, Guanghui ;
Chi, Chi-Hung .
IEEE ACCESS, 2021, 9 :46589-46599
[45]   Subsequence Join in Streaming Time Series under Dynamic Time Warping [J].
Giao, Bui Cong ;
Anh, Duong Tuan .
VIETNAM JOURNAL OF COMPUTER SCIENCE, 2024, 11 (02) :241-274
[46]   Method of Time Series Similarity Measurement Based on Dynamic Time Warping [J].
Liu, Lianggui ;
Li, Wei ;
Jia, Huiling .
CMC-COMPUTERS MATERIALS & CONTINUA, 2018, 57 (01) :97-106
[47]   Clone Detection Using Time Series and Dynamic Time Warping Techniques [J].
Abdelkader, Mostefai ;
mimoun, Malki .
PROCEEDINGS OF 2015 THIRD IEEE WORLD CONFERENCE ON COMPLEX SYSTEMS (WCCS), 2015,
[48]   MODIS NDVI time series clustering under dynamic time warping [J].
Zhang, Zheng ;
Tang, Ping ;
Huo, Lianzhi ;
Zhou, Zengguang .
INTERNATIONAL JOURNAL OF WAVELETS MULTIRESOLUTION AND INFORMATION PROCESSING, 2014, 12 (05)
[49]   Averaging Methods using Dynamic Time Warping for Time Series Classification [J].
Datta, Shreyasi ;
Karmakar, Chandan K. ;
Palaniswami, Marimuthu .
2020 IEEE SYMPOSIUM SERIES ON COMPUTATIONAL INTELLIGENCE (SSCI), 2020, :2794-2798
[50]   Comparing and combining time series trajectories using Dynamic Time Warping [J].
Vaughan, Neil ;
Gabrys, Bogdan .
KNOWLEDGE-BASED AND INTELLIGENT INFORMATION & ENGINEERING SYSTEMS: PROCEEDINGS OF THE 20TH INTERNATIONAL CONFERENCE KES-2016, 2016, 96 :474-483