Lune

SODA2026顶会

Explaining the Inherent Tradeoffs for Suffix Array Functionality: Equivalences between String Problems and Prefix Range Queries

Dominik Kempa, Tomasz Kociumaka

摘要

We address a fundamental question in string processing: how much time is needed to access suffix array entries when there is insufficient space to store it in plain form? The suffix array SAT [1 . . n] of a text T of length n is a permutation of 1, . . . , n that encodes the lexicographic ordering of the suffixes of T . While its canonical application is as a pattern matching index, the suffix array's simplicity, space efficiency, and theoretical guarantees have made it a cornerstone of string processing over the past 35 years, with applications spanning data compression, bioinformatics, and information retrieval.

Prior work has developed unidirectional reductions, showing how suffix array queries (given i ∈ [1 . . n], return SAT [i]) can be reduced, among others, to rank queries over the Burrows-Wheeler Transform (BWT). More recently, an alternative family of prefix queries was introduced, along with a reduction that transforms a simple tradeoff for prefix queries-requiring little more than a page to develop-into a suffix array tradeoff that matches all known space and query time bounds, while achieving sublinear construction time. For a binary text T ∈ 0, 1 n , this tradeoff achieves space usage S(n) = O(n) bits, preprocessing time Pt(n) = O(n/ √ log n), preprocessing space Ps(n) = O(n) bits, and query time Q(n) = O(log ϵ n) for any constant ϵ > 0. Despite this progress, a key question remains: can any of these complexities be improved using fundamentally different techniques?

In this work, we address this question as follows:

• We establish the first bidirectional reduction, proving that suffix array queries are, up to an additive O(log log n) term in query time, equivalent to prefix select queries in all four aspects. For a sequence W [1 . . m] of O(log m)-bit strings, a prefix select query, given i ∈ [1 . . m] and a string X, returns the position j of the ith leftmost string W [j] in W with prefix X. Our reduction unifies previous approaches and offers a structured framework for deriving new tradeoffs without sacrificing generality: before this work, prefix select queries constituted merely one approach to efficient suffix array queries, whereas we prove that, up to the O(log log n) additive overhead in query time, they capture all possible suffix array representations.

• We further show that other core string-processing problems-such as inverse suffix array queries, pattern ranking, lexicographic range queries, and pattern SA-interval queries-are also computationally equivalent to distinct types of prefix queries. In total, we identify six fundamental problem pairs, each consisting of a string problem and a corresponding prefix problem, and prove analogous equivalences.

Taken together, our reductions provide a general method for analyzing the efficiency of suffix array and related queries in terms of prefix queries, demonstrating that further improvements to fundamental string problems can be achieved by focusing solely on this recently introduced class of abstract queries.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • 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 引用了 Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix Trees
  • On the Hardness Hierarchy for the O(n√log n) Complexity in the Word RAM 引用了 Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space
  • On the Hardness Hierarchy for the O(n√log n) Complexity in the Word RAM 引用了 Dynamic suffix array with polylogarithmic queries and updates
  • On the Hardness Hierarchy for the O(n√log n) Complexity in the Word RAM 引用了 Lempel-Ziv (LZ77) Factorization in Sublinear Time
  • On the Hardness Hierarchy for the O(n√log n) Complexity in the Word RAM 引用了 Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix Trees
  • 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 引用了 Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix Trees
  • Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix Trees 引用了 Dynamic suffix array with polylogarithmic queries and updates
  • Tight Lower Bounds for Central String Queries in Compressed Space 引用了 Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space
  • Tight Lower Bounds for Central String Queries in Compressed Space 引用了 On the Hardness Hierarchy for the O(n√log n) Complexity in the Word RAM
  • Tight Lower Bounds for Central String Queries in Compressed Space 引用了 Lempel-Ziv (LZ77) Factorization in Sublinear Time
  • Tight Lower Bounds for Central String Queries in Compressed Space 引用了 Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix Trees
  • Optimal Random Access and Conditional Lower Bounds for 2D Compressed Strings 引用了 Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space
  • Optimal Random Access and Conditional Lower Bounds for 2D Compressed Strings 引用了 On the Hardness Hierarchy for the O(n√log n) Complexity in the Word RAM
  • Optimal Random Access and Conditional Lower Bounds for 2D Compressed Strings 引用了 Lempel-Ziv (LZ77) Factorization in Sublinear Time
  • Optimal Random Access and Conditional Lower Bounds for 2D Compressed Strings 引用了 Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix Trees
  • Optimal Random Access and Conditional Lower Bounds for 2D Compressed Strings 引用了 Tight Lower Bounds for Central String Queries in Compressed Space
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Tight Lower Bounds for Central String Queries in Compressed SpaceDominik Kempa, Tomasz KociumakaSODA 2026
  2. Optimal Random Access and Conditional Lower Bounds for 2D Compressed StringsRajat De, Dominik KempaSODA 2026

它引用的 Paper6

  1. Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed SpaceDominik Kempa, Tomasz KociumakaFOCS 2023 · 20 次引用
  2. Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix TreesDominik Kempa, Tomasz KociumakaSODA 2023 · 10 次引用
  3. Lempel-Ziv (LZ77) Factorization in Sublinear TimeDominik Kempa, Tomasz KociumakaFOCS 2024 · 2 次引用
  4. On the Hardness Hierarchy for the O(n√log n) Complexity in the Word RAMDominik Kempa, Tomasz KociumakaSTOC 2025
  5. Dynamic suffix array with polylogarithmic queries and updatesDominik Kempa, Tomasz KociumakaSTOC 2022

相关 Paper

  1. Space-Efficient Text Indexing with Mismatches using Function InversionJackson Bibbens, Levi Borevitz, Samuel McCauleySTOC 2026 · 2 次引用
  2. Suffix Rank: a new scalable algorithm for indexing large string collectionsMarina Barsky, Jonathan Gabor, Mariano P. Consens, Alex ThomoVLDB 2020
  3. Resolution of the Burrows-Wheeler Transform ConjectureDominik Kempa, Tomasz KociumakaFOCS 2020 · 32 次引用
  4. Space-Efficient k-Mismatch Text IndexesTomasz Kociumaka, Jakub RadoszewskiSODA 2026 · 1 次引用
  5. Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv FactorizationDaniel Gibney, Ce Jin, Tomasz Kociumaka, Sharma V. ThankachanSODA 2024 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖