Lune

FOCS2022Top-tier venue

Gap Edit Distance via Non-Adaptive Queries: Simple and Optimal

Elazar Goldenberg, Tomasz Kociumaka, Robert Krauthgamer, Barna Saha

2022Year
5Citations
9Top-tier citations

Abstract

We study the problem of approximating edit distance in sublinear time. This is formalized as the (k, kc)(k,\ k^{\mathrm{c}})-GAP EDIT DISTANCE problem, where the input is a pair of strings X,YX, \mathrm{Y} and parameters k,c>1k, c\gt 1, and the goal is to return YES if ED(X, Y) ≤k\leq k, NO if ED(X, Y) >kc\gt k^{\mathrm{c}}, and an arbitrary answer when k<k\lt ED(X, Y) ≤kc\leq k^{\mathrm{c}}. Recent years have witnessed significant interest in designing sublinear-time algorithms for GAP EDIT DISTANCE.In this work, we resolve the non-adaptive query complexity of GAP EDIT DISTANCE for the entire range of parameters, improving over a sequence of previous results. Specifically, we design a non-adaptive algorithm with query complexity O~(n/kc−O.5)\tilde{O}(n/k^{\mathrm{c}-\mathrm{O}.5}), and we further prove that this bound is optimal up to polylogarithmic factors.Our algorithm also achieves optimal time complexity O~(n/kc−O.5)\tilde{O}(n/k^{\mathrm{c}-\mathrm{O}.5}) whenever c≥ c\geq 1.5. For 1<c<1 \lt c\lt 1.5, the running time of our algorithm is O~(n/k2c−2)\tilde{O}(n/k^{2\mathrm{c}-2}). In the restricted case of kc=Ω(n)k^{\mathrm{c}}=\Omega(n), this matches a known result [Batu, Ergün, Kilian, Magen, Raskhodnikova, Rubinfeld, and Sami; STOC 2003], and in all other (nontrivial) cases, our running time is strictly better than all previous algorithms, including the adaptive ones. However, independent work of Bringmann, Cassis, Fischer, and Nakos [STOC 2022] provides an adaptive algorithm that bypasses the non-adaptive lower bound, but only for small enough k and c.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 0296d68f-0aed-4a6f-a635-14857e50383d

Cited by top-tier papers9

Ask how each one uses it

Builds on5

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines