Numerical Composition of Differential Privacy

Sivakanth Gopi, Yin Tat Lee, Lukas Wutschitz
6/5/2021
cs.DScs.CRcs.LG

Official code: microsoft/prv_accountant (77 stars, Python, MIT, last commit 2024-02-15).

Abstract

We give a fast algorithm to optimally compose privacy guarantees of differentially private (DP) algorithms to arbitrary accuracy. Our method is based on the notion of privacy loss random variables to quantify the privacy loss of DP algorithms.

Show full abstract

The running time and memory needed for our algorithm to approximate the privacy curve of a DP algorithm composed with itself $k$ times is $\tilde{O}(\sqrt{k})$. This improves over the best prior method by Koskela et al. (2020) which requires $\tildeΩ(k^{1.5})$ running time. We demonstrate the utility of our algorithm by accurately computing the privacy loss of DP-SGD algorithm of Abadi et al. (2016) and showing that our algorithm speeds up the privacy computations by a few orders of magnitude compared to prior work, while maintaining similar accuracy.

View on arXivView PDF

Code Implementations(1)

MIT

A fast algorithm to optimally compose privacy guarantees of differentially private (DP) mechanisms to arbitrary accuracy.

7710Python, Jupyter NotebookJun 9, 20212 years agoMIT

Similar Papers

Cite this paper

@article{gopi2021numerical,
  title  = {Numerical Composition of Differential Privacy},
  author = {Sivakanth Gopi and Yin Tat Lee and Lukas Wutschitz},
  year   = {2021},
  eprint = {2106.02848},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.02848}
}

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/2106.02848.svg)](https://codeofpaper.com/paper/2106.02848)

Discussion