Algorithm Search⌘K

Definitionadvanced

Renyi differential privacy

Also called Renyi DP, RDP.

A mechanism is (alpha, epsilon)-RDP if the Renyi divergence of order alpha between its outputs on neighbors is at most epsilon. Composition adds epsilons; the Gaussian has alpha/(2 sigma^2).

Renyi differential privacy (RDP) measures privacy with the Renyi divergence of one order α>1\alpha > 1. A mechanism is (α,ε)(\alpha, \varepsilon)-RDP when, for all neighbors, the Renyi divergence of order α\alpha from the output law on one dataset to the output law on the other is at most ε\varepsilon. Mironov introduced it in 2017. The definition sits between pure DP, which is the case α=∞\alpha = \infty, and approximate DP, to which it converts. Its main use is accounting: under composition the ε\varepsilon values of the same order just add, the Gaussian mechanism has the simple curve ε(α)=αΔ2/(2σ2)\varepsilon(\alpha) = \alpha\Delta^2/(2\sigma^2), and a final conversion gives an (ε,δ)(\varepsilon, \delta) guarantee that is much smaller than the one from the advanced composition theorem. The moments accountant of DP-SGD is RDP accounting at integer orders.

Definition

Let PP and QQ be distributions with densities pp and qq (or mass functions). For α>1\alpha > 1 the Renyi divergence of order α\alpha is

Dα(P∥Q)=1α−1ln⁡EY∼Q[(p(Y)q(Y))α]=1α−1ln⁡∫pαq1−α,D_\alpha(P\|Q) = \frac{1}{\alpha - 1}\ln E_{Y \sim Q}\left[\left(\frac{p(Y)}{q(Y)}\right)^{\alpha}\right] = \frac{1}{\alpha - 1}\ln \int p^{\alpha}q^{1 - \alpha},

with value +∞+\infty when PP puts mass where QQ has none. The limit α→1\alpha \to 1 is the KL divergence, and the limit α→∞\alpha \to \infty is D∞(P∥Q)=sup⁡ln⁡(p/q)D_\infty(P\|Q) = \sup \ln(p/q). In terms of the privacy loss random variable LL of the pair, E[e(α−1)L]=e(α−1)Dα(P∥Q)E[e^{(\alpha - 1)L}] = e^{(\alpha - 1)D_\alpha(P\|Q)}.

Definition (Mironov). A randomized mechanism MM is (α,ε)(\alpha, \varepsilon)-RDP if Dα(M(x)∥M(x′))≤εD_\alpha(M(x)\|M(x')) \le \varepsilon for every ordered pair of neighbors x∼x′x \sim x'. A function α↦ε(α)\alpha \mapsto \varepsilon(\alpha) that holds for each order is the RDP curve of MM.

The neighbor relation (add/remove or replace) is part of the claim. These properties follow, with the numbers from Mironov's paper.

  1. Monotone in the order. DαD_\alpha does not decrease in α\alpha. So ε\varepsilon-DP, which is D∞≤εD_\infty \le \varepsilon, implies (α,ε)(\alpha, \varepsilon)-RDP for every α\alpha. Lemma 1 gives the sharper (α,2αε2)(\alpha, 2\alpha\varepsilon^2)-RDP for ε\varepsilon-DP.
  2. Post-processing. If MM is (α,ε)(\alpha, \varepsilon)-RDP, so is g∘Mg \circ M for every randomized map gg.
  3. Adaptive composition (Proposition 1). If M1M_1 is (α,ε1)(\alpha, \varepsilon_1)-RDP and M2(⋅ ;y1)M_2(\cdot\,; y_1) is (α,ε2)(\alpha, \varepsilon_2)-RDP for each first output y1y_1, then the pair is (α,ε1+ε2)(\alpha, \varepsilon_1 + \varepsilon_2)-RDP. Curves add order by order.
  4. Conversion (Proposition 3). If MM is (α,ε)(\alpha, \varepsilon)-RDP, then for every 0<δ<10 < \delta < 1 it is (ε+ln⁡(1/δ)α−1,δ)\left(\varepsilon + \frac{\ln(1/\delta)}{\alpha - 1}, \delta\right)-DP. With a full curve, take the minimum over α\alpha. Later papers give slightly sharper conversions; the one here is the original.
  5. Group privacy (Proposition 2). For a group of 2c2^c records, an (α,ε)(\alpha, \varepsilon)-RDP mechanism with α≥2c+1\alpha \ge 2^{c+1} is (α/2c,3cε)(\alpha/2^c, 3^c\varepsilon)-RDP.

Examples and non-examples

Gaussian mechanism (Proposition 7). Dα(N(0,σ2)∥N(μ,σ2))=αμ2/(2σ2)D_\alpha(N(0, \sigma^2)\|N(\mu, \sigma^2)) = \alpha\mu^2/(2\sigma^2). So f(x)+N(0,σ2)f(x) + N(0, \sigma^2) with ℓ2\ell_2 sensitivity Δ\Delta is (α,αΔ2/(2σ2))(\alpha, \alpha\Delta^2/(2\sigma^2))-RDP for every α\alpha, and kk such steps give kαΔ2/(2σ2)k\alpha\Delta^2/(2\sigma^2), the curve of one Gaussian with noise σ/k\sigma/\sqrt k. For Δ=1\Delta = 1 and σ=2\sigma = 2 the curve is α/8\alpha/8. With δ=10−5\delta = 10^{-5}, the conversion α/8+ln⁡(105)/(α−1)\alpha/8 + \ln(10^5)/(\alpha - 1) has its minimum 2.5242.524 near α=10.6\alpha = 10.6.

Laplace mechanism (Proposition 6). For Lap(b)\mathrm{Lap}(b) noise and sensitivity 1,

Dα=1α−1ln⁡(α2α−1e(α−1)/b+α−12α−1e−α/b).D_\alpha = \frac{1}{\alpha - 1}\ln\left(\frac{\alpha}{2\alpha - 1}e^{(\alpha - 1)/b} + \frac{\alpha - 1}{2\alpha - 1}e^{-\alpha/b}\right).

For b=1b = 1 this is 0.61910.6191 at α=2\alpha = 2 and 0.99300.9930 at α=100\alpha = 100, and it tends to 1/b=11/b = 1, the pure DP parameter, as α→∞\alpha \to \infty.

Randomized response (Proposition 5). If the true bit is reported with probability p>1/2p > 1/2,

Dα=1α−1ln⁡(pα(1−p)1−α+(1−p)αp1−α).D_\alpha = \frac{1}{\alpha - 1}\ln\left(p^{\alpha}(1-p)^{1-\alpha} + (1-p)^{\alpha}p^{1-\alpha}\right).

For p=3/4p = 3/4 this is ln⁡(7/3)=0.8473\ln(7/3) = 0.8473 at α=2\alpha = 2. It tends to (2p−1)ln⁡p1−p=0.5493(2p - 1)\ln\frac{p}{1-p} = 0.5493 as α→1\alpha \to 1 and to ln⁡3=1.0986\ln 3 = 1.0986 as α→∞\alpha \to \infty.

Subsampled Gaussian. When each record joins a batch with probability qq and the batch gets Gaussian noise, the curve has no simple closed form. At integer orders it is a finite sum (Mironov, Talwar and Zhang), which the moments accountant evaluates. For small qq it is about q2q^2 times the curve without sampling, which is the effect of amplification by subsampling.

Non-example: approximate DP with δ>0\delta > 0. Let MM output the whole dataset with probability δ\delta and a fixed symbol otherwise. It is (0,δ)(0, \delta)-DP. But M(x)M(x) puts mass δ\delta on the output xx, where M(x′)M(x') has none, so Dα(M(x)∥M(x′))=+∞D_\alpha(M(x)\|M(x')) = +\infty for every α>1\alpha > 1. No (ε,δ)(\varepsilon, \delta) guarantee with δ>0\delta > 0 gives a finite RDP bound. Such mechanisms must be accounted for in another way, for example with numerical privacy accounting.

Non-example: one order is not pure DP. The Gaussian mechanism is (α,α/8)(\alpha, \alpha/8)-RDP for each finite α\alpha when Δ=1\Delta = 1 and σ=2\sigma = 2, but the curve grows without bound, and the mechanism is not ε\varepsilon-DP for any ε\varepsilon. A finite (α,ε)(\alpha, \varepsilon) bound at one order says nothing about outputs of very small probability; it gives only (ε′,δ)(\varepsilon', \delta) with δ>0\delta > 0.

  • Zero-concentrated DP asks for an RDP curve ε(α)≤ρα\varepsilon(\alpha) \le \rho\alpha at all orders at once. The Gaussian mechanism meets it with equality.
  • The privacy loss random variable gives the same quantity: (α,ε)(\alpha, \varepsilon)-RDP bounds the moment E[e(α−1)L]E[e^{(\alpha - 1)L}] by e(α−1)εe^{(\alpha - 1)\varepsilon}.
  • The moments accountant of Abadi et al. (2016) tracks ln⁡E[eλL]\ln E[e^{\lambda L}], which is λDλ+1\lambda D_{\lambda + 1}, so it is RDP with the order shifted by 1.
  • Gaussian differential privacy uses the full trade-off curve instead of one divergence, and does not lose in the conversion to (ε,δ)(\varepsilon, \delta).
  • Approximate DP is the target of the conversion in property 4.

References

  1. Ilya Mironov, Renyi differential privacy, IEEE 30th Computer Security Foundations Symposium (CSF 2017), pages 263 to 275, Definition 3 (Renyi divergence), Definition 4 ((alpha, epsilon)-RDP), Proposition 1 (composition), Proposition 2 (group privacy), Proposition 3 (conversion to (epsilon, delta)-DP), Lemma 1, Propositions 5, 6 and 7 (randomized response, Laplace and Gaussian), Table I and Table II
  2. Ilya Mironov, Kunal Talwar and Li Zhang, Renyi differential privacy of the sampled Gaussian mechanism, arXiv 1908.10530, 2019, the RDP of the subsampled Gaussian mechanism, Section 3
  3. Mark Bun and Thomas Steinke, Concentrated differential privacy: simplifications, extensions, and lower bounds, TCC 2016-B, LNCS 9985, pages 635 to 658, Definition 1.1 (zCDP as a bound on all Renyi divergences)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/V30J0B/text.yaml