Towards Efficient Interactive Computation of Dynamic Time Warping Distance
Towards Efficient Interactive Computation of Dynamic Time Warping Distance
复制标题
动态时间扭曲距离的高效交互式计算
DOI:
10.1007/978-3-030-59212-7_3
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Masayuki Takeda
中科院分区:
文献类型:
--
作者:
Akihiro Nishi;Yuto Nakashima;Shunsuke Inenaga;Hideo Bannai;Masayuki Takeda
Thedynamic time warping(DTW) is a widely-used method that allows us to efficiently compare two time series that can vary in speed. Given two stringsAandBof respective lengthsmandn, there is a fundamental dynamic programming algorithm that computes the DTW distanceforAandBtogether with an optimal alignment intime and space. In this paper, we tackle the problem of interactive computation of the DTW distance for dynamic strings, denoted, where character-wise edit operation (insertion, deletion, substitution) can be performed at anarbitraryposition of the strings. LetMandNbe the sizes of therun-length encoding(RLE) ofAandB, respectively. We present an algorithm forthat occupiesspace and usestime to update a compact differential representationof the DP table per edit operation, wheredenotes the number of cells inwhose values change after the edit operation. Our method is at least as efficient as the algorithm recently proposed by Froese et al. running intime, and is faster whenis smaller thanwhich, as our preliminary experiments suggest, is likely to be the case in the majority of instances.