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 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.

BlockDTW: Efficient and Scalable Similarity Search Algorithm for Healthcare-Focused Time-Series / Zancanaro, A., Badia, L., Cisotto, G.. - (2025), pp. 1-6. (2025 IEEE Conference on Standards for Communications and Networking, CSCN 2025 Bologna, Italy 15-17 September 2025) [10.1109/cscn67557.2025.11230700].

BlockDTW: Efficient and Scalable Similarity Search Algorithm for Healthcare-Focused Time-Series

Badia, Leonardo;Cisotto, Giulia
2025-01-01

Abstract

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 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.
2025
979-8-3315-5495-8
979-8-3315-5496-5
File in questo prodotto:
File Dimensione Formato  
2025_IEEE_CSCN_BlockDTW_EDITORIAL_VERSION.pdf

Accesso chiuso

Tipologia: Documento in Versione Editoriale
Licenza: Copyright Editore
Dimensione 2.46 MB
Formato Adobe PDF
2.46 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11368/3139181
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? ND
social impact