Widespread Underestimation of Sensitivity in Differentially Private Libraries and How to Fix It

Sílvia Casacuberta, Michael Shoemate, Salil Vadhan, Connor Wagaman
7/21/2022
43 citations
cs.CR

Official code: google/differential-privacy (3,375 stars, Go, Apache-2.0, last commit 2026-11-13).

Abstract

We identify a new class of vulnerabilities in implementations of differential privacy. Specifically, they arise when computing basic statistics such as sums, thanks to discrepancies between the implemented arithmetic using finite data types (namely, ints or floats) and idealized arithmetic over the reals or integers.

Show full abstract

These discrepancies cause the sensitivity of the implemented statistics (i.e., how much one individual's data can affect the result) to be much larger than the sensitivity we expect. Consequently, essentially all differential privacy libraries fail to introduce enough noise to meet the requirements of differential privacy, and we show that this may be exploited in realistic attacks that can extract individual-level information from private query systems. In addition to presenting these vulnerabilities, we also provide a number of solutions, which modify or constrain the way in which the sum is implemented in order to recover the idealized or near-idealized bounds on sensitivity.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Google's differential privacy libraries.

3,375442Go, C++Sep 4, 20192 weeks agoApache-2.0
anonymizationdifferential-privacyprivacy

Similar Papers

Cite this paper

@article{casacuberta2022widespread,
  title  = {Widespread Underestimation of Sensitivity in Differentially Private Libraries and How to Fix It},
  author = {Sílvia Casacuberta and Michael Shoemate and Salil Vadhan and Connor Wagaman},
  year   = {2022},
  eprint = {2207.10635},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.10635}
}

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

Discussion