Approximating Dynamic Time Warping Distance Between Run-Length Encoded Strings
Zoe Xi, William Kuszmaul

TL;DR
This paper presents an efficient approximation algorithm for computing the Dynamic Time Warping distance between run-length encoded strings, significantly reducing computation time for large, repetitive data sequences.
Contribution
It introduces a near-quadratic time $(1 + ext{approximation})$-factor algorithm for DTW on compressed strings, applicable to general metric spaces without requiring the triangle inequality.
Findings
Achieves $ ilde{O}(k ext{l}/ ext{epsilon}^3)$ time complexity for approximate DTW
Works over any metric space with $O( ext{log}(n))$-bit distances
Effective even when the metric does not satisfy triangle inequality
Abstract
Dynamic Time Warping (DTW) is a widely used similarity measure for comparing strings that encode time series data, with applications to areas including bioinformatics, signature verification, and speech recognition. The standard dynamic-programming algorithm for DTW takes time, and there are conditional lower bounds showing that no algorithm can do substantially better. In many applications, however, the strings and may contain long runs of repeated letters, meaning that they can be compressed using run-length encoding. A natural question is whether the DTW-distance between these compressed strings can be computed efficiently in terms of the lengths and of the compressed strings. Recent work has shown how to achieve time, leaving open the question of whether a near-quadratic -time algorithm might exist. We show…
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.
