arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.03352cs.DScs.AIcs.CCcs.LG
收藏

A Fast Randomized Algorithm for Finding the Maximal Common Subsequences

Nokia Bell Labs(诺基亚贝尔实验室);Rutgers University(罗格斯大学)

Jin Cao, Dewei Zhong

英文摘要:

Finding the common subsequences of $L$ multiple strings has many applications in the area of bioinformatics, computational linguistics, and information retrieval. A well-known result states that finding a Longest Common Subsequence (LCS) for $L$ strings is NP-hard, e.g., the computational complexity is exponential in $L$. In this paper, we develop a randomized algorithm, referred to as {\em Random-MCS}, for finding a random instance of Maximal Common Subsequence ($MCS$) of multiple strings. A common subsequence is {\em maximal} if inserting any character into the subsequence no longer yields a common subsequence. A special case of MCS is LCS where the length is the longest. We show the complexity of our algorithm is linear in $L$, and therefore is suitable for large $L$. Furthermore, we study the occurrence probability for a single instance of MCS and demonstrate via both theoretical and experimental studies that the longest subsequence from multiple runs of {\em Random-MCS} often yields a solution to $LCS$.

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

↑