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

估计编辑距离:对齐、降维和嵌入

On Estimating Edit Distance: Alignment, Dimension Reduction, and Embeddings

Moses Charikar, Ofir Geri, Michael P. Kim, William Kuszmaul

摘要:

编辑距离是字符串之间距离的基本度量,在计算机科学中得到了广泛的研究。虽然已经广泛地研究了估计编辑距离的问题,但是实际产生对齐的同样重要的问题(即,编辑的顺序)受到的关注要少得多。有些令人惊讶的是,我们发现,任何算法来估计编辑距离可以使用一个黑盒的方式来产生一个近似的字符串对齐,在近似因子和运行时间的小损失适度的损失。插入Andoni,Krauthgamer和Onak的结果,我们得到的对齐是时间上的$(\log n)^{O(1/\varepsilon^2)}$近似$\tilde{O}(n^{1 + \varepsilon})$。与近似算法的研究密切相关的是编辑距离的度量嵌入的研究。我们通过三个结果证明了min-hash技术在设计编辑距离嵌入时是有用的:(1)从Ulam距离嵌入(置换上的编辑距离)映射到汉明空间,该汉明空间匹配$O(\log n)$的最佳已知失真并且还隐式地编码字符串之间的编辑序列;(2)在已知输入串之间的编辑距离具有上限$K$的情况下,我们证明了在Hamming空间中的编辑距离嵌入变形$f(n)$可以以黑盒的方式进行修改,以给出一类无失真字符串的变形$O(f(\operatorname{poly}(K)))$;(3)具有收缩$c$和渐进最优预期失真$O(c)$的随机降维映射,改进了Batu、Ergun和Sahinalp之前的$\tilde{O}(c^{1 + 2 / \log \log \log n})$失真结果。

英文摘要:

Edit distance is a fundamental measure of distance between strings and has been widely studied in computer science. While the problem of estimating edit distance has been studied extensively, the equally important question of actually producing an alignment (i.e., the sequence of edits) has received far less attention. Somewhat surprisingly, we show that any algorithm to estimate edit distance can be used in a black-box fashion to produce an approximate alignment of strings, with modest loss in approximation factor and small loss in run time. Plugging in the result of Andoni, Krauthgamer, and Onak, we obtain an alignment that is a $(\log n)^{O(1/\varepsilon^2)}$ approximation in time $\tilde{O}(n^{1 + \varepsilon})$. Closely related to the study of approximation algorithms is the study of metric embeddings for edit distance. We show that min-hash techniques can be useful in designing edit distance embeddings through three results: (1) An embedding from Ulam distance (edit distance over permutations) to Hamming space that matches the best known distortion of $O(\log n)$ and also implicitly encodes a sequence of edits between the strings; (2) In the case where the edit distance between the input strings is known to have an upper bound $K$, we show that embeddings of edit distance into Hamming space with distortion $f(n)$ can be modified in a black-box fashion to give distortion $O(f(\operatorname{poly}(K)))$ for a class of periodic-free strings; (3) A randomized dimension-reduction map with contraction $c$ and asymptotically optimal expected distortion $O(c)$, improving on the previous $\tilde{O}(c^{1 + 2 / \log \log \log n})$ distortion result of Batu, Ergun, and Sahinalp.

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

↑