Space-Efficient Indexes for Uncertain Strings

CoRR(2024)

引用 0|浏览3
暂无评分
摘要
Strings in the real world are often encoded with some level of uncertainty. In the character-level uncertainty model, an uncertain string X of length n on an alphabet Σ is a sequence of n probability distributions over Σ. Given an uncertain string X and a weight threshold 1/z∈(0,1], we say that pattern P occurs in X at position i, if the product of probabilities of the letters of P at positions i,…,i+|P|-1 is at least 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 has 𝒪(nz) size, requires 𝒪(nz) time and 𝒪(nz) space to be constructed, and answers pattern matching queries in the optimal 𝒪(m+|Occ|) time, where m is the length of P and |Occ| is the total number of occurrences of P in X. For large n and (moderate) z values, 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 propose an index of 𝒪(nz/ℓlog z) expected size, which can be constructed using 𝒪(nz/ℓ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.
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要