English

Towards Better Bounds for Finding Quasi-Identifiers

Data Structures and Algorithms 2023-04-14 v3

Abstract

We revisit the problem of finding small ϵ\epsilon-separation keys introduced by Motwani and Xu (2008). In this problem, the input is mm-dimensional tuples x1,x2,,xnx_1,x_2,\ldots,x_n . The goal is to find a small subset of coordinates that separates at least (1ϵ)(n2)(1-\epsilon){n \choose 2} pairs of tuples. They provided a fast algorithm that runs on Θ(m/ϵ)\Theta(m/\epsilon) tuples sampled uniformly at random. We show that the sample size can be improved to Θ(m/ϵ)\Theta(m/\sqrt{\epsilon}). Our algorithm also enjoys a faster running time. To obtain this result, we provide upper and lower bounds on the sample size to solve the following decision problem. Given a subset of coordinates AA, reject if AA separates fewer than (1ϵ)(n2)(1-\epsilon){n \choose 2} pairs, and accept if AA separates all pairs. The algorithm must be correct with probability at least 1δ1-\delta for all AA. We show that for algorithms based on sampling: - Θ(m/ϵ)\Theta(m/\sqrt{\epsilon}) samples are sufficient and necessary so that δem\delta \leq e^{-m} and - Ω(logmϵ)\Omega(\sqrt{\frac{\log m}{\epsilon}}) samples are necessary so that δ\delta is a constant. Our analysis is based on a constrained version of the balls-into-bins problem. We believe our analysis may be of independent interest. We also study a related problem that asks for the following sketching algorithm: with given parameters α,k\alpha,k and ϵ\epsilon, the algorithm takes a subset of coordinates AA of size at most kk and returns an estimate of the number of unseparated pairs in AA up to a (1±ϵ)(1\pm\epsilon) factor if it is at least α(n2)\alpha {n \choose 2}. We show that even for constant α\alpha and success probability, such a sketching algorithm must use Ω(mklogϵ1)\Omega(mk \log \epsilon^{-1}) bits of space; on the other hand, uniform sampling yields a sketch of size Θ(mklogmαϵ2)\Theta(\frac{mk \log m}{\alpha \epsilon^2}) for this purpose.

Keywords

Cite

@article{arxiv.2211.13882,
  title  = {Towards Better Bounds for Finding Quasi-Identifiers},
  author = {Ryan Hildebrant and Quoc-Tung Le and Duy-Hoang Ta and Hoa T. Vu},
  journal= {arXiv preprint arXiv:2211.13882},
  year   = {2023}
}

Comments

To appear in PODS 2023. Abstract shortened to meet requirements

R2 v1 2026-06-28T07:12:16.283Z