English

Approximating Edit Distance in Truly Subquadratic Time: Quantum and MapReduce

Data Structures and Algorithms 2018-04-27 v2 Distributed, Parallel, and Cluster Computing Quantum Physics

Abstract

The edit distance between two strings is defined as the smallest number of insertions, deletions, and substitutions that need to be made to transform one of the strings to another one. Approximating edit distance in subquadratic time is "one of the biggest unsolved problems in the field of combinatorial pattern matching". Our main result is a quantum constant approximation algorithm for computing the edit distance in truly subquadratic time. More precisely, we give an O(n1.858)O(n^{1.858}) quantum algorithm that approximates the edit distance within a factor of 77. We further extend this result to an O(n1.781)O(n^{1.781}) quantum algorithm that approximates the edit distance within a larger constant factor. Our solutions are based on a framework for approximating edit distance in parallel settings. This framework requires as black box an algorithm that computes the distances of several smaller strings all at once. For a quantum algorithm, we reduce the black box to \textit{metric estimation} and provide efficient algorithms for approximating it. We further show that this framework enables us to approximate edit distance in distributed settings. To this end, we provide a MapReduce algorithm to approximate edit distance within a factor of 33, with sublinearly many machines and sublinear memory. Also, our algorithm runs in a logarithmic number of rounds.

Keywords

Cite

@article{arxiv.1804.04178,
  title  = {Approximating Edit Distance in Truly Subquadratic Time: Quantum and MapReduce},
  author = {Mahdi Boroujeni and Soheil Ehsani and Mohammad Ghodsi and MohammadTaghi HajiAghayi and Saeed Seddighin},
  journal= {arXiv preprint arXiv:1804.04178},
  year   = {2018}
}

Comments

A preliminary version of this paper was presented at SODA 2018

R2 v1 2026-06-23T01:20:55.621Z