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 string S (the text) of length n, USI asks for preprocessing S into a compact data structure supporting the following queries efficiently: given a shorter string P (the pattern), return the global utility U(P) of P in S, where U is a function that maps any string P to a utility score based on the utilities of the letters of every occurrence of P in S. Our work also makes the following contributions: (1) We propose a novel and efficient data structure for USI based on finding the top- K frequent substrings of S. (2) We propose a linear-space data structure that can be used to mine the top- K frequent substrings of S or to tune the parameters of the USI data structure. (3) We propose a novel space-efficient algorithm for estimating the set of the top- K frequent substrings of S, thus improving the construction space of the data structure for USI. (4) We show that popular space-efficient top- K frequent 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- K frequent 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.

Indexing Strings with Utilities / G. Bernardini, H. Chen, A. Conte, R. Grossi, V. Guerrini, G. Loukides, N. Pisanti, S.P. Pissis (PROCEEDINGS - INTERNATIONAL CONFERENCE ON DATA ENGINEERING). - In: International Conference on Data Engineering[s.l] : Institute of Electrical and Electronics Engineers (IEEE), 2025. - ISBN 9798331536039. - pp. 2782-2795 (( Intervento presentato al 41. convegno ICDE International Conference on Data Engineering : May, 19-23 tenutosi a Hong Kong SAR (China) nel 2025 [10.1109/icde65448.2025.00209].

Indexing Strings with Utilities

G. Bernardini
;
2025

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 string S (the text) of length n, USI asks for preprocessing S into a compact data structure supporting the following queries efficiently: given a shorter string P (the pattern), return the global utility U(P) of P in S, where U is a function that maps any string P to a utility score based on the utilities of the letters of every occurrence of P in S. Our work also makes the following contributions: (1) We propose a novel and efficient data structure for USI based on finding the top- K frequent substrings of S. (2) We propose a linear-space data structure that can be used to mine the top- K frequent substrings of S or to tune the parameters of the USI data structure. (3) We propose a novel space-efficient algorithm for estimating the set of the top- K frequent substrings of S, thus improving the construction space of the data structure for USI. (4) We show that popular space-efficient top- K frequent 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- K frequent 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.
algorithms; high-utility mining; indexing; strings; utility-oriented mining
Settore INFO-01/A - Informatica
Settore IINF-05/A - Sistemi di elaborazione delle informazioni
2025
Institute of Electrical and Electronics Engineers (IEEE)
Book Part (author)
File in questo prodotto:
File Dimensione Formato  
Indexing_Strings_with_Utilities.pdf

accesso riservato

Tipologia: Publisher's version/PDF
Licenza: Nessuna licenza
Dimensione 1.51 MB
Formato Adobe PDF
1.51 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/1184936
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
  • OpenAlex 0
social impact