arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.12706cs.DS
收藏

通过非自适应调整间隙编辑距离:简单且最佳

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

Elazar Goldenberg, Tomasz Kociumaka, Robert Krauthgamer, Barna Saha

摘要:

研究了编辑距离在次线性时间内的近似问题。这被形式化为$(k,k^c)$ -间隙编辑距离问题,其中输入是一对字符串$X,Y$和参数$k,c>1$,目标是如果$ED(X,Y)\leq k$返回YES,如果$ED(X,Y)> k^c$返回NO,当$k < ED(X,Y) \le k^c$返回任意答案。近年来,人们对设计间隙编辑距离的次线性时间算法产生了浓厚的兴趣。在这项工作中,我们解决了整个参数范围内的间隙编辑距离的非自适应查询复杂性,改善了以前的结果序列。具体来说,我们设计了一个非自适应算法的查询复杂度$\tilde{O}(n/k^{c-0.5})$,我们进一步证明了这个界是最佳的多对数因子。我们的算法也达到最佳的时间复杂度$\tilde{O}(n/k^{c-0.5})$每当$c\geq 1.5$。对于$1<c<1.5$,我们的算法的运行时间是$\tilde{O}(n/k^{2c-1})$。在$k^c=Ω(n)$的限制情况下,这匹配一个已知的结果[Batu,Ergün,Kilian,Magen,Raskhodnova,Rubinfeld和Sami; STOC 2003],在所有其他(非平凡)情况下,我们的运行时间严格优于所有以前的算法,包括自适应算法。然而,Bringmann,Cincinnati,Fischer和Nakos的独立工作[STOC 2022]提供了一种绕过非自适应下限的自适应算法,但仅适用于足够小的$k$和$c$。

英文摘要:

We study the problem of approximating edit distance in sublinear time. This is formalized as the $(k,k^c)$-Gap Edit Distance problem, where the input is a pair of strings $X,Y$ and parameters $k,c>1$, and the goal is to return YES if $ED(X,Y)\leq k$, NO if $ED(X,Y)> k^c$, and an arbitrary answer when $k < ED(X,Y) \le k^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 $\tilde{O}(n/k^{c-0.5})$, and we further prove that this bound is optimal up to polylogarithmic factors. Our algorithm also achieves optimal time complexity $\tilde{O}(n/k^{c-0.5})$ whenever $c\geq 1.5$. For $1<c<1.5$, the running time of our algorithm is $\tilde{O}(n/k^{2c-1})$. In the restricted case of $k^c=Ω(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, 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 $k$ and $c$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑