A Smooth Binary Mechanism for Efficient Private Continual Observation

Joel Daniel Andersson, Rasmus Pagh
6/16/2023
cs.LGcs.CRcs.DS

No official code found. Best implementation: jodander/smooth-binary-mechanism (3 stars, MIT, last commit 2023-09-20).

Abstract

In privacy under continual observation we study how to release differentially private estimates based on a dataset that evolves over time. The problem of releasing private prefix sums of $x_1,x_2,x_3,\dots \in\{0,1\}$ (where the value of each $x_i$ is to be private) is particularly well-studied, and a generalized form is used in state-of-the-art methods for private stochastic gradient descent (SGD). The seminal binary mechanism privately releases the first $t$ prefix sums with noise of variance polylogarithmic in $t$. Recently, Henzinger et al. and Denisov et al. showed that it is possible to improve on the binary mechanism in two ways: The variance of the noise can be reduced by a (large) constant factor, and also made more even across time steps. However, their algorithms for generating the noise distribution are not as efficient as one would like in terms of computation time and (in particular) space. We address the efficiency problem by presenting a simple alternative to the binary mechanism in which 1) generating the noise takes constant average time per value, 2) the variance is reduced by a factor about 4 compared to the binary mechanism, and 3) the noise distribution at each step is identical. Empirically, a simple Python implementation of our approach outperforms the running time of the approach of Henzinger et al., as well as an attempt to improve their algorithm using high-performance algorithms for multiplication with Toeplitz matrices.

View on arXivView PDF

Code Implementations(1)

MIT

An implementation of the algorithm described in https://arxiv.org/abs/2306.09666

30Python, Jupyter NotebookAug 28, 20233 years agoMIT

Similar Papers

Cite this paper

@article{andersson2023smooth,
  title  = {A Smooth Binary Mechanism for Efficient Private Continual Observation},
  author = {Joel Daniel Andersson and Rasmus Pagh},
  year   = {2023},
  eprint = {2306.09666},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.09666v2},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.09666.svg)](https://codeofpaper.com/paper/2306.09666)

Discussion