Lune

ICDE2025Top-tier venue

Indexing Strings with Utilities

Giulia Bernardini, Huiping Chen, Alessio Conte, Roberto Grossi, Veronica Guerrini, Grigorios Loukides, Nadia Pisanti, Solon P. Pissis

2025Year

Abstract

Applications in domains ranging from bioinformatics to advertising feature strings (sequences of letters over some alphabet) that come with numerical scores (utilities). The utilities quantify the importance, interest, profit, or risk of the letters occurring at every position of a string. For instance, DNA fragments generated by sequencing machines come with a confidence score per position. Motivated by the ever-increasing rate of generating such data, as well as by their importance in several domains, we introduce Useful String Indexing (USI), a natural generalization of the classic String Indexing problem. Given a stringSS(the text) of lengthnn, USI asks for preprocessingSSinto a compact data structure supporting the following queries efficiently: given a shorter stringPP(the pattern), return the global utilityU(P)U(P)ofPPinSS, whereUUis a function that maps any stringPPto a utility score based on the utilities of the letters of every occurrence ofPPinSS. Our work also makes the following contributions: (1) We propose a novel and efficient data structure for USI based on finding the top-KKfrequent substrings ofSS. (2) We propose a linear-space data structure that can be used to mine the top-KKfrequent substrings ofSSor to tune the parameters of the USI data structure. (3) We propose a novel space-efficient algorithm for estimating the set of the top-KKfrequent substrings ofSS, thus improving the construction space of the data structure for USI. (4) We show that popular space-efficient top-KKfrequent item mining strategies employed by state-of-the-art algorithms do not smoothly translate from items to substrings. (5) Using billion-letter datasets, we experimentally demonstrate that: (i) our top-KKfrequent substring mining algorithms are accurate and scalable, unlike two state-of-the-art methods; and (ii) our USI data structures are up to 15 times faster in querying than 4 nontrivial baselines while occupying the same space with them.

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 c91aec3e-17ba-4870-ae07-8afed67d4212

Builds on1

Related papers

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