What is -differential privacy, and why does the Laplace mechanism satisfy it? For a counting query (sensitivity ) released with the Laplace mechanism at , what are the noise scale , variance, standard deviation, and tail probability , and how do privacy and accuracy change across repeated queries?
ML systems and evaluation, Privacy
Level L4 Advanced. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you know the definition of -DP (differential privacy), can derive the Laplace mechanism's density-ratio bound, can compute its noise moments and tail probability, and understand sequential composition.
Key idea
A randomised mechanism is -differentially private if changing one record changes the probability of any output set by at most . Adding zero-mean Laplace noise with scale bounds the output density ratio between neighbouring datasets by .
Steps
- Define -differential privacy: a randomised algorithm satisfies -DP if for every pair of neighbouring datasets differing in at most one record and every measurable output set , where smaller gives stronger privacy.
- Show why the Laplace mechanism satisfies -DP: for a scalar query with -sensitivity (the worst-case change from one record), output with , density , and . For any output , the density ratio is using the reverse triangle inequality.
- Compute the noise statistics for and : the scale is . A variable has variance and standard deviation .
- Compute the tail probability : by symmetry, . At and , (about ).
- Explain the privacy–accuracy trade-off: tightening raises the scale and variance , adding more error. Because for a count regardless of dataset size, a noise error around is minor for a count of but large for a count of .
- State sequential composition: running independent -DP mechanisms on the same dataset gives -DP overall. Answering 4 queries at each uses a cumulative privacy budget of .
Common mistakes
- Computing sensitivity from the specific dataset in hand rather than the worst case over all possible neighbouring datasets; data-dependent noise scales can leak information.
- Confusing the Laplace variance with , or forgetting the factor of when integrating the two-sided tail .
- Repeating the same query and averaging the answers without tracking sequential composition; each release spends additional .
How long your answer should be
4–5 minutes: definition, density-ratio proof, four numeric values, and two sentences on trade-offs and composition.
Read this
Previous in ML systems and evaluation: In a hospital study of 1,000 patients split evenly between mild () and severe () cases, recovery rates for treated () vs untreated () patients are vs among mild cases and vs among severe cases. How do these numbers exhibit Simpson’s paradox, what is the causal DAG and backdoor-adjusted effect , and why does adjusting for a collider instead of a confounder introduce bias?
Next in ML systems and evaluation: How does DP-SGD (differentially private stochastic gradient descent) bound per-example influence and add noise during training? In a batch of size with clipping threshold and noise multiplier , two per-example gradients have norms and : what are their clipping scale factors, what is the per-coordinate noise standard deviation on the averaged gradient, and why do per-example clipping, subsampling, and larger batches matter?