Lune

ICLR2026顶会

Perturbed Dynamic Time Warping: A Probabilistic Framework and Generalized Variants

Xiangqian Sun, Chaoqun Wang, Wei Zhang

摘要

Dynamic Time Warping (DTW) is a classical method for measuring similarity between time series, but its non-differentiability hinders integration into end-to-end learning frameworks. To address this, soft-DTW replaces the minimum operator with a smooth soft-min, enabling differentiability and efficient computation. Motivated by soft-DTW, we propose perturbed-DTW, a differentiable framework of DTW obtained by adding random perturbations to warping costs and taking the expected minimum. Under Gumbel noise, perturbed-DTW exactly recovers soft-DTW, providing a natural probabilistic interpretation of soft-DTW. We further generalize this framework by extending the Gumbel noise to the broader family of generalized extreme value (GEV) distributions, leading to a new class of soft-DTW variants. Building on this insight, we introduce nested-soft-DTW (ns-DTW), which integrates GEV perturbations into the dynamic programming formulation of perturbed-DTW. This extension induces alignments with tunable skewness, offering greater flexibility in modeling diverse alignment structures. We validate ns-DTW on barycenter computation, clustering, and classification, demonstrating its effectiveness over existing approaches. However, directly computing DTW via (1) is intractable due to the exponential size of A m,n . Instead, DTW can be computed efficiently via dynamic programming (DP). To formulate the DP, define D i,j as the minimal cost of alignment from time series [x 1 , . . . , x i ] and [y 1 , . . . , y j ]. Then, D i,j satisfies the Bellman equation (Bellman, 1952) , ( ) with boundary conditions D i,1 = i k=1 C k,1 , ∀i ∈ [m], and D 1,j = j k=1 C 1,k , ∀j ∈ [n]. Then DTW distance is then given by D m,n , i.e., DTW(C) = D m,n . Therefore, the optimal alignment

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper2

  1. Learning with Differentiable Pertubed OptimizersQuentin Berthet, Mathieu Blondel, Olivier Teboul, Marco Cuturi 等NeurIPS 2020 · 181 次引用
  2. Warpformer: A Multi-scale Modeling Approach for Irregular Clinical Time SeriesJiawen Zhang, Shun Zheng, Wei Cao, Jiang Bian 等KDD 2023 · 36 次引用

相关 Paper

  1. Ranking Time Series using a Time Warping Ideal Point ModelLucas Zoroddu, Pierre Humbert, Laurent OudreICML 2026
  2. Parameter-free Spikelet: Discovering Different Length and Warped Time Series Motifs using an Adaptive Time Series RepresentationMakoto Imamura, Takaaki NakamuraKDD 2023 · 6 次引用
  3. Deep Declarative Dynamic Time Warping for End-to-End Learning of Alignment PathsMing Xu, Sourav Garg, Michael Milford, Stephen GouldICLR 2023 · 3 次引用
  4. Learning Discriminative Prototypes With Dynamic Time WarpingXiaobin Chang, Frederick Tung, Greg MoriCVPR 2021
  5. Training Robust Deep Models for Time-Series Domain: Novel Algorithms and Theoretical AnalysisTaha Belkhouja, Yan Yan, Janardhan Rao DoppaAAAI 2022 · 11 次引用
黄昏的海面,两侧是细线勾勒的悬崖