Lune

SODA2023顶会

Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix Trees

Dominik Kempa, Tomasz Kociumaka

摘要

The suffix array, describing the lexicographical order of suffixes of a given text, and the suffix tree, a path-compressed trie of all suffixes, are the two most fundamental data structures for string processing, with plethora of applications in data compression, bioinformatics, and information retrieval. For a length-n text, however, they use Θ(n log n) bits of space, which is often too costly. To address this, Grossi and Vitter [STOC 2000] and, independently, Ferragina and Manzini [FOCS 2000] introduced space-efficient versions of the suffix array, known as the compressed suffix array (CSA) and the FM-index. Sadakane [SODA 2002] then showed how to augment them to obtain the compressed suffix tree (CST). For a length-n text over an alphabet of size σ, these structures use only O(n log σ) bits. Nowadays, these structures are part of the standard toolbox: modern textbooks spend dozens of pages describing their applications, and they almost completely replaced suffix arrays and suffix trees in space-critical applications. The biggest remaining open question is how efficiently they can be constructed. After two decades, the fastest algorithms still run in O(n) time [Hon et al., FOCS 2003], which is Θ(log σ n) factor away from the lower bound of Ω(n/ log σ n) (following from the necessity to read the input).

In this paper, we make the first in 20 years improvement in n for this problem by proposing a new compressed suffix array and a new compressed suffix tree which admit o(n)-time construction algorithms while matching the space bounds and the query times of the original CSA/CST and the FM-index. More precisely, our structures take O(n log σ) bits, support SA queries and full suffix tree functionality in O(log n) time per operation, and can be constructed in O(n min(1, log σ/ √ log n)) time using O(n log σ) bits of working space. (For example, if σ = 2, the construction time is O(n/ √ log n) = o(n).) We derive this result as a corollary from a much more general reduction: We prove that all parameters of a compressed suffix array/tree (query time, space, construction time, and construction working space) can essentially be reduced to those of a data structure answering new query types that we call prefix rank and prefix selection. Using the novel techniques, we also develop a new index for pattern matching.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching 引用了 Near-Optimal Quantum Algorithms for String Problems
  • Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching 引用了 Dynamic suffix array with polylogarithmic queries and updates
  • Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching 引用了 Resolution of the Burrows-Wheeler Transform Conjecture
  • Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space 引用了 Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching
  • Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space 引用了 Near-Optimal Quantum Algorithms for String Problems
  • Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space 引用了 Dynamic suffix array with polylogarithmic queries and updates
  • Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space 引用了 Resolution of the Burrows-Wheeler Transform Conjecture
  • Dynamic suffix array with polylogarithmic queries and updates 引用了 Near-Optimal Quantum Algorithms for String Problems
  • Dynamic suffix array with polylogarithmic queries and updates 引用了 Resolution of the Burrows-Wheeler Transform Conjecture
  • Lempel-Ziv (LZ77) Factorization in Sublinear Time 引用了 Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space
  • Lempel-Ziv (LZ77) Factorization in Sublinear Time 引用了 Resolution of the Burrows-Wheeler Transform Conjecture
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed SpaceDominik Kempa, Tomasz KociumakaFOCS 2023 · 20 次引用
  2. Near-Optimal Quantum Algorithms for String ProblemsShyan Akmal, Ce JinSODA 2022 · 15 次引用
  3. Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch MatchingCe Jin, Jakob NoglerSODA 2023 · 10 次引用
  4. Text Indexing for Long Patterns: Anchors are All you NeedLorraine A. K. Ayad, Grigorios Loukides, Solon P. PissisVLDB 2023 · 10 次引用
  5. Lempel-Ziv (LZ77) Factorization in Sublinear TimeDominik Kempa, Tomasz KociumakaFOCS 2024 · 2 次引用

它引用的 Paper2

  1. Resolution of the Burrows-Wheeler Transform ConjectureDominik Kempa, Tomasz KociumakaFOCS 2020 · 32 次引用
  2. Dynamic suffix array with polylogarithmic queries and updatesDominik Kempa, Tomasz KociumakaSTOC 2022

相关 Paper

  1. Explaining the Inherent Tradeoffs for Suffix Array Functionality: Equivalences between String Problems and Prefix Range QueriesDominik Kempa, Tomasz KociumakaSODA 2026
  2. Locally Consistent Parsing for Text Indexing in Small SpaceOr Birenzwige, Shay Golan, Ely PoratSODA 2020 · 16 次引用
  3. Tight Lower Bounds for Central String Queries in Compressed SpaceDominik Kempa, Tomasz KociumakaSODA 2026
  4. Space-Efficient Text Indexing with Mismatches using Function InversionJackson Bibbens, Levi Borevitz, Samuel McCauleySTOC 2026 · 2 次引用
  5. Suffix Rank: a new scalable algorithm for indexing large string collectionsMarina Barsky, Jonathan Gabor, Mariano P. Consens, Alex ThomoVLDB 2020
黄昏的海面,两侧是细线勾勒的悬崖