Nearly Tight Black-Box Auditing of Differentially Private Machine Learning

Meenatchi Sundaram Muthu Selva Annamalai, Emiliano De Cristofaro
2/3/2026

No official code found. Best implementation: spalabucr/bb-audit-dpsgd (5 stars, last commit 2024-10-04).

Abstract

This paper presents an auditing procedure for the Differentially Private Stochastic Gradient Descent (DP-SGD) algorithm in the black-box threat model that is substantially tighter than prior work. The main intuition is to craft worst-case initial model parameters, as DP-SGD's privacy analysis is agnostic to the choice of the initial model parameters. For models trained on MNIST and CIFAR-10 at theoretical $\varepsilon=10.0$, our auditing procedure yields empirical estimates of $\varepsilon_{emp} = 7.21$ and $6.95$, respectively, on a 1,000-record sample and $\varepsilon_{emp}= 6.48$ and $4.96$ on the full datasets. By contrast, previous audits were only (relatively) tight in stronger white-box models, where the adversary can access the model's inner parameters and insert arbitrary gradients. Overall, our auditing procedure can offer valuable insight into how the privacy analysis of DP-SGD could be improved and detect bugs and DP violations in real-world implementations. The source code needed to reproduce our experiments is available at https://github.com/spalabucr/bb-audit-dpsgd.

View on arXivView PDF

Code Implementations(1)

Source code for black-box auditing DP-SGD

53Shell, PythonOct 2, 20242 years ago

Similar Papers

Cite this paper

@article{annamalai2026nearly,
  title  = {Nearly Tight Black-Box Auditing of Differentially Private Machine Learning},
  author = {Meenatchi Sundaram Muthu Selva Annamalai and Emiliano De Cristofaro},
  year   = {2026},
  eprint = {2405.14106},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.14106},
  url    = {https://arxiv.org/abs/2405.14106},
  journal = {NEURIPS 2024 2024}
}

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

Discussion