Skip to main content
QUICK REVIEW

[논문 리뷰] Gapped String Indexing in Subquadratic Space and Sublinear Query Time

Philip Bille, Inge Li Gørtz|arXiv (Cornell University)|2022. 11. 30.
Algorithms and Data CompressionComputer Science인용 수 1
한 줄 요약

이 논문은 임의의 0 ≤ δ ≤ 1에 대해 ˜O(n²−δ) 공간과 ˜O(n³δ · (occ + 1)) 쿼리 시간을 달성하는, 처음으로 다항적 비제곱공간 및 다항적 비선형 쿼리 시간을 갖는 Gapped String Indexing를 위한 데이터 구조를 제안한다. 이 접근법은 Shifted Set Intersection 문제를 도입하고, 이 문제가 3SUM Indexing과 동치임을 증명하며, 이를 통해 상수 크기 알파벳에서 문자열 인덱싱 및 Jumbled Indexing 분야의 오랜 시간-공간 상호교환 장벽을 돌파한다.

ABSTRACT

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 $ ilde{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 $ ilde{O}(n^{2-δ/3})$ or $ ilde{O}(n^{3-2δ})$ space and $ ilde{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$.

연구 동기 및 목표

  • Gapped String Indexing에서 오랫동안 지속된 O(n²) 공간과 O(n) 쿼리 시간 장벽을 극복하기 위해.
  • 개선된 시간-공간 상호교환을 갖는 Gapped String Indexing의 보고 및 존재 변형을 위한 효율적인 데이터 구조를 개발하기 위해.
  • Gapped String Indexing, Shifted Set Intersection, 그리고 3SUM Indexing 간의 새로운 연결 고리를 수립하기 위해.
  • 상수 크기 알파벳 하에서 기존의 경계를 향상시키기 위해.

제안 방법

  • Shifted Set Intersection 문제 도입: 집합 S₁,…,Sₖ와 쿼리 (i,j,s)가 주어졌을 때, ∃a∈Sᵢ, b∈Sⱼ 이면서 a+s = b 인지 여부를 판단한다.
  • Shifted Set Intersection이 3SUM의 인덱싱 변형(3SUM Indexing)과 동치임을 증명한다.
  • 간격이 있는 Shifted Set Intersection을 위한 데이터 구조를 설계하여 효율적인 쿼리 처리를 가능하게 한다.
  • 모든 유효한 (a,b) 쌍을 출력하는 보고 변형을 지원하도록 데이터 구조를 확장한다.
  • 접두사/접미사 히스토그램과 유니버스 희소화를 사용하여 Jumbled Indexing을 σ차원 3SUM Indexing으로 환원한다.
  • 결과로 얻어진 3SUM Indexing 데이터 구조를 적용하여 Gapped String Indexing 및 Jumbled Indexing에 대해 향상된 경계를 달성한다.

실험 결과

연구 질문

  • RQ1Gapped String Indexing는 다항적 비제곱공간과 다항적 비선형 쿼리 시간으로 해결될 수 있는가?
  • RQ2Shifted Set Intersection과 3SUM Indexing 간의 관계는 무엇이며, 이를 더 나은 데이터 구조에 활용할 수 있는가?
  • RQ3새로운 3SUM Indexing의 상호교환 경계를 활용하여 기존의 Jumbled Indexing 해법을 향상시킬 수 있는가?
  • RQ4Shifted Set Intersection과 3SUM Indexing 간의 동치성이 문자열 인덱싱 문제에서 더 날카로운 경계를 도출할 수 있는가?

주요 결과

  • 모든 0 ≤ δ ≤ 1에 대해, 보고 기능을 갖는 Gapped String Indexing를 위한 데이터 구조는 ˜O(n²−δ/3) 공간과 ˜O(nδ · (occ + 1) + |P₁| + |P₂|) 쿼리 시간을 달성한다.
  • 다른 상호교환 경로는 ˜O(n³−2δ) 공간과 ˜O(nδ · (occ + 1) + |P₁| + |P₂|) 쿼리 시간을 사용하며, 더 큰 δ에 대해 더 나은 공간 사용을 제공한다.
  • 존재 변형은 ˜O(n²−δ) 공간과 ˜O(n³δ) 쿼리 시간을 달성하며, 이때 occ = 1이다.
  • 논문은 Shifted Set Intersection과 3SUM Indexing 간의 날카로운 연결 고리를 확립하였으며, 이들의 동치성을 증명하였다.
  • 새로운 데이터 구조는 상수 크기 알파벳에서 Jumbled Indexing의 최신 기술을 향상시켰으며, 특히 σ > 5일 경우 두드러진 성능 향상을 보였다.
  • 결과적으로, 이제는 반박된 Strong 3SUM Indexing 추측과 모순되며, 비제곱공간과 비선형 쿼리 시간이 실현 가능하다는 것을 입증한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.