Polylogarithmic approximation for edit distance and the asymmetric query complexity

  • Authors:
  • Alexandr Andoni;Robert Krauthgamer;Krzysztof Onak

  • Affiliations:
  • Princeton University and Center for Computational Intractability, Princeton, NJ;The Weizmann Institute of Science, Rehovot, Israel;Massachusetts Institute of Technology, Cambridge, MA

  • Venue:
  • Property testing
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a near-linear time algorithm that approximates the edit distance between two strings within a polylogarithmic factor. More precisely, for strings of length n and every fixed ε 0, it can compute a (log n)O(1/ε) -approximation in n1+ε time. This result arises naturally in the study of a new asymmetric query model. In this model, the input consists of two strings x and y, and an algorithm can access y in an unrestricted manner, while being charged for querying every symbol of x. Our query lower bound for this model provides the first rigorous separation between edit distance and Ulam distance, which is edit distance on non-repetitive strings, i.e., permutations.