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

打破(未加权)树编辑距离的立方障碍

Breaking the Cubic Barrier for (Unweighted) Tree Edit Distance

Xiao Mao

摘要:

$n$节点树的(未加权)树编辑距离问题要求计算两个具有节点标签的根树之间的相异性度量。十多年前的当前最佳算法在$O(n ^ 3)$时间内运行[Demaine,Mozes,Rossman,and Weimann,ICALP 2007]。同一篇论文还表明,$O(n ^ 3)$是最好的可能运行时间的任何算法使用所谓的分解策略,它的基础几乎所有已知的算法为这个问题。这些算法也适用于加权树编辑距离问题,该问题在APSP猜想下无法在真正的亚立方时间内解决[Bringmann,Gawrychowski,Mozes和Weimann,SODA 2018]。在本文中,我们打破了立方障碍,展示了一个$O(n ^ {2.9546})$时间算法的未加权树编辑距离问题。我们考虑一个等价的最大化问题,并使用一个动态规划计划,涉及许多特殊性质的矩阵。通过使用分解方案以及几种组合技术,我们将树编辑距离减少到有界差分矩阵的最大乘积,这可以在真正的亚立方时间内解决[Bringmann,Grandoni,Saha和Vassilevska Williams,FOCS 2016]。

英文摘要:

The (unweighted) tree edit distance problem for $n$ node trees asks to compute a measure of dissimilarity between two rooted trees with node labels. The current best algorithm from more than a decade ago runs in $O(n ^ 3)$ time [Demaine, Mozes, Rossman, and Weimann, ICALP 2007]. The same paper also showed that $O(n ^ 3)$ is the best possible running time for any algorithm using the so-called decomposition strategy, which underlies almost all the known algorithms for this problem. These algorithms would also work for the weighted tree edit distance problem, which cannot be solved in truly sub-cubic time under the APSP conjecture [Bringmann, Gawrychowski, Mozes, and Weimann, SODA 2018]. In this paper, we break the cubic barrier by showing an $O(n ^ {2.9546})$ time algorithm for the unweighted tree edit distance problem. We consider an equivalent maximization problem and use a dynamic programming scheme involving matrices with many special properties. By using a decomposition scheme as well as several combinatorial techniques, we reduce tree edit distance to the max-plus product of bounded-difference matrices, which can be solved in truly sub-cubic time [Bringmann, Grandoni, Saha, and Vassilevska Williams, FOCS 2016].

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

↑