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

最长公共子序列的线性时间$n^{0.4}$逼近

A Linear-Time $n^{0.4}$-Approximation for Longest Common Subsequence

Karl Bringmann, Vincent Cohen-Addad, Debarati Das

摘要:

我们考虑计算两个长度为$n$的字符串的最长公共子序列(LCS)的经典问题。虽然一个简单的二次算法已经知道的问题超过40年,没有更快的算法已被发现,尽管广泛的努力。缺乏进展的问题最近解释了阿布德,Backurs,和Vassilevska威廉姆斯[FOCS'15]和Bringmann和Künnemann [FOCS'15]谁证明了没有次二次算法,除非强指数时间假设失败。这使得社区寻找次二次近似算法的问题。然而,不像编辑距离问题,其中一个常数因子近似在几乎线性的时间是已知的,非常小的进展已经取得了LCS,使其成为一个众所周知的困难的问题,也在近似领域。对于一般的设置,对于任何常数$0 < \varepsilon \le 1$,只有一个运行时间为$\tilde{O}(n^{2-\varepsilon})$的朴素$O(n^{\varepsilon/2})$ -近似算法是已知的。最近,Hajiaghayi、Seddighin、Seddighin和Sun [SODA'19]的突破性结果提供了一种线性时间算法,该算法在预期中产生$O(n^{0.497956})$近似;首次改进了朴素的$O(\sqrt{n})$近似。在本文中,我们提供了一个算法,在时间$O(n^{2-\varepsilon})$计算$\tilde{O}(n^{2\varepsilon/5})$ -近似的概率很高,任何$0 < \varepsilon \le 1$。我们的结果(1)给出了线性时间上的$\tilde{O}(n^{0.4})$ -近似,改进了Hajiaghayi,Seddighin,Seddighin和Sun的界,(2)提供了一个算法,其近似与任何次二次运行时间$O(n^{2-\varepsilon})$成比例,改进了对于任何$\varepsilon$的$O(n^{\varepsilon/2})$的朴素界,(3)而不是仅仅在预期中,以高概率成功。

英文摘要:

We consider the classic problem of computing the Longest Common Subsequence (LCS) of two strings of length $n$. While a simple quadratic algorithm has been known for the problem for more than 40 years, no faster algorithm has been found despite an extensive effort. The lack of progress on the problem has recently been explained by Abboud, Backurs, and Vassilevska Williams [FOCS'15] and Bringmann and Künnemann [FOCS'15] who proved that there is no subquadratic algorithm unless the Strong Exponential Time Hypothesis fails. This has led the community to look for subquadratic approximation algorithms for the problem. Yet, unlike the edit distance problem for which a constant-factor approximation in almost-linear time is known, very little progress has been made on LCS, making it a notoriously difficult problem also in the realm of approximation. For the general setting, only a naive $O(n^{\varepsilon/2})$-approximation algorithm with running time $\tilde{O}(n^{2-\varepsilon})$ has been known, for any constant $0 < \varepsilon \le 1$. Recently, a breakthrough result by Hajiaghayi, Seddighin, Seddighin, and Sun [SODA'19] provided a linear-time algorithm that yields a $O(n^{0.497956})$-approximation in expectation; improving upon the naive $O(\sqrt{n})$-approximation for the first time. In this paper, we provide an algorithm that in time $O(n^{2-\varepsilon})$ computes an $\tilde{O}(n^{2\varepsilon/5})$-approximation with high probability, for any $0 < \varepsilon \le 1$. Our result (1) gives an $\tilde{O}(n^{0.4})$-approximation in linear time, improving upon the bound of Hajiaghayi, Seddighin, Seddighin, and Sun, (2) provides an algorithm whose approximation scales with any subquadratic running time $O(n^{2-\varepsilon})$, improving upon the naive bound of $O(n^{\varepsilon/2})$ for any $\varepsilon$, and (3) instead of only in expectation, succeeds with high probability.

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

↑