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

具有不匹配和差异的文本索引的下限

Lower bounds for text indexing with mismatches and differences

Vincent Cohen-Addad, Laurent Feuilloley, Tatiana Starikovskaya

摘要:

在本文中,我们研究的基本问题,文本索引的不匹配和差异的下限。在这个问题中,我们给出了一个长度为$n$的长字符串,即“文本”,任务是将其预处理成一个数据结构,以便在给定查询字符串$Q$的情况下,可以快速识别出在汉明或编辑距离内的子字符串,这些子字符串最多与$Q$相距$k$。这个问题是生物学和文本处理中出现的各种问题的核心。虽然精确的文本索引允许线性查询时间的线性大小的数据结构,但具有$k$不匹配(或$k$差异)的文本索引似乎要困难得多:所有已知的数据结构都在空间或时间范围内对$k$具有指数依赖性。我们提供了条件和指针机器的下限,使一个步骤来解释这种现象。我们从证明$k = Θ(\log n)$的下限开始。我们表明,假设强指数时间假设,任何数据结构的文本索引,可以在多项式时间内构建不能有$\mathcal{O}(n^{1-δ})$查询时间,任何$δ>0$。这个界限也扩展到我们只要求文本索引的$(1+\varepsilon)$近似解决方案的设置。然而,在许多应用中,$k$的值相当小,人们可能希望对于小的~ $k$,我们可以开发更有效的解决方案。我们表明,这将需要一个全新的方法,因为使用目前的方法不能避免指数依赖于$k$无论是在空间中,或在时间范围内的所有甚至$\frac{8}{\sqrt{3}} \sqrt{\log n} \le k = o(\log n)$。我们的下限也适用于字典查找问题,其中不是文本,而是一组字符串。

英文摘要:

In this paper we study lower bounds for the fundamental problem of text indexing with mismatches and differences. In this problem we are given a long string of length $n$, the "text", and the task is to preprocess it into a data structure such that given a query string $Q$, one can quickly identify substrings that are within Hamming or edit distance at most $k$ from $Q$. This problem is at the core of various problems arising in biology and text processing. While exact text indexing allows linear-size data structures with linear query time, text indexing with $k$ mismatches (or $k$ differences) seems to be much harder: All known data structures have exponential dependency on $k$ either in the space, or in the time bound. We provide conditional and pointer-machine lower bounds that make a step toward explaining this phenomenon. We start by demonstrating lower bounds for $k = Θ(\log n)$. We show that assuming the Strong Exponential Time Hypothesis, any data structure for text indexing that can be constructed in polynomial time cannot have $\mathcal{O}(n^{1-δ})$ query time, for any $δ>0$. This bound also extends to the setting where we only ask for $(1+\varepsilon)$-approximate solutions for text indexing. However, in many applications the value of $k$ is rather small, and one might hope that for small~$k$ we can develop more efficient solutions. We show that this would require a radically new approach as using the current methods one cannot avoid exponential dependency on $k$ either in the space, or in the time bound for all even $\frac{8}{\sqrt{3}} \sqrt{\log n} \le k = o(\log n)$. Our lower bounds also apply to the dictionary look-up problem, where instead of a text one is given a set of strings.

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

↑