Papers
Topics
Authors
Recent
Search
2000 character limit reached

Efficiently Approximating Edit Distance Between Pseudorandom Strings

Published 10 Nov 2018 in cs.DS | (1811.04300v1)

Abstract: We present an algorithm for approximating the edit distance ed(x,y)\operatorname{ed}(x, y) between two strings xx and yy in time parameterized by the degree to which one of the strings xx satisfies a natural pseudorandomness property. The pseudorandomness model is asymmetric in that no requirements are placed on the second string yy, which may be constructed by an adversary with full knowledge of xx. We say that xx is \emph{(p,B)(p, B)-pseudorandom} if all pairs aa and bb of disjoint BB-letter substrings of xx satisfy ed(a,b)pB\operatorname{ed}(a, b) \ge pB. Given parameters pp and BB, our algorithm computes the edit distance between a (p,B)(p, B)-pseudorandom string xx and an arbitrary string yy within a factor of O(1/p)O(1/p) in time O~(nB)\tilde{O}(nB), with high probability. Our algorithm is robust in the sense that it can handle a small portion of xx being adversarial (i.e., not satisfying the pseudorandomness property). In this case, the algorithm incurs an additive approximation error proportional to the fraction of xx which behaves maliciously. The asymmetry of our pseudorandomness model has particular appeal for the case where xx is a \emph{source string}, meaning that ed(x,y)\operatorname{ed}(x, y) will be computed for many strings yy. Suppose that one wishes to achieve an O(α)O(\alpha)-approximation for each ed(x,y)\operatorname{ed}(x, y) computation, and that BB is the smallest block-size for which the string xx is (1/α,B)(1/\alpha, B)-pseudorandom. We show that without knowing BB beforehand, xx may be preprocessed in time O~(n<sup>1.5B)\tilde{O}(n<sup>{1.5}\sqrt{B}), so that all future computations of the form ed(x,y)\operatorname{ed}(x, y) may be O(α)O(\alpha)-approximated in time O~(nB)\tilde{O}(nB). Furthermore, for the special case where only a single ed(x,y)\operatorname{ed}(x, y) computation will be performed, we show how to achieve an O(α)O(\alpha)-approximation in time O~(n<sup>4/3B<sup>2/3)\tilde{O}(n<sup>{4/3}B<sup>{2/3}).

Authors (1)
Citations (12)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.