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

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. Text Indexing for Long Patterns: Anchors are All you NeedLorraine A. K. Ayad, Grigorios Loukides, Solon P. PissisVLDB 2023 · 10 citations

Related papers

  1. Contextual Pattern Mining and CountingLing Li, Daniel Gibney, Sharma V. Thankachan, Solon P. Pissis et al.ICDE 2026
  2. Efficiently Enumerating Substrings with Statistically Significant Frequencies of Locally Optimal Occurrences in Gigantic StringAtsuyoshi Nakamura, Ichigaku Takigawa, Hiroshi MamitsukaAAAI 2020 · 2 citations
  3. Suffix Rank: a new scalable algorithm for indexing large string collectionsMarina Barsky, Jonathan Gabor, Mariano P. Consens, Alex ThomoVLDB 2020
  4. Space-Efficient Indexes for Uncertain StringsEstéban Gabory, Chang Liu, Grigorios Loukides, Solon P. Pissis et al.ICDE 2024 · 2 citations
  5. SSCard: Substring Cardinality Estimation using Suffix Tree-Guided Learned FM-IndexYirui Zhan, Wen Nie, Jun GaoSIGMOD 2026
Dusk over the sea between two cliffs drawn in fine vertical lines