BlockDTW:面向神经学习系统的高效、并行且可微的时间序列对齐
BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems
导读
Alberto Zancanaro、Leonardo Badia 和 Giulia Cisotto 提出 BlockDTW,一种分块、可微的时间序列对齐损失,把时间序列切成互不重叠的片段、独立计算局部对齐再聚合成全局目标,将复杂度从 O(N²) 降到 O(bN),并行实现可同时处理各块。作者在合成变频正弦曲线相似度与对齐、Trace 数据集和 73 个 UCR Archive 数据集上的前馈网络时间序列预测,以及深度模型 hvEEGNet 多通道 EEG 信号高保真重建三项任务上评估,结果显示 BlockDTW 接近 SoftDTW,预测与重建性能与已有可微对齐损失相当,并行运行时基准中硬件相关加速最高达 120×。
正在把原文翻译成中文,长文需要一两分钟;先显示原文。
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
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
Additional Features
Current browse context:
cs.LG
| next >
Change to browse by:
References & Citations
BibTeX formatted citation
Data provided by:
Bookmark
[
](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")
[
](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?)
出处
- B 可靠arXiv cs.LG · RSS阅读原文 ↗
BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems