A General Optimization Framework for Dynamic Time Warping
Not on the map. Why?
Abstract (arXiv)
The goal of dynamic time warping is to transform or warp time in order to approximately align two signals together. We pose the choice of warping function as an optimization problem with several terms in the objective. The first term measures the misalignment of the time-warped signals. Two additional regularization terms penalize the cumulative warping and the instantaneous rate of time warping; constraints on the warping can be imposed by assigning the value +inf to the regularization terms. Different choices of the three objective terms yield different time warping functions that trade off signal fit or alignment and properties of the warping function. The optimization problem we formulate is a classical optimal control problem, with initial and terminal constraints, and a state dimension of one. We describe an effective general method that minimizes the objective by discretizing the values of the original and warped time, and using standard dynamic programming to compute the (globally) optimal warping function with the discretized values. Iterated refinement of this scheme yields a high accuracy warping function in just a few iterations. Our method is implemented as an open source Python package GDTW.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 30 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 3; 2024: 1; 2025: 0; 2026: 1.
6 papers.
- 2022Robust Time Series Dissimilarity Measure for Outlier Detection and Periodicity Detectioncited by 5
- 2023Deep Declarative Dynamic Time Warping for End-to-End Learning of Alignment Pathscited by 5
- 2023Parameterizing the cost function of Dynamic Time Warping with application to time series classificationcited by 3
- 2023Fast dynamic time warping and clustering in C++cited by 0
- 2024Conditional Deep Canonical Time Warpingcited by 0
- 2026Fast Gradient-Based Approximation of Continuous Dynamic Time Warpingcited by 0
- 2026Fast Gradient-Based Approximation of Continuous Dynamic Time Warping9 Oct 2026
- 2024Conditional Deep Canonical Time Warping24 Dec 2024
- 2023Fast dynamic time warping and clustering in C++10 Jul 2023
- 2023Deep Declarative Dynamic Time Warping for End-to-End Learning of Alignment Paths19 Mar 2023
- 2023Parameterizing the cost function of Dynamic Time Warping with application to time series classification24 Jan 2023
- 2022Robust Time Series Dissimilarity Measure for Outlier Detection and Periodicity Detection7 Jun 2022