Dynamic Time Warping and Geometric Edit Distance: Breaking the Quadratic Barrier
Omer Gold, Micha Sharir

TL;DR
This paper introduces deterministic algorithms that significantly improve the efficiency of computing Dynamic Time Warping and Geometric Edit Distance, breaking the longstanding quadratic time barrier for sequences in one-dimensional space.
Contribution
It presents the first sub-quadratic algorithms for DTW and GED in one-dimensional space, extending to higher dimensions with polyhedral metrics.
Findings
Achieved $O(n^2 / \log\log n)$ runtime for DTW and GED in 1D.
Extended algorithms to higher dimensions with polyhedral metrics.
Demonstrated breaking the 50-year quadratic time barrier.
Abstract
Dynamic Time Warping (DTW) and Geometric Edit Distance (GED) are basic similarity measures between curves or general temporal sequences (e.g., time series) that are represented as sequences of points in some metric space . The DTW and GED measures are massively used in various fields of computer science, computational biology, and engineering. Consequently, the tasks of computing these measures are among the core problems in P. Despite extensive efforts to find more efficient algorithms, the best-known algorithms for computing the DTW or GED between two sequences of points in are long-standing dynamic programming algorithms that require quadratic runtime, even for the one-dimensional case , which is perhaps one of the most used in practice. In this paper, we break the nearly 50 years old quadratic time bound for computing DTW or GED…
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.
