[Paper Review] Privacy for Free: Posterior Sampling and Stochastic Gradient Monte Carlo
This paper demonstrates that posterior sampling in Bayesian inference inherently provides differential privacy 'for free' under standard regularity conditions, and that stochastic gradient MCMC methods like Stochastic Gradient Langevin Dynamics preserve $(\epsilon,\delta)$-differential privacy with minimal algorithmic changes. The key contribution is a principled connection between Bayesian inference and differential privacy, enabling private, consistent, and computationally efficient learning without sacrificing utility.
We consider the problem of Bayesian learning on sensitive datasets and present two simple but somewhat surprising results that connect Bayesian learning to "differential privacy:, a cryptographic approach to protect individual-level privacy while permiting database-level utility. Specifically, we show that that under standard assumptions, getting one single sample from a posterior distribution is differentially private "for free". We will see that estimator is statistically consistent, near optimal and computationally tractable whenever the Bayesian model of interest is consistent, optimal and tractable. Similarly but separately, we show that a recent line of works that use stochastic gradient for Hybrid Monte Carlo (HMC) sampling also preserve differentially privacy with minor or no modifications of the algorithmic procedure at all, these observations lead to an "anytime" algorithm for Bayesian learning under privacy constraint. We demonstrate that it performs much better than the state-of-the-art differential private methods on synthetic and real datasets.
Motivation & Objective
- To establish a theoretical link between Bayesian posterior sampling and differential privacy.
- To show that sampling from a posterior distribution is inherently differentially private under standard assumptions.
- To demonstrate that stochastic gradient MCMC methods preserve differential privacy with minimal modifications.
- To develop an efficient, anytime algorithm for differentially private Bayesian learning.
- To empirically validate the method against state-of-the-art differentially private empirical risk minimization techniques.
Proposed method
- Proves that any single sample from a posterior distribution with bounded log-likelihood is $\epsilon$-differentially private.
- Applies the Gaussian mechanism and advanced composition theorems to establish privacy for stochastic gradient MCMC algorithms.
- Introduces a differentially private variant of Stochastic Gradient Fisher Scoring (DP-SGFS) with private gradient and covariance estimation.
- Uses a non-spherical Gaussian mechanism to account for directional sensitivity in gradients.
- Employs subsampling and privacy amplification via composition to bound overall privacy loss.
- Derives privacy guarantees under smoothness and bounded gradient assumptions, including a sensitivity bound for sample covariance matrices.
Experimental results
Research questions
- RQ1Can posterior sampling in Bayesian inference provide differential privacy without explicit privacy mechanisms?
- RQ2Under what conditions is a single posterior sample $\epsilon$-differentially private?
- RQ3Do stochastic gradient MCMC methods like SGLD inherit differential privacy with minimal modifications?
- RQ4Can private estimation of Fisher information be achieved while preserving privacy and asymptotic efficiency?
- RQ5How does the performance of private posterior sampling compare to state-of-the-art differentially private empirical risk minimization?
Key findings
- A single sample from the posterior distribution of a Bayesian model with bounded log-likelihood is $\epsilon$-differentially private under standard regularity conditions.
- The posterior sample is statistically consistent and near-optimal when the model is consistent and asymptotically normal.
- Stochastic Gradient Langevin Dynamics (SGLD) and related methods are $(\epsilon,\delta)$-differentially private when the stepsize is small, with no algorithmic changes.
- The proposed DP-SGFS algorithm achieves $(2\epsilon, 2\delta)$-differential privacy under bounded gradient and smoothness assumptions.
- Empirical results show the method outperforms state-of-the-art differentially private ERM solvers on both synthetic and real datasets.
- The privacy guarantees are maintained even when estimating Fisher information via stochastic gradients, with the sample covariance matrix's sensitivity bounded by $\frac{7L^2}{n-1}$.
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.