Dynamic Time Warping Under Translation: Approximation Guided by Space-Filling Curves
Karl Bringmann, S\'andor Kisfaludi-Bak, Marvin K\"unnemann, D\'aniel, Marx, Andr\'e Nusser

TL;DR
This paper develops algorithms for optimizing the Dynamic Time Warping distance between curves under translation, providing exact solutions for certain norms and efficient approximation algorithms for Euclidean norms in 2D.
Contribution
It introduces the first polynomial-time exact algorithm for DTW under translation for the $L_1$ norm and efficient approximation algorithms for Euclidean norms in 2D, utilizing space-filling curves.
Findings
Exact polynomial-time algorithm for $L_1$ norm in fixed dimensions.
$(1+ ext{epsilon})$-approximation algorithm for Euclidean norm in 2D.
Subcubic time algorithm approaching quadratic time for DTW under translation.
Abstract
The Dynamic Time Warping (DTW) distance is a popular measure of similarity for a variety of sequence data. For comparing polygonal curves in , it provides a robust, outlier-insensitive alternative to the Fr\'echet distance. However, like the Fr\'echet distance, the DTW distance is not invariant under translations. Can we efficiently optimize the DTW distance of and under arbitrary translations, to compare the curves' shape irrespective of their absolute location? There are surprisingly few works in this direction, which may be due to its computational intricacy: For the Euclidean norm, this problem contains as a special case the geometric median problem, which provably admits no exact algebraic algorithm (that is, no algorithm using only addition, multiplication, and -th roots). We thus investigate exact algorithms for non-Euclidean norms…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
