Auditing Differential Privacy Guarantees Using Density Estimation

Antti Koskela, Jafar Mohammadi

TL;DR

This paper introduces a novel, "black-box" auditing method for differential privacy (DP) guarantees in machine learning models. It bypasses the need for prior knowledge of the DP mechanism's parameters by using histogram-based density estimation to accurately estimate privacy loss, offering a more robust and generalizable approach than existing methods.

What Problem Does This Paper Address?

Ensuring that machine learning models truly adhere to their promised differential privacy (DP) guarantees is crucial for protecting sensitive data. While methods like DP-SGD are widely used, auditing their effectiveness, especially in a "black-box" setting where the auditor doesn't know the inner workings of the DP mechanism, remains a significant challenge. Existing auditing techniques often rely on specific assumptions about the DP mechanism (e.g., knowing the noise distribution or subsampling ratio) or require extensive computational resources (training thousands of models). This paper aims to bridge this gap by providing a more general, efficient, and accurate auditing method that works without such prior knowledge.

Methods

The core of this paper's contribution lies in its novel histogram-based density estimation approach for auditing DP. Instead of relying on specific parametric assumptions about the DP mechanism, the authors propose to:

  • Estimate Probability Distributions: They use samples from two distributions, corresponding to outputs from neighboring datasets, and estimate their densities using histograms. This creates discrete approximations of the underlying distributions.
  • Hockey-Stick Divergence: The estimated discrete distributions are then used to compute the hockey-stick divergence, a measure directly related to DP guarantees.
  • Generalization of Thresholding: This histogram-based approach is shown to generalize existing threshold membership inference attacks, which can be viewed as a special case using only two bins.
  • Confidence Intervals: The paper also develops methods for obtaining frequentist confidence intervals for these estimates, providing a measure of reliability for the audited DP guarantees.
  • White-Box Auditing Extension: For white-box scenarios, they propose a heuristic method to estimate privacy loss distributions (PLDs) that can be used for composition analysis.

Datasets

The paper uses the MNIST dataset for evaluating its black-box auditing method on a neural network classification task.

Key Insights and Ideas

  • Parameter-Agnostic Auditing: The most significant insight is that accurate DP auditing can be achieved without knowing the specific parameters of the DP mechanism (like noise scale or subsampling ratio). This dramatically broadens the applicability of auditing techniques.
  • Histograms as a Powerful Tool: Using simple histograms to estimate probability densities proves surprisingly effective for capturing the nuances of DP guarantees, even when the underlying distributions are complex.
  • Generalization of Existing Methods: The paper elegantly shows how existing, simpler auditing methods (like thresholding) are special cases of their more general histogram-based approach, providing a unified framework.
  • Robustness to Non-Gaussianity: The experiments highlight that their method performs well even when the empirical distributions deviate from Gaussian assumptions, a limitation for some prior methods.

Key Results

  • The proposed histogram-based method accurately estimates trade-off curves for mechanisms like the subsampled Gaussian and Laplace mechanisms, often matching or exceeding the accuracy of methods requiring prior knowledge.
  • In black-box auditing experiments on MNIST, the histogram-based approach provides competitive or superior estimates compared to thresholding-based µ-GDP auditing, especially when empirical distributions are non-Gaussian.
  • The paper analytically demonstrates that the total variation distance (a specific choice of hockey-stick divergence) provides a robust estimator for auditing, particularly for Gaussian distributions.
  • The method is shown to generalize existing membership inference attacks, providing a more principled way to derive DP guarantees from attack success rates.

Limitations and Future Work

  • Heuristic White-Box Estimates: The authors acknowledge that their white-box estimates are heuristic and do not provide confidence intervals for them.
  • Computational Efficiency: While more efficient than some prior methods, further improvements in computational efficiency are desirable, especially for large datasets or complex models.
  • Independence Assumption: The paper notes that for one-shot estimation, the independence of auditing score values is generally assumed, and finding conditions to circumvent this for confidence intervals is an open area.
  • Tighter Confidence Intervals: The authors suggest finding tighter confidence intervals for multinomial distribution estimates as a future direction to improve the reliability of their auditing results.

Summary updated

BibTeX
@inproceedings{koskela2025auditing,
  author = {Antti Koskela and Jafar Mohammadi},
  title = {{Auditing Differential Privacy Guarantees Using Density Estimation}},
  booktitle = {SaTML},
  year = {2025},
  doi = {10.1109/satml64287.2025.00061},
}
Figure