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

编辑距离和LCS的近似方案在准强亚二次时间内

Approximation Schemes for Edit Distance and LCS in Quasi-Strongly Subquadratic Time

Stanford University(斯坦福大学)

Xiao Mao, Aviad Rubinstein

AI总结:

本文提出新的随机近似方案,针对编辑距离和最长公共子序列问题,在准多项式时间内实现近似解,改进了传统二次时间动态规划算法。

摘要:

我们提出了针对编辑距离(ED)问题和最长公共子序列(LCS)问题的新随机近似方案,对于任何常数ε>0,能够在时间n² / 2^{log^{Ω(1)}(n)}内计算ED的(1+ε)-近似解和LCS的(1-ε)-近似解。该运行时间在传统二次时间动态规划算法基础上改进了一个准多项式因子。我们的结果为细粒度复杂性提供了重要见解:首先,对于ED,先前研究表明任何精确算法无法在不反驳已建立的复杂性假设的情况下改进到几个对数因子之外[Abboud, Hansen, Vassilevska Williams, Williams, 2016];我们的准多项式加速显示了近似ED的复杂性与精确ED的复杂性之间的分离,即使近似因子接近1。其次,通过确定性算法获得类似的近似时间权衡将意味着突破电路下界[Chen, Goldwasser, Lyu, Rothblum, Rubinstein, 2019];我们的随机算法展示了LCS近似的去随机化难度。

英文摘要:

We present novel randomized approximation schemes for the Edit Distance (ED) problem and the Longest Common Subsequence (LCS) problem that, for any constant $ε>0$, compute a $(1+ε)$-approximation for ED and a $(1-ε)$-approximation for LCS in time $n^2 / 2^{\log^{Ω(1)}(n)}$ for two strings of total length at most $n$. This running time improves upon the classical quadratic-time dynamic programming algorithms by a quasi-polynomial factor. Our results yield significant insights into fine-grained complexity: Firstly, for ED, prior work indicates that any exact algorithm cannot be improved beyond a few logarithmic factors without refuting established complexity assumptions [Abboud, Hansen, Vassilevska Williams, Williams, 2016]; our quasi-polynomial speed-up shows a separation the complexity of approximate ED from that of exact ED, even for approximation factor arbitrarily close to $1$. Secondly, for LCS, obtaining similar approximation-time tradeoffs via deterministic algorithms would imply breakthrough circuit lower bounds [Chen, Goldwasser, Lyu, Rothblum, Rubinstein, 2019]; our randomized algorithm demonstrates derandomization hardness for LCS approximation.

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

↑