The similarity between a pair of time series, i.e., sequences of indexed values in time order, is often estimated by the dynamic time warping (DTW) distance, instead of any in the well-studied family of measures including the longest common subsequence (LCS) length and the edit distance. Although it may seem as if the DTW and the LCS(-like) measures are essentially different, we reveal that the DTW distance can be represented by the longest increasing subsequence (LIS) length of a sequence of integers, which is the LCS length between the integer sequence and itself sorted. For a given pair of time series of length $n$ such that the dissimilarity between any elements is an integer between zero and $c$, we propose an integer sequence that represents any substring-substring DTW distance as its band-substring LIS length. The length of the produced integer sequence is $O(c n^2)$, which can be translated to $O(n^2)$ for constant dissimilarity functions. To demonstrate that techniques developed under the LCS(-like) measures are directly applicable to analysis of time series via our reduction of DTW to LIS, we present time-efficient algorithms for DTW-related problems utilizing the semi-local sequence comparison technique developed for LCS-related problems.
翻译:一对时间序列之间的相似性,即按时间顺序指数值的序列,往往以动态时间扭曲距离(DTW)来估计,而不是任何经过仔细研究的一组措施,包括最长的常见子序列长度(LCS)和编辑距离。虽然DTW和LCS(类似)措施似乎基本不同,但我们发现,DTW的距离可以代表一个整数序列中最长增加的后继序列(LIS)长度,即整数序列和本身排序之间的LCS长度。对于一个长度为1美元的时间序列,例如任何元素之间的偏差在0美元和美元之间的整数,我们建议一个整数序列,它代表DTW距离作为其带子子子参数长度的长度。产生的整数序列的长度是$O(cn2),它可以被翻译成$O(n2),用于持续不相近的函数。对于一个特定的时间序列,对于任何元素之间的不相近序列,我们通过LCS-DFS(L-DGS)的比价技术,我们通过与LCS-DFS相关的时间序列直接应用的减少技术,我们为LCS-DF-DG-DG-L-LS的比法的比对LS-L-L-LS-LS-L-L-L-L-L-L-L-R-LS-CS-S-S-S-S-S-S-S-S-S-S-L-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-SL-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-