加速 MSM 时间序列距离计算的精确方法与启发式方法
Exact and Heuristic Approaches to Speeding Up the MSM Time Series Distance Computation
AI总结:
本文针对 MSM 时间序列距离计算的 Ω(n²) 开销,提出上下界剪枝、常量序列线性算法及多种线性启发式方法,在多数 UCR 数据集上超过现有 MSM 与先进 DTW 实现。
摘要:
对于任何考虑错位的弹性距离函数而言,两条时间序列的距离计算都非常耗时。在这些函数中,DTW 最为著名。然而,近期一项广泛评估表明,在 1-NN 分类器的分析准确率方面,move-split-merge(MSM)度量优于 DTW。遗憾的是,用于 MSM 距离计算的标准动态规划算法运行时间为 Ω(n²),其中 n 是较长时间序列的长度。本文提出通过使用下界和上界,对底层动态规划表中的路径进行提前剪枝,从而降低 MSM 距离计算成本的方法。对于其中一条时间序列为常量的情况,我们提出一种线性时间算法。此外,我们提出新的线性时间启发式方法,并将 DTW 中已知的启发式方法改造用于计算 MSM 距离。其中一种启发式方法利用了 MSM 的度量性质以及此前提出的线性时间算法。实验研究表明,与以往 MSM 算法相比,我们的方法实现了显著加速。特别是,在大多数常用 UCR 数据集上,MSM 的运行时间快于最先进的 DTW 距离计算。
英文摘要:
The computation of the distance of two time series is time-consuming for any elastic distance function that accounts for misalignments. Among those functions, DTW is the most prominent. However, a recent extensive evaluation has shown that the move-split merge (MSM) metric is superior to DTW regarding the analytical accuracy of the 1-NN classifier. Unfortunately, the running time of the standard dynamic programming algorithm for MSM distance computation is $Ω(n^2)$, where $n$ is the length of the longest time series. In this paper, we provide approaches to reducing the cost of MSM distance computations by using lower and upper bounds for early pruning paths in the underlying dynamic programming table. For the case of one time series being a constant, we present a linear-time algorithm. In addition, we propose new linear-time heuristics and adapt heuristics known from DTW to computing the MSM distance. One heuristic employs the metric property of MSM and the previously introduced linear-time algorithm. Our experimental studies demonstrate substantial speed-ups in our approaches compared to previous MSM algorithms. In particular, the running time for MSM is faster than a state-of-the-art DTW distance computation for a majority of the popular UCR data sets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。