arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1804.04178cs.DScs.DCquant-ph
收藏

在真次二次时间中逼近编辑距离:Quantum和MapReduce

Approximating Edit Distance in Truly Subquadratic Time: Quantum and MapReduce

Mahdi Boroujeni, Soheil Ehsani, Mohammad Ghodsi, MohammadTaghi HajiAghayi, Saeed Seddighin

摘要:

两个字符串之间的编辑距离定义为将一个字符串转换为另一个字符串所需的最小插入、删除和替换次数。在次二次时间内近似编辑距离是“组合模式匹配领域最大的未解决问题之一“。我们的主要结果是一个量子常数近似算法计算的编辑距离在真正的次二次时间。更准确地说,我们给出了一个$O(n^{1.858})$量子算法,近似的编辑距离内的一个因素$7$。我们进一步扩展这一结果的$O(n^{1.781})$量子算法,在一个较大的常数因子内近似的编辑距离。我们的解决方案是基于一个框架,在并行设置近似编辑距离。这个框架需要一个黑盒算法,它可以同时计算几个较小字符串的距离。对于一个量子算法,我们减少了黑盒\textit{metric estimation},并提供有效的算法来近似它。我们进一步表明,这个框架使我们能够近似编辑距离在分布式设置。为此,我们提供了一个MapReduce算法近似编辑距离内的一个因素$3$,次线性许多机器和次线性内存。此外,我们的算法运行在对数轮数。

英文摘要:

The edit distance between two strings is defined as the smallest number of insertions, deletions, and substitutions that need to be made to transform one of the strings to another one. Approximating edit distance in subquadratic time is "one of the biggest unsolved problems in the field of combinatorial pattern matching". Our main result is a quantum constant approximation algorithm for computing the edit distance in truly subquadratic time. More precisely, we give an $O(n^{1.858})$ quantum algorithm that approximates the edit distance within a factor of $7$. We further extend this result to an $O(n^{1.781})$ quantum algorithm that approximates the edit distance within a larger constant factor. Our solutions are based on a framework for approximating edit distance in parallel settings. This framework requires as black box an algorithm that computes the distances of several smaller strings all at once. For a quantum algorithm, we reduce the black box to \textit{metric estimation} and provide efficient algorithms for approximating it. We further show that this framework enables us to approximate edit distance in distributed settings. To this end, we provide a MapReduce algorithm to approximate edit distance within a factor of $3$, with sublinearly many machines and sublinear memory. Also, our algorithm runs in a logarithmic number of rounds.

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

↑