arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1501.07053cs.CCcs.DS
收藏

LCS及其它序列相似性测度的二次时间硬度

Quadratic-Time Hardness of LCS and other Sequence Similarity Measures

Amir Abboud, Arturs Backurs, Virginia Vassilevska Williams

摘要:

两个重要的序列之间的相似性度量是最长公共子序列(LCS)和动态时间弯曲距离(DTWD)。在各种应用中,对两个给定序列的这些测量的计算是中心任务。简单的动态规划算法在$O(n^2)$时间内解决了这些任务,尽管进行了大量的研究,但没有已知的具有显著更好的最坏情况上限的算法。在本文中,我们证明了一个$O(n^{2-ε})$时间算法,对于某些$ε>0$,用于计算长度为$n$的两个序列的LCS或DTWD在一个恒定大小的字母表,驳斥了流行的强指数时间假设(SETH)。此外,我们表明,计算LCS的$k$字符串的大小$O(k)$的字母表不能在$O(n^{k-ε})$的时间,任何$ε>0$,SETH下。最后,我们还解决了近似的DTWD的两个字符串在真正的次二次时间的时间复杂度。

英文摘要:

Two important similarity measures between sequences are the longest common subsequence (LCS) and the dynamic time warping distance (DTWD). The computations of these measures for two given sequences are central tasks in a variety of applications. Simple dynamic programming algorithms solve these tasks in $O(n^2)$ time, and despite an extensive amount of research, no algorithms with significantly better worst case upper bounds are known. In this paper, we show that an $O(n^{2-ε})$ time algorithm, for some $ε>0$, for computing the LCS or the DTWD of two sequences of length $n$ over a constant size alphabet, refutes the popular Strong Exponential Time Hypothesis (SETH). Moreover, we show that computing the LCS of $k$ strings over an alphabet of size $O(k)$ cannot be done in $O(n^{k-ε})$ time, for any $ε>0$, under SETH. Finally, we also address the time complexity of approximating the DTWD of two strings in truly subquadratic time.

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

↑