[Paper Review] A General Framework for Auditing Differentially Private Machine Learning
This paper introduces ML-Audit, a general framework for empirically auditing the differential privacy (DP) guarantees of machine learning models. By combining influence-based data poisoning attacks with a statistical estimation method that improves privacy loss estimation across diverse models, the framework achieves orders of magnitude higher auditing power than prior methods, detecting both implementation flaws and realistic privacy leakage in DP implementations of logistic regression, Naive Bayes, and random forests.
We present a framework to statistically audit the privacy guarantee conferred by a differentially private machine learner in practice. While previous works have taken steps toward evaluating privacy loss through poisoning attacks or membership inference, they have been tailored to specific models or have demonstrated low statistical power. Our work develops a general methodology to empirically evaluate the privacy of differentially private machine learning implementations, combining improved privacy search and verification methods with a toolkit of influence-based poisoning attacks. We demonstrate significantly improved auditing power over previous approaches on a variety of models including logistic regression, Naive Bayes, and random forest. Our method can be used to detect privacy violations due to implementation errors or misuse. When violations are not present, it can aid in understanding the amount of information that can be leaked from a given dataset, algorithm, and privacy specification.
Motivation & Objective
- To address the lack of practical tools for assessing real-world privacy leakage in differentially private machine learning models.
- To develop a general-purpose auditing framework applicable to diverse ML models beyond specific architectures like neural networks.
- To improve the statistical power of privacy audits by overcoming limitations in prior methods, such as high retraining costs and weak attack strategies.
- To detect actual privacy violations due to implementation errors or misconfigurations in DP ML systems.
- To provide practitioners with a reliable method to estimate the true privacy risk, informing better choice of DP parameters ε and δ.
Proposed method
- Designing influence-based data poisoning attacks to generate adversarial neighboring datasets D and D′ that maximize privacy loss for a given model.
- Extending the statistical framework of Bichsel et al. and Jagielski et al. to estimate ε with smaller sample sizes by modeling likelihoods over general model summaries τ.
- Optimizing the attack by targeting summary statistics τ (e.g., class priors, means, variances) that are most sensitive to perturbations.
- Using Monte Carlo sampling of model outputs to estimate privacy loss, with improved bounds and variance reduction techniques.
- Applying the framework to audit real implementations, including diffprivlib's Naive Bayes and DP random forest, to detect configuration and exposure flaws.
- Integrating both attack and estimation components into a unified pipeline that supports arbitrary ML models and DP mechanisms.
Experimental results
Research questions
- RQ1Can a general-purpose framework effectively audit the differential privacy of diverse machine learning models beyond specialized cases like deep neural networks?
- RQ2How does the choice of data poisoning attack strategy impact the statistical power of privacy auditing?
- RQ3To what extent do implementation errors in DP ML libraries—such as exposing internal statistics—undermine theoretical privacy guarantees?
- RQ4How does dataset distribution affect the achievable privacy leakage in practice, and can this be quantified?
- RQ5Can the framework detect discrepancies between theoretical DP definitions (e.g., single-row addition vs. modification) and actual implementation?
Key findings
- The ML-Audit framework achieves orders of magnitude higher auditing power than prior methods, significantly improving the detection of privacy violations.
- Influence-based attacks outperform standard perturbation methods like ClipBKD, especially on non-spherical datasets, due to better alignment with model sensitivity.
- The framework detected a critical privacy leak in diffprivlib’s Naive Bayes implementation where exposed class counts allowed full reconstruction of training data, compromising all privacy guarantees.
- For DP random forest, the framework identified that the implementation used a stricter neighboring definition than intended, leading to a privacy loss twice the theoretical bound.
- On FMNIST and CIFAR10, the shadow adversarial attack outperformed ClipBKD in some cases, and a modified ClipBKD with additional τ information showed moderate improvement.
- The framework demonstrated that actual privacy leakage is often below theoretical bounds, but implementation flaws can cause violations even when the algorithm is mathematically sound.
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.