arXiv:2612.02276v1 cs.LG

BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems

Alberto Zancanaro, Leonardo Badia, Giulia Cisotto

제출 2026-12-02

원문 초록

Dynamic Time Warping (DTW) is a cornerstone technique for measuring similarity between time-series under temporal distortions, but its quadratic time and space complexity limits scalability, real-time deployment, and its use as a loss function in neural networks. Existing approximations often trade off accuracy, differentiability, or computational efficiency. We introduce BlockDTW, a block-wise, differentiable temporal-alignment loss that partitions time-series into non-overlapping segments, computes local alignments independently, and aggregates them into a global objective compatible with gradient-based optimization. By constraining the admissible warping paths to block junctions (\emph{islands}), BlockDTW reduces complexity from $\mathcal{O}(N^2)$ to $\mathcal{O}(bN)$, and its parallel implementation processes blocks concurrently. We evaluate BlockDTW on three tasks: (i) similarity measurement and alignment of synthetic frequency-varying sinusoids, (ii) time-series prediction with feedforward networks on the Trace dataset and $73$ UCR Archive datasets, and (iii) training a deep model (hvEEGNet) for high-fidelity reconstruction of multichannel EEG signals. Results show that BlockDTW closely approximates SoftDTW, achieves prediction and reconstruction performance comparable to established differentiable alignment losses, and substantially reduces computational cost, with hardware-dependent speedups up to $120\times$ in parallel-runtime benchmarks. BlockDTW is thus an efficient and scalable differentiable objective for neural models on temporally distorted sequences, with particular potential for real-time and biomedical applications.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2612.02276v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.