Table of Contents
Fetching ...

String Sanitization Under Edit Distance: Improved and Generalized

Takuya Mieno, Solon P. Pissis, Leen Stougie, Michelle Sweering

TL;DR

The main results can be summarized as follows: an $\mathcal{O}(n^2\log^2k)$-time algorithm to solve ETFS, a generalization of ETFS in which the elements of $\Mathcal{S}$ can have arbitrary lengths, and an AETFS, ageneralization of Exxon Mobil's EMMD, which is a generalizations of ExxonMobil's EMT, which can be solved in less time.

Abstract

Let $W$ be a string of length $n$ over an alphabet $Σ$, $k$ be a positive integer, and $\mathcal{S}$ be a set of length-$k$ substrings of $W$. The ETFS problem asks us to construct a string $X_{\mathrm{ED}}$ such that: (i) no string of $\mathcal{S}$ occurs in $X_{\mathrm{ED}}$; (ii) the order of all other length-$k$ substrings over $Σ$ (and thus the frequency) is the same in $W$ and in $X_{\mathrm{ED}}$; and (iii) $X_{\mathrm{ED}}$ has minimal edit distance to $W$. When $W$ represents an individual's data and $\mathcal{S}$ represents a set of confidential patterns, the ETFS problem asks for transforming $W$ to preserve its privacy and its utility [Bernardini et al., ECML PKDD 2019]. ETFS can be solved in $\mathcal{O}(n^2k)$ time [Bernardini et al., CPM 2020]. The same paper shows that ETFS cannot be solved in $\mathcal{O}(n^{2-δ})$ time, for any $δ>0$, unless the Strong Exponential Time Hypothesis (SETH) is false. Our main results can be summarized as follows: (i) an $\mathcal{O}(n^2\log^2k)$-time algorithm to solve ETFS; and (ii) an $\mathcal{O}(n^2\log^2n)$-time algorithm to solve AETFS, a generalization of ETFS in which the elements of $\mathcal{S}$ can have arbitrary lengths. Our algorithms are thus optimal up to polylogarithmic factors, unless SETH fails. Beyond string sanitization, our techniques may inspire solutions to other problems related to regular expressions or context-free grammars.

String Sanitization Under Edit Distance: Improved and Generalized

TL;DR

The main results can be summarized as follows: an -time algorithm to solve ETFS, a generalization of ETFS in which the elements of can have arbitrary lengths, and an AETFS, ageneralization of Exxon Mobil's EMMD, which is a generalizations of ExxonMobil's EMT, which can be solved in less time.

Abstract

Let be a string of length over an alphabet , be a positive integer, and be a set of length- substrings of . The ETFS problem asks us to construct a string such that: (i) no string of occurs in ; (ii) the order of all other length- substrings over (and thus the frequency) is the same in and in ; and (iii) has minimal edit distance to . When represents an individual's data and represents a set of confidential patterns, the ETFS problem asks for transforming to preserve its privacy and its utility [Bernardini et al., ECML PKDD 2019]. ETFS can be solved in time [Bernardini et al., CPM 2020]. The same paper shows that ETFS cannot be solved in time, for any , unless the Strong Exponential Time Hypothesis (SETH) is false. Our main results can be summarized as follows: (i) an -time algorithm to solve ETFS; and (ii) an -time algorithm to solve AETFS, a generalization of ETFS in which the elements of can have arbitrary lengths. Our algorithms are thus optimal up to polylogarithmic factors, unless SETH fails. Beyond string sanitization, our techniques may inspire solutions to other problems related to regular expressions or context-free grammars.

Paper Structure

This paper contains 2 sections, 2 theorems.

Table of Contents

  1. Introduction
  2. Preliminaries

Key Result

Theorem 2

The ETFS problem can be solved in $\mathcal{O}(n^2\log^2k)$ time.

Theorems & Definitions (4)

  • Example 1
  • Theorem 2
  • Example 3
  • Theorem 4