Differential Privacy

Define differential privacy by neighboring datasets, calculate a composed Rényi guarantee, and explain clipping and noise in DP-SGD.

Source
Anbloq
Language
English
Created
Updated
Chapters
3
Reading time
2 min
In this article3 chapters
  1. An adjacency relation defines whose participation is protected
  2. Rényi divergence can make composition easier to account for
  3. Clipping bounds a single contribution in private training

An adjacency relation defines whose participation is protected

Fix an adjacency convention for datasets \(D,D'\), such as adding or removing one person’s record. A randomized mechanism \(M\) is \((\varepsilon,\delta)\)-differentially private if for every adjacent pair and measurable event \(S\),

\[ \Pr[M(D)\in S]\le e^\varepsilon\Pr[M(D')\in S]+\delta. \]

Adjacency is symmetric, so the inequality also holds in the reverse direction. If one person contributes many rows, a record-level guarantee protects one row at a time. User-level adjacency and contribution bounds specify a different guarantee. Post-processing a private output without additional access preserves the guarantee.

Sensitivity depends on what counts as one contribution. Privacy composition defines the cost of several releases, and gradient clipping shows where individual training contributions become bounded.

Rényi divergence can make composition easier to account for

At order \(\alpha>1\), Rényi differential privacy bounds the Rényi divergence of the output laws on neighbors. When each of \(T\) adaptive releases is conditionally \((\alpha,\rho_t)\)-RDP for every earlier transcript, the transcript has \(\rho=\sum_t\rho_t\). One conversion gives, for \(0<\delta<1\),

\[ \varepsilon=\rho+\frac{\log(1/\delta)}{\alpha-1}. \]

For ten releases with \(\rho_t=0.02\) at order ten and \(\delta=10^{-6}\), the formula yields approximately \(1.735\). Other orders or stronger conversions can give a tighter result. The releases must match the accountant’s sampling and adjacency assumptions.

Clipping bounds a single contribution in private training

DP-SGD clips each protected example’s gradient to an explicit norm bound before aggregation and adds calibrated Gaussian noise. The clipping threshold changes both sensitivity and the training signal. Subsampling can amplify privacy under a specified sampling model. Intermediate private releases and data-dependent tuning require accounting if their results reach the output. Federated learning distinguishes user-level clipping from record-level clipping. Fully homomorphic encryption protects computation on ciphertext under its cryptographic assumptions, addressing a different disclosure channel.[1][2][3]

References

  1. Cynthia Dwork et al., Calibrating Noise to Sensitivity in Private Data Analysis ↩
  2. Ilya Mironov, Rényi Differential Privacy ↩
  3. Martín Abadi et al., Deep Learning with Differential Privacy ↩