English

Resilient Pattern Mining

Data Structures and Algorithms 2025-06-06 v1

Abstract

Frequent pattern mining is a flagship problem in data mining. In its most basic form, it asks for the set of substrings of a given string SS of length nn that occur at least τ\tau times in SS, for some integer τ[1,n]\tau\in[1,n]. We introduce a resilient version of this classic problem, which we term the (τ,k)(\tau, k)-Resilient Pattern Mining (RPM) problem. Given a string SS of length nn and two integers τ,k[1,n]\tau, k\in[1,n], RPM asks for the set of substrings of SS that occur at least τ\tau times in SS, even when the letters at any kk positions of SS are substituted by other letters. Unlike frequent substrings, resilient ones account for the fact that changes to string SS are often expensive to handle or are unknown. We propose an exact O(nlogn)\mathcal{O}(n\log n)-time and O(n)\mathcal{O}(n)-space algorithm for RPM, which employs advanced data structures and combinatorial insights. We then present experiments on real large-scale datasets from different domains demonstrating that: (I) The notion of resilient substrings is useful in analyzing genomic data and is more powerful than that of frequent substrings, in scenarios where resilience is required, such as in the case of versioned datasets; (II) Our algorithm is several orders of magnitude faster and more space-efficient than a baseline algorithm that is based on dynamic programming; and (III) Clustering based on resilient substrings is effective.

Keywords

Cite

@article{arxiv.2506.04935,
  title  = {Resilient Pattern Mining},
  author = {Pengxin Bian and Panagiotis Charalampopoulos and Lorraine A. K. Ayad and Manal Mohamed and Solon P. Pissis and Grigorios Loukides},
  journal= {arXiv preprint arXiv:2506.04935},
  year   = {2025}
}

Comments

35 pages, 13 figures