English

Efficient Differentially Private $F_0$ Linear Sketching

Data Structures and Algorithms 2020-09-30 v3

Abstract

A powerful feature of linear sketches is that from sketches of two data vectors, one can compute the sketch of the difference between the vectors. This allows us to answer fine-grained questions about the difference between two data sets. In this work, we consider how to construct sketches for weighted F0F_0, i.e., the summed weights of the elements in the data set, that are small, differentially private, and computationally efficient. Let a weight vector w(0,1]uw\in(0,1]^u be given. For x{0,1}ux\in\{0,1\}^u we are interested in estimating xw1\Vert x\circ w\Vert_1 where \circ is the Hadamard product (entrywise product). Building on a technique of Kushilevitz et al.~(STOC 1998), we introduce a sketch (depending on ww) that is linear over GF(2), mapping a vector x{0,1}ux\in \{0,1\}^u to Hx{0,1}τHx\in\{0,1\}^\tau for a matrix HH sampled from a suitable distribution H\mathcal{H}. Differential privacy is achieved by using randomized response, flipping each bit of HxHx with probability p<1/2p<1/2. We show that for every choice of 0<β<10<\beta < 1 and ε=O(1)\varepsilon=O(1) there exists p<1/2p<1/2 and a distribution H\mathcal{H} of linear sketches of size τ=O(log2(u)ε2β2)\tau = O(\log^2(u)\varepsilon^{-2}\beta^{-2}) such that: 1) For random HHH\sim\mathcal{H} and noise vector φ\varphi, given Hx+φHx + \varphi we can compute an estimate of xw1\Vert x\circ w\Vert_1 that is accurate within a factor 1±β1\pm\beta, plus additive error O(log(u)ε2β2)O(\log(u)\varepsilon^{-2}\beta^{-2}), with probability 11/u1-1/u, and 2) For every HHH\sim\mathcal{H}, Hx+φHx + \varphi is ε\varepsilon-differentially private over the randomness in φ\varphi. The special case w=(1,,1)w=(1,\dots,1) is unweighted F0F_0. Our results both improve the efficiency of existing methods for unweighted F0F_0 estimating and extend to a weighted generalization. We also give a distributed streaming implementation for estimating the size of the union between two input streams.

Cite

@article{arxiv.2001.11932,
  title  = {Efficient Differentially Private $F_0$ Linear Sketching},
  author = {Rasmus Pagh and Nina Mesing Stausholm},
  journal= {arXiv preprint arXiv:2001.11932},
  year   = {2020}
}
R2 v1 2026-06-23T13:26:50.190Z