Segmental DTW: A Parallelizable Alternative to Dynamic Time Warping
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.SD, eess.AS
- Journal
- Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2021, pp. 106-110
- Comments
- Published at ICASSP 2021
Related papers
Dense-Sparse Dynamic Time Warping for Customizing Piano Concerto Accompaniments
Shared title terminologycs.SDTJ Tsai, Kavi Dey, Yigitcan Ozer et al.
Estimating the Reliability of Dynamic Time Warping Alignments Using Circumstantial Evidence
Shared title terminologycs.SDAanya Pratapneni, Alice Yuan, TJ Tsai
LiveAudio: From Bidirectional to Autoregressive Diffusion for Real-Time Streaming Video-to-Audio Generation
Shared title terminologycs.SDYuxuan Jiang, Zehua Chen, Yusheng Dai et al.
SonicRender: Structured and Time-Grounded Rendering of Multi-Event Audio Scene Generation
Shared title terminologycs.SDYunrui Cai, Xu Li, Yan Rong et al.
Music Circuit: Trace and Control Style Dynamics in Large Music Generation Model
Shared title terminologycs.SDRuiji Yu, Wenye Ma, Gus Xia
SWIFT: A Handcrafted, Arithmetic-Minimal FPGA Engine for Real-Time Audio Deepfake Detection
Shared title terminologycs.SDChirantan Banerjee, Soumita Chatterjee, Bhargab B. Bhattacharya et al.