Lune

ICDE2024Top-tier venue

Space-Efficient Indexes for Uncertain Strings

Estéban Gabory, Chang Liu, Grigorios Loukides, Solon P. Pissis, Wiktor Zuba

Abstract

Strings in the real world are often encoded with some level of uncertainty, for example, due to: unreliable data measurements; flexible sequence modeling; or noise introduced for privacy protection. In the character-level uncertainty model, an uncertain string X of lengthnnon an alphabetΣ is a sequence ofnnprobability distributions over Σ. Given an uncertain stringXXand a weight threshold1z∈(0,1)\frac {1}{z}\in(0,1), we say that patternPPoccurs inXXat positionii, if the product of probabilities of the letters ofPPat positionsi,…,i+∣P∣−1i,\ldots, i+ \vert P\vert-1is at least1z\frac {1}{z}. While indexing standard strings for online pattern searches can be performed in linear time and space, indexing uncertain strings is much more challenging. Specifically, the state-of-the-art index for uncertain strings hasO(nz)O(nz)size, requiresO(nz)O(nz)time andO(nz)O(nz)space to be constructed, and answers pattern matching queries in the optimalO(m+[Occl)O(m+ [Occl)time, wheremmis the length ofPPand∣Occ∣\vert Occ\vertis the total number of occurrences ofPPinXX. For largennand (moderate)zzvalues, this index is completely impractical to construct, which outweighs the benefit of the supported optimal pattern matching queries. We were thus motivated to design a space-efficient index at the expense of slower yet competitive pattern matching queries. We show that when we have at hand a lower bound ℓ on the length of the supported pattern queries, as is often the case in real-world applications, we can slash the index size and the construction space roughly by ℓ. In particular, we propose an index ofQ(n/log⁡z)Q (n/ \log z)expected size, which can be constructed usingQ(n/log⁡z)Q (n/ \log z)expected space, and supports very fast pattern matching queries in expectation, for patterns of length m ≥ ℓ. We have implemented and evaluated several versions of our index. The best-performing version of our index is up to two orders of magnitude smaller than the state of the art in terms of both index size and construction space, while offering faster or very competitive query and construction times.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Text Indexing for Long Patterns: Anchors are All you Need cites FSST: Fast Random Access String Compression
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on3

  1. Efficient Probabilistic Truss Indexing on Uncertain GraphsZitan Sun, Xin Huang, Jianliang Xu, Francesco BonchiWWW 2021 · 21 citations
  2. Text Indexing for Long Patterns: Anchors are All you NeedLorraine A. K. Ayad, Grigorios Loukides, Solon P. PissisVLDB 2023 · 10 citations
  3. FSST: Fast Random Access String CompressionPeter Boncz, Thomas Neumann, Viktor LeisVLDB 2020

Related papers

  1. Indexing Strings with UtilitiesGiulia Bernardini, Huiping Chen, Alessio Conte, Roberto Grossi et al.ICDE 2025
  2. Space-Efficient k-Mismatch Text IndexesTomasz Kociumaka, Jakub RadoszewskiSODA 2026 · 1 citation
  3. Space-efficient Query Evaluation over Probabilistic Event StreamsRajeev Alur, Yu Chen, Kishor Jothimurugan, Sanjeev KhannaLICS 2020 · 2 citations
  4. Reliable Community Search on Uncertain GraphsXiaoye Miao, Yue Liu, Lu Chen, Yunjun Gao et al.ICDE 2022 · 18 citations
  5. A Lower Bound for Jumbled IndexingPeyman Afshani, Ingo van Duijn, Rasmus Killmann, Jesper Sindahl NielsenSODA 2020 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines