提出可并行的分段DTW,提升对齐效率且性能接近传统DTW。
Segmental DTW: A Parallelizable Alternative to Dynamic Time Warping

- 将全局代价矩阵分块,分段执行DTW再合并结果
- 在肖邦玛祖卡数据集上性能接近标准DTW,误差小于1.2%
- 算法几乎全部计算可并行,适合大规模序列对齐任务
本文探索了用于全局对齐两个特征序列的可并行替代方案以应对传统动态时间规整(DTW)的二次计算与内存开销。通过利用计算资源丰富这一前提,提出一种名为分段DTW的算法变体:将全局代价矩阵分割为小子矩阵,在每个子矩阵上执行子序列DTW,再通过分段级动态规划确定全局最优对齐路径。在使用肖邦玛祖卡数据集进行的音频-音频对齐任务中,该方法性能与标准DTW接近,误差低于1.2%。进一步证明,分段DTW的几乎所有计算均可并行化,其中一种变体在理论与实证上均优于另一种。
原文摘要 · Abstract (English)
In this work we explore parallelizable alternatives to DTW for globally aligning two feature sequences. One of the main practical limitations of DTW is its quadratic computation and memory cost. Previous works have sought to reduce the computational cost in various ways, such as imposing bands in the cost matrix or using a multiresolution approach. In this work, we utilize the fact that computation is an abundant resource and focus instead on exploring alternatives that approximate the inherently sequential DTW algorithm with one that is parallelizable. We describe two variations of an algorithm called Segmental DTW, in which the global cost matrix is broken into smaller sub-matrices, subsequence DTW is performed on each sub-matrix, and the results are used to solve a segment-level dynamic programming problem that specifies a globally optimal alignment path. We evaluate the proposed alignment algorithms on an audio-audio alignment task using the Chopin Mazurka dataset, and we show that they closely match the performance of regular DTW. We further demonstrate that almost all of the computations in Segmental DTW are parallelizable, and that one of the variants is unilaterally better than the other for both empirical and theoretical reasons.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。