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

亚二次空间与亚线性查询时间下的间隙字符串索引

Gapped String Indexing in Subquadratic Space and Sublinear Query Time

Philip Bille, Inge Li Gørtz, Moshe Lewenstein, Solon P. Pissis, Eva Rotenberg, Teresa Anna Steiner

AI总结:

本文研究间隙字符串索引的时空权衡,提出移位集合交集并证明其等价于 3SUM Indexing,通过归约首次实现多项式亚二次空间与亚线性查询时间,并改进 3SUM 报告和 Jumbled Indexing。

摘要:

在间隙字符串索引(Gapped String Indexing)中,目标是紧凑地表示一个长度为 n 的字符串 S,使得对于任意由两个字符串 P1 和 P2(称为模式)以及一个整数区间 [α, β](称为间隙范围)组成的查询,我们都能快速找到 P1 和 P2 在 S 中距离位于 [α, β] 内的出现。间隙字符串索引是计算生物学和文本挖掘中的核心问题,因此受到了大量研究关注,包括参数化方法和启发式方法。尽管有这种关注,间隙字符串索引最著名的时间-空间权衡仍然是两种直接方案:O(n) 空间与 O(n+occ) 查询时间,或 Ω(n^2) 空间与 \ ilde{O}(|P1| + |P2| + occ) 查询时间。我们突破了这一障碍,得到了首批具有多项式意义上亚二次空间和多项式意义上亚线性查询时间的有意义权衡。具体而言,我们证明,对于每个 0≤δ≤1,都存在一种用于间隙字符串索引的数据结构,其空间为 \ ilde{O}(n^{2-δ/3}) 或 \ ilde{O}(n^{3-2δ}),查询时间为 \ ilde{O}(|P1| + |P2| + n^δ·(occ+1)),其中 occ 是所报告出现的数量。作为获得主要结果的新工具,我们引入了移位集合交集(Shifted Set Intersection)问题。我们证明该问题等价于 3SUM 的索引变体(3SUM Indexing)。通过一系列归约,我们获得了间隙字符串索引问题的一个解。此外,我们增强了用于判定移位集合交集的数据结构,使其能够支持该问题的报告变体。借助所得到的与 3SUM Indexing 的等价性,我们因此为 3SUM Indexing 的报告变体给出了新的改进数据结构,并且我们展示了对于任意常数大小 σ>5 的字母表,这如何改进 Jumbled Indexing 的当前最优解决方案。

英文摘要:

In Gapped String Indexing, the goal is to compactly represent a string $S$ of length $n$ such that for any query consisting of two strings $P_1$ and $P_2$, called patterns, and an integer interval $[α, β]$, called gap range, we can quickly find occurrences of $P_1$ and $P_2$ in $S$ with distance in $[α, β]$. Gapped String Indexing is a central problem in computational biology and text mining and has thus received significant research interest, including parameterized and heuristic approaches. Despite this interest, the best-known time-space trade-offs for Gapped String Indexing are the straightforward $O(n)$ space and $O(n+occ)$ query time or $Ω(n^2)$ space and $\tilde{O}(|P_1| + |P_2| + occ)$ query time. We break through this barrier obtaining the first interesting trade-offs with polynomially subquadratic space and polynomially sublinear query time. In particular, we show that, for every $0\leq δ\leq 1$, there is a data structure for Gapped String Indexing with either $\tilde{O}(n^{2-δ/3})$ or $\tilde{O}(n^{3-2δ})$ space and $\tilde{O}(|P_1| + |P_2| + n^δ\cdot (occ+1))$ query time, where $occ$ is the number of reported occurrences. As a new tool towards obtaining our main result, we introduce the Shifted Set Intersection problem. We show that this problem is equivalent to the indexing variant of 3SUM (3SUM Indexing). Via a series of reductions, we obtain a solution to the Gapped String Indexing problem. Furthermore, we enhance our data structure for deciding Shifted Set Intersection, so that we can support the reporting variant of the problem. Via the obtained equivalence to 3SUM Indexing, we thus give new improved data structures for the reporting variant of 3SUM Indexing, and we show how this improves upon the state-of-the-art solution for Jumbled Indexing for any alphabet of constant size $σ>5$.

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

↑