We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.DS

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Data Structures and Algorithms

Title: Asymmetric Streaming Algorithms for Edit Distance and LCS

Abstract: The edit distance (ED) and longest common subsequence (LCS) are two fundamental problems which quantify how similar two strings are to one another. In this paper, we consider these problems in the asymmetric streaming model introduced by Andoni et al. (FOCS'10) and Saks and Seshadhri (SODA'13). In this model we have random access to one string and streaming access the other string. Our main contribution is a constant factor approximation algorithm for ED with the memory of $\tilde O(n^{\delta})$ for any constant $\delta > 0$. In addition to this, we present an upper bound of $\tilde O_\epsilon(\sqrt{n})$ on the memory needed to approximate ED or LCS within a factor $1+\epsilon$. All our algorithms are deterministic and run in a single pass.
For approximating ED within a constant factor, we discover yet another application of triangle inequality, this time in the context of streaming algorithms. Triangle inequality has been previously used to obtain subquadratic time approximation algorithms for ED. Our technique is novel and elegantly utilizes triangle inequality to save memory at the expense of an exponential increase in the runtime.
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:2002.11342 [cs.DS]
  (or arXiv:2002.11342v2 [cs.DS] for this version)

Submission history

From: Alireza Farhadi [view email]
[v1] Wed, 26 Feb 2020 08:04:35 GMT (315kb)
[v2] Thu, 16 Apr 2020 16:31:24 GMT (327kb)

Link back to: arXiv, form interface, contact.