[论文解读] Parameterizing the cost function of Dynamic Time Warping with application to time series classification
该论文提出了一种可调节的动态时间规整(DTW)代价函数,通过在 λγ(a,b) = |a−b|γ 中引入指数 γ,实现对时间序列中较小差异与较大差异的动态加权。通过针对每项任务优化 γ,DTW+ 和 ADTW+ 在 UCR 基准数据集上的分类准确率显著优于标准 DTW 和当前最先进模型,PF+ 在六个任务上达到新的 SOTA 性能。
Dynamic Time Warping (DTW) is a popular time series distance measure that aligns the points in two series with one another. These alignments support warping of the time dimension to allow for processes that unfold at differing rates. The distance is the minimum sum of costs of the resulting alignments over any allowable warping of the time dimension. The cost of an alignment of two points is a function of the difference in the values of those points. The original cost function was the absolute value of this difference. Other cost functions have been proposed. A popular alternative is the square of the difference. However, to our knowledge, this is the first investigation of both the relative impacts of using different cost functions and the potential to tune cost functions to different tasks. We do so in this paper by using a tunable cost function λγ with parameter γ. We show that higher values of γ place greater weight on larger pairwise differences, while lower values place greater weight on smaller pairwise differences. We demonstrate that training γ significantly improves the accuracy of both the DTW nearest neighbor and Proximity Forest classifiers.
研究动机与目标
- 研究不同代价函数对基于 DTW 的时间序列分类准确率的影响。
- 解决尽管已知代价函数对对齐结果有显著影响,但在实践中缺乏系统性调优的问题。
- 提出一种参数化代价函数族,实现对小差异或大差异敏感度的任务特定优化。
- 在最近邻分类器和集成分类器(尤其是 Proximity Forest)中评估所提方法的有效性。
- 证明代价函数调优可提升对噪声的鲁棒性,并改善真实时间序列任务中的性能。
提出的方法
- 提出一族代价函数 λγ(a,b) = |a−b|γ,其中 γ 控制小差异与大差异的相对权重。
- 引入两种新距离度量:DTW+(在标准 DTW 中使用 λγ)和 ADTW+(在带状加速 DTW 中使用 λγ)。
- 通过 γ 值的网格搜索(例如 0.5、1、2、5)在训练过程中为每个数据集寻找最优指数。
- 将调优后的 γ 应用于基于 DTW 的最近邻分类和 Proximity Forest(PF)集成分类器。
- 使用 UCR 时间序列分类存档作为评估的基准数据集集合。
- 与当前最先进模型(包括 HIVE-COTE 2.0、TS-CHIEF、MultiRocket 和 InceptionTime)进行性能比较。

实验结果
研究问题
- RQ1在代价函数 |a−b|γ 中,指数 γ 的变化如何影响 DTW 中时间序列的相似性排序?
- RQ2对 γ 进行调优是否能提升基于 DTW 和基于 Proximity Forest 的时间序列分类器的分类准确率?
- RQ3最优的 γ 值是否依赖于时间序列数据集的特性,如噪声水平或振幅变化?
- RQ4参数化代价函数是否能增强时间序列数据对噪声的鲁棒性?
- RQ5所提方法是否在标准时间序列分类基准上优于现有最先进模型?
主要发现
- 对代价函数指数 γ 的调优显著提升了基于 DTW 最近邻分类器和 Proximity Forest 分类器的分类准确率。
- 所提出的 PF+ 模型在六个 UCR 基准数据集上达到新的 SOTA 性能,优于 HIVE-COTE 2.0、TS-CHIEF、MultiRocket 和 InceptionTime。
- 在 ArrowHead 数据集中,PF+ 达到 89.71% 的准确率,超过次优方法(HC2)的 86.29%。
- 在 SemgHandSubjectCh2 数据集中,PF+ 达到 93.11% 的准确率,超过最佳基线(HC2)2.89 个百分点。
- 较低的 γ 值(如 0.5)强调小振幅差异,有利于保持一致的低水平模式对齐;而较高的 γ 值(如 5)则优先关注大差异。
- 该方法表明,通过代价函数调优可有效管理噪声:低 γ 利用噪声惩罚长对齐路径,而高 γ 则聚焦于稳健的大尺度特征。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。