Secure Random Sampling in Differential Privacy

Naoise Holohan, Stefano Braghin
7/21/2021
cs.CR

Official code: IBM/differential-privacy-library (921 stars, Python, MIT, last commit 2026-11-06).

Abstract

Differential privacy is among the most prominent techniques for preserving privacy of sensitive data, oweing to its robust mathematical guarantees and general applicability to a vast array of computations on data, including statistical analysis and machine learning. Previous work demonstrated that concrete implementations of differential privacy mechanisms are vulnerable to statistical attacks.

Show full abstract

This vulnerability is caused by the approximation of real values to floating point numbers. This paper presents a practical solution to the finite-precision floating point vulnerability, where the inverse transform sampling of the Laplace distribution can itself be inverted, thus enabling an attack where the original value can be retrieved with non-negligible advantage. The proposed solution has the advantages of being generalisable to any infinitely divisible probability distribution, and of simple implementation in modern architectures. Finally, the solution has been designed to make side channel attack infeasible, because of inherently exponential, in the size of the domain, brute force attacks.

View on arXivView PDF

Code Implementations(1)

MIT

Diffprivlib: The IBM Differential Privacy Library

921212PythonJun 18, 20193 weeks agoMIT
data-privacydifferential-privacymachine-learningpython

Similar Papers

Cite this paper

@article{holohan2021secure,
  title  = {Secure Random Sampling in Differential Privacy},
  author = {Naoise Holohan and Stefano Braghin},
  year   = {2021},
  eprint = {2107.10138},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.10138}
}

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

Discussion