BlockDTW: Efficient and Scalable Similarity Search Algorithm for Healthcare-Focused Time-Series
Digital twins for engineering, finance, and especially personalized medicine often rely on time-series applications, such as computing the similarity between temporal signals. Dynamic Time Warping (DTW) remains the gold standard for robust alignment under temporal distortions, but its quadratic time and space complexity limits scalability and real-time usage. Existing methods such as FastDTW, PruneDTW, and SoftDTW attempt to address these issues, but often compromise on accuracy, differentiability, or flexibility. We introduce BlockDTW, a differentiable parallel approximation of DTW that divides time-series into non-overlapping blocks and computes local alignments. This reduces complexity to $\mathcal{O}(bN)$, enabling efficient training and inference. BlockDTW achieves good approximation relative to DTW with up to 8× speedup, as shown in three tasks: synthetic frequency-varying sinusoids, Trace dataset prediction with an FFNN, and EEG reconstruction using hvEEGNet. Results are comparable to SoftDTW and PruneDTW, with significantly lower runtime.
Authors
- Giulia Cisotto (ORCID: https://orcid.org/0000-0002-9554-9367)
- Alberto Zancanaro (ORCID: https://orcid.org/0000-0002-5276-7030)
- Leonardo Badia (ORCID: https://orcid.org/0000-0001-5770-1199)
Institutions
- University of Padua (IT)
- University of Trieste (IT)
- University of Luxembourg (LU)
- Istituto Nazionale di Fisica Nucleare, Sezione di Padova (IT)
Publication Details
- Published
- 2025-09-15
- DOI
- https://doi.org/10.1109/cscn67557.2025.11230700
- Primary Topic
- Time Series Analysis and Forecasting
- Type
- article
- Field-Weighted Citation Impact
- 0.00