[Paper Review] Pain-Free Random Differential Privacy with Sensitivity Sampling
This paper introduces SensitivitySampler, a method to empirically estimate global sensitivity of non-private functions with high probability, enabling pain-free differential privacy for black-box programs. By replacing analytical sensitivity bounds with sampled estimates, it achieves significantly better utility than traditional worst-case bounds while maintaining $(\epsilon,\delta,\gamma)$-random differential privacy guarantees.
Popular approaches to differential privacy, such as the Laplace and exponential mechanisms, calibrate randomised smoothing through global sensitivity of the target non-private function. Bounding such sensitivity is often a prohibitively complex analytic calculation. As an alternative, we propose a straightforward sampler for estimating sensitivity of non-private mechanisms. Since our sensitivity estimates hold with high probability, any mechanism that would be $(ε,δ)$-differentially private under bounded global sensitivity automatically achieves $(ε,δ,γ)$-random differential privacy (Hall et al., 2012), without any target-specific calculations required. We demonstrate on worked example learners how our usable approach adopts a naturally-relaxed privacy guarantee, while achieving more accurate releases even for non-private functions that are black-box computer programs.
Motivation & Objective
- Address the major usability barrier in differential privacy: the need for complex analytical bounds on global sensitivity.
- Enable privacy-preserving deployment of arbitrary computer programs—especially learners—without requiring mathematical derivation of sensitivity.
- Provide a generic, plug-and-play solution that works with existing mechanisms like Laplace, exponential, Gaussian, and Bernstein.
- Demonstrate that estimated sensitivity leads to better utility than pessimistic worst-case bounds in real-world learners.
- Establish theoretical guarantees for random differential privacy using empirical sensitivity estimation via empirical process theory.
Proposed method
- Propose SensitivitySampler, a Monte Carlo-style algorithm that samples neighboring databases and evaluates function outputs to empirically estimate sensitivity.
- Use empirical process theory to prove that if a mechanism is $(\epsilon,\delta)$-differentially private under bounded global sensitivity $\Delta$, then it remains $(\epsilon,\delta,\gamma)$-randomly differentially private when using a sampled sensitivity estimate $\hat{\Delta}$ with high probability.
- Leverage concentration inequalities to ensure the sampled sensitivity $\hat{\Delta}$ is close to the true global sensitivity $\Delta$ with high probability $1 - \gamma$.
- Integrate the sampler with standard differentially private mechanisms (e.g., Laplace, Bernstein) without modifying the underlying mechanism.
- Use a fixed number of samples $m$ to compute $\hat{\Delta}$, with $\gamma$ controlling the failure probability of the estimate.
- Apply the method to real learners such as SVMs and kernel density estimators, comparing utility against analytical sensitivity bounds.
Experimental results
Research questions
- RQ1Can we estimate global sensitivity of non-private functions empirically, without analytical derivation, while preserving privacy guarantees?
- RQ2Does using empirical sensitivity estimates lead to better utility than using worst-case analytical bounds in practical machine learning models?
- RQ3Can we formally guarantee random differential privacy when using sampled sensitivity instead of exact global sensitivity?
- RQ4How does the performance of SensitivitySampler compare to traditional sensitivity bounds in terms of model accuracy and privacy-utility trade-offs?
- RQ5To what extent can this method be applied to black-box programs and complex learners without requiring code introspection or static analysis?
Key findings
- SensitivitySampler produces sensitivity estimates $\hat{\Delta}$ that remain within a small margin of the true global sensitivity $\Delta$ with high probability $1 - \gamma$, even for complex learners.
- In SVM experiments, the estimated sensitivity $\hat{\Delta}$ remained around 0.01 across dimensions, while the analytical global sensitivity $\overline{\Delta}$ exceeded 20—two orders of magnitude higher.
- The utility of private SVMs using SensitivitySampler dropped to non-private error levels much faster than those using analytical bounds, especially at moderate privacy budgets.
- For kernel density estimation, the Bernstein mechanism with SensitivitySampler achieved lower error than with analytical sensitivity, particularly at high privacy levels ($\epsilon < 1$).
- At low privacy budgets, both approaches converged to the approximation error of the Bernstein polynomial, indicating that the utility gap was due to sensitivity overestimation, not approximation error.
- The method enables end-to-end differential privacy for black-box programs without any theoretical analysis or static/dynamic program analysis, significantly lowering the barrier to adoption.
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.