English

Fast and Optimal Differentially Private Frequent-Substring Mining

Data Structures and Algorithms 2026-03-11 v1 Cryptography and Security

Abstract

Given a dataset of nn user-contributed strings, each of length at most \ell, a key problem is how to identify all frequent substrings while preserving each user's privacy. Recent work by Bernardini et al. (PODS'25) introduced a ε\varepsilon-differentially private algorithm achieving near-optimal error, but at the prohibitive cost of O(n24)O(n^2\ell^4) space and processing time. In this work, we present a new ε\varepsilon-differentially private algorithm that retains the same near-optimal error guarantees while reducing space complexity to O(n+Σ)O(n \ell+ |\Sigma| ) and time complexity to O(nlogΣ+Σ)O(n \ell\log |\Sigma| + |\Sigma| ), for input alphabet Σ\Sigma. Our approach builds on a top-down exploration of candidate substrings but introduces two new innovations: (i) a refined candidate-generation strategy that leverages the structural properties of frequent prefixes and suffixes, and (ii) pruning of the search space guided by frequency relations. These techniques eliminate the quadratic blow-ups inherent in prior work, enabling scalable frequent substring mining under differential privacy.

Keywords

Cite

@article{arxiv.2603.09166,
  title  = {Fast and Optimal Differentially Private Frequent-Substring Mining},
  author = {Peaker Guo and Rayne Holland and Hao Wu},
  journal= {arXiv preprint arXiv:2603.09166},
  year   = {2026}
}

Comments

21 pages, 2 figures, 1 table

R2 v1 2026-07-01T11:11:37.730Z