Source author record

Zoe Xi

Explore this author’s publications, collaborators and research topics. This catalog record has not been claimed by its author.

ResearcherUnclaimed source record

Catalog footprint

Research overview

1works
1topics
1close collaborators

Published work

1 publications

preprint2022arXiv

Approximating Dynamic Time Warping Distance Between Run-Length Encoded Strings

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 O(n2)O(n^2) time, and there are conditional lower bounds showing that no algorithm can do substantially better. In many applications, however, the strings xx and yy 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 kk and ℓ\ell of the compressed strings. Recent work has shown how to achieve O(kℓ2+ℓk2)O(k\ell^2 + \ell k^2) time, leaving open the question of whether a near-quadratic O~(kℓ)\tilde{O}(k\ell)-time algorithm might exist. We show that, if a small approximation loss is permitted, then a near-quadratic time algorithm is indeed possible: our algorithm computes a (1+ε)(1 + ε)-approximation for DTW(x,y)DTW(x, y) in O~(kℓ/ε3)\tilde{O}(k\ell / ε^3) time, where kk and ℓ\ell are the number of runs in xx and yy. Our algorithm allows for DTWDTW to be computed over any metric space (Σ,δ)(Σ, δ) in which distances are O(log(n))O(log(n))-bit integers. Surprisingly, the algorithm also works even if δδ does not induce a metric space on ΣΣ (e.g., δδ need not satisfy the triangle inequality).

Research graph

See the researcher in context

Open full explorer

Inspect adjacent papers, topics, institutions and collaborators without losing the researcher page.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.