TY - CHAP
T1 - Space-Efficient Indexes for Uncertain Strings
AU - Gabory, Esteban
AU - Liu, Chang
AU - Loukides, Grigorios
AU - Pissis, Solon P.
AU - Zuba, Wiktor
N1 - Publisher Copyright:
© 2024 IEEE.
PY - 2024/3/9
Y1 - 2024/3/9
N2 - 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 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 O(nz) size, requires O(nz) time and O(nz) space to be constructed, and answers pattern matching queries in the optimal O(m+ [Occl) 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 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 of Q (nz/ℓ log z) expected size, which can be constructed using Q (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.
AB - 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 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 O(nz) size, requires O(nz) time and O(nz) space to be constructed, and answers pattern matching queries in the optimal O(m+ [Occl) 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 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 of Q (nz/ℓ log z) expected size, which can be constructed using Q (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.
KW - index
KW - space-efficient
KW - uncertain strings
U2 - 10.1109/ICDE60146.2024.00367
DO - 10.1109/ICDE60146.2024.00367
M3 - Conference paper
AN - SCOPUS:85200512989
T3 - Proceedings - International Conference on Data Engineering
SP - 4828
EP - 4842
BT - Proceedings - 2024 IEEE 40th International Conference on Data Engineering, ICDE 2024
PB - IEEE Computer Society
T2 - 40th IEEE International Conference on Data Engineering, ICDE 2024
Y2 - 13 May 2024 through 17 May 2024
ER -