[Paper Review] Bayesian Estimation of Differential Privacy
This paper proposes a novel Bayesian method for estimating differential privacy (DP) budgets in machine learning, leveraging joint posterior distributions of false positive and false negative rates from membership inference attacks to derive significantly tighter credible intervals for ε. The approach reduces required sample sizes by up to 40% compared to prior methods and adapts a heuristic from label-only DP to generate multiple samples per model, cutting computational costs by up to two orders of magnitude.
Algorithms such as Differentially Private SGD enable training machine learning models with formal privacy guarantees. However, there is a discrepancy between the protection that such algorithms guarantee in theory and the protection they afford in practice. An emerging strand of work empirically estimates the protection afforded by differentially private training as a confidence interval for the privacy budget $\varepsilon$ spent on training a model. Existing approaches derive confidence intervals for $\varepsilon$ from confidence intervals for the false positive and false negative rates of membership inference attacks. Unfortunately, obtaining narrow high-confidence intervals for $ε$ using this method requires an impractically large sample size and training as many models as samples. We propose a novel Bayesian method that greatly reduces sample size, and adapt and validate a heuristic to draw more than one sample per trained model. Our Bayesian method exploits the hypothesis testing interpretation of differential privacy to obtain a posterior for $\varepsilon$ (not just a confidence interval) from the joint posterior of the false positive and false negative rates of membership inference attacks. For the same sample size and confidence, we derive confidence intervals for $\varepsilon$ around 40% narrower than prior work. The heuristic, which we adapt from label-only DP, can be used to further reduce the number of trained models needed to get enough samples by up to 2 orders of magnitude.
Motivation & Objective
- To address the gap between theoretical DP guarantees and practical privacy protection in ML models.
- To overcome the limitations of existing methods that rely on separate Clopper-Pearson confidence intervals for false positive and false negative rates, which require large sample sizes and yield wide intervals.
- To reduce the computational cost of empirical DP estimation by adapting a heuristic to generate multiple samples per model, reducing the number of independently trained models needed.
- To provide more accurate and reliable estimates of effective privacy budgets (ε) for real-world ML pipelines.
- To validate the fidelity of the adapted heuristic across different model types and privacy regimes, including non-DP models.
Proposed method
- Models the joint posterior distribution of false positive and false negative rates from membership inference attacks using Bayesian inference.
- Uses the hypothesis testing interpretation of differential privacy to derive a posterior distribution over the privacy budget ε from the joint posterior of attack rates.
- Applies credible intervals to ε based on the derived posterior, enabling tighter uncertainty quantification than frequentist confidence intervals.
- Adapts and validates a heuristic from label-only DP that allows generating m > 1 membership queries per model, reducing the number of required independently trained models.
- Employs model-dependent loss thresholds for membership inference attacks to balance accuracy and computational cost.
- Validates the heuristic’s performance by comparing ε estimates across different m values (e.g., m = 1, 10, 100, 1000) against a baseline m = 1 using CDFs of estimated ε.
Experimental results
Research questions
- RQ1Can a Bayesian approach that models the joint distribution of false positive and false negative rates yield tighter credible intervals for ε than separate confidence intervals?
- RQ2To what extent can a heuristic that generates multiple samples per model reduce the number of required independently trained models in empirical DP estimation?
- RQ3How faithful are the resulting ε estimates when the heuristic is applied to models trained with DP versus non-DP models?
- RQ4Does the Bayesian method produce meaningful estimates in regimes where prior approaches yield intervals that include both 0 and the theoretical upper bound?
- RQ5How does the performance of the heuristic vary across different model architectures and privacy budgets?
Key findings
- The proposed Bayesian method produces credible intervals for ε that are up to 40% narrower than those derived from Clopper-Pearson confidence intervals, using the same number of samples.
- For the same sample size and confidence level, the Bayesian approach achieves significantly more precise estimates of ε, enabling stronger privacy conclusions with fewer resources.
- The adapted heuristic reduces the number of required independently trained models by up to two orders of magnitude, dramatically cutting computational cost.
- The heuristic produces faithful estimates for models trained with DP, with m = 10 yielding estimates closest to the m = 1 baseline on DP models (e.g., SST2 with ε = 4).
- For non-DP models, the heuristic leads to significant under-estimation of empirical DP bounds compared to the m = 1 baseline, indicating it is less reliable in the absence of DP.
- The Bayesian method produces meaningful estimates in regimes where prior approaches yield intervals that include both 0 and the theoretical upper bound, such as in Table 4.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.