paper

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

arXiv:2111.12706

Abstract

We study the problem of approximating edit distance in sublinear time. This is formalized as the -Gap Edit Distance problem, where the input is a pair of strings and parameters , and the goal is to return YES if , NO if , and an arbitrary answer when . 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 , and we further prove that this bound is optimal up to polylogarithmic factors. Our algorithm also achieves optimal time complexity whenever . For , the running time of our algorithm is . In the restricted case of , 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, an 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 and .

Accepted to FOCS 2022