正在把原文翻译成中文,长文需要一两分钟;先显示原文。

Computer Science > Machine Learning

[Submitted on 1 Dec 2026]

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

Authors:Alberto Zancanaro, Leonardo Badia, Giulia Cisotto

View a PDF of the paper titled BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems, by Alberto Zancanaro and 2 other authors

View PDF HTML (experimental)

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

Subjects:Machine Learning (cs.LG); Signal Processing (eess.SP)
Cite as:arXiv:2612.02276 [cs.LG]
(or arXiv:2612.02276v1 [cs.LG] for this version)
https://doi.org/10.48550/arXiv.2612.02276

Submission history

From: Alberto Zancanaro Dr. [view email]
[v1] Tue, 1 Dec 2026 17:33:46 UTC (1,088 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems, by Alberto Zancanaro and 2 other authors

view license

Additional Features

Current browse context:

cs.LG

< prev

  |   next >

new | recent | 2026-12

Change to browse by:

cs

eess

eess.SP

References & Citations

BibTeX formatted citation

Data provided by:

Bookmark

[BibSonomy](http://www.bibsonomy.org/BibtexHandler?requTask=upload&url=https://arxiv.org/abs/2612.02276&description=BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems "Bookmark on BibSonomy") [Reddit](https://reddit.com/submit?url=https://arxiv.org/abs/2612.02276&title=BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems "Bookmark on Reddit")

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)

Connected Papers (What is Connected Papers?)

Litmaps (What is Litmaps?)

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub (What is DagsHub?)

Gotit.pub (What is GotitPub?)

Hugging Face (What is Huggingface?)

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate (What is Replicate?)

Hugging Face Spaces (What is Spaces?)

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)

CORE Recommender (What is CORE?)

IArxiv Recommender (What is IArxiv?)

  • Author
  • Venue
  • Institution
  • Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)