Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance
Abstract
In this paper, we design new sublinear-time algorithms for solving the gap edit distance problem and for embedding edit distance to Hamming distance. For the gap edit distance problem, we give an -time greedy algorithm that distinguishes between length- input strings with edit distance at most and those with edit distance exceeding . This is an improvement and a simplification upon the result of Goldenberg, Krauthgamer, and Saha [FOCS 2019], where the vs gap edit distance problem is solved in time. We further generalize our result to solve the vs gap edit distance problem in time , strictly improving upon the previously known bound . Finally, we show that if the input strings do not have long highly periodic substrings, then already the vs gap edit distance problem can be solved in sublinear time. Specifically, if the strings contain no substring of length with period at most , then the running time we achieve is . We further give the first sublinear-time probabilistic embedding of edit distance to Hamming distance. For any parameter , our -time procedure yields an embedding with distortion , where is the edit distance of the original strings. Specifically, the Hamming distance of the resultant strings is between and with good probability. This generalizes the linear-time embedding of Chakraborty, Goldenberg, and Kouck\'y [STOC 2016], where the resultant Hamming distance is between and . Our algorithm is based on a random walk over samples, which we believe will find other applications in sublinear-time algorithms.
Cite
@article{arxiv.2007.12762,
title = {Sublinear-Time Algorithms for Computing & Embedding Gap Edit Distance},
author = {Tomasz Kociumaka and Barna Saha},
journal= {arXiv preprint arXiv:2007.12762},
year = {2020}
}