Lune

ICDE2024Top-tier venue

Space-Efficient Indexes for Uncertain Strings

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

2024Year
2Citations

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 about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext c6b15194-92a2-4aea-91ed-4a78f8585c97

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines