[Paper Review] Bayesian Differential Privacy for Machine Learning
This paper introduces Bayesian Differential Privacy (BDP), a data-distribution-aware variant of differential privacy that reduces noise by modeling data likelihood, resulting in tighter privacy guarantees and higher model accuracy. Experiments show BDP achieves state-of-the-art privacy bounds—reducing ε from 2.2 to 0.95 on MNIST and 8.0 to 0.76 on CIFAR-10—while maintaining high classification accuracy and faster convergence.
Traditional differential privacy is independent of the data distribution. However, this is not well-matched with the modern machine learning context, where models are trained on specific data. As a result, achieving meaningful privacy guarantees in ML often excessively reduces accuracy. We propose Bayesian differential privacy (BDP), which takes into account the data distribution to provide more practical privacy guarantees. We also derive a general privacy accounting method under BDP, building upon the well-known moments accountant. Our experiments demonstrate that in-distribution samples in classic machine learning datasets, such as MNIST and CIFAR-10, enjoy significantly stronger privacy guarantees than postulated by DP, while models maintain high classification accuracy.
Motivation & Objective
- To address the practical limitations of traditional differential privacy (DP), which imposes excessive noise due to worst-case assumptions, especially in real-world ML scenarios.
- To develop a privacy framework that reflects typical data distributions, making privacy guarantees more meaningful and interpretable for common data points.
- To design a privacy accounting method that generalizes the moments accountant and provides tighter, distribution-aware privacy bounds.
- To ensure robustness against out-of-distribution samples while maintaining strong privacy for in-distribution data.
- To empirically validate that BDP enables higher model accuracy and faster training with significantly reduced privacy loss parameters (ε) compared to standard DP.
Proposed method
- Proposes Bayesian Differential Privacy (BDP) as a refinement of (ε,δ)-DP that conditions privacy guarantees on the data-generating distribution μ(x), rather than treating all inputs equally.
- Introduces a privacy accounting framework based on the privacy loss random variable (PLRV), using concentration bounds derived from probability theory to estimate (εμ, δμ) for typical data points.
- Employs Bayesian parameter estimation with a flat prior and maximum entropy principle to estimate privacy loss statistics from finite data samples, minimizing underestimation of unseen example risks.
- Derives an advanced composition theorem for BDP that generalizes the moments accountant (MA), enabling efficient and tight privacy accounting in stochastic gradient descent (SGD) with clipping and Gaussian noise.
- Applies BDP to DP-SGD by clipping gradients to norm C and adding noise with variance C²σ², but calibrates noise based on data distribution to reduce overall noise.
- Validates the method using gradient pairwise distance analysis between training and test sets to detect potential leakage from the privacy cost estimator, showing no significant statistical difference.
Experimental results
Research questions
- RQ1Can differential privacy be made more practical for machine learning by incorporating data distribution information?
- RQ2Does modeling data likelihood lead to tighter, more interpretable privacy guarantees without sacrificing model utility?
- RQ3Can a privacy accounting method be developed that generalizes the moments accountant while being distribution-aware?
- RQ4To what extent does BDP reduce the required noise compared to standard DP, and how does this affect model accuracy and convergence speed?
- RQ5Is the privacy cost estimator in BDP leaky, such that it reveals information about training data?
Key findings
- On MNIST, BDP reduces the privacy loss parameter ε from 2.2 (standard DP) to 0.95, significantly improving privacy-utility trade-offs.
- On CIFAR-10, BDP reduces ε from 8.0 to 0.76, demonstrating substantial gains in privacy guarantees for complex datasets.
- BDP models achieve 96% test accuracy on MNIST in just 50 epochs, whereas standard DP-SGD requires hundreds of epochs due to higher noise levels.
- The privacy cost estimator in BDP does not leak significant information about training data, as shown by t-tests and Levene’s test on gradient pairwise distances (p > 0.05).
- For 99.999% of in-distribution data points, BDP provides stronger privacy guarantees than standard DP, with ε consistently below 1.
- BDP enables state-of-the-art privacy bounds in deep learning, combining tighter privacy with higher model accuracy and faster convergence.
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.