Algorithm Search⌘K

Definitioncore

Approximate differential privacy

Also called (epsilon delta)-differential privacy.

Relaxes differential privacy by an additive delta, so that the e^epsilon bound may fail with a small probability.

Approximate differential privacy, or (ε,δ)(\varepsilon, \delta)-differential privacy, relaxes pure differential privacy by an additive term δ\delta. A mechanism is (ε,δ)(\varepsilon, \delta)-DP if, for neighboring datasets, the probability of each set of outputs grows by at most the factor eεe^{\varepsilon} plus δ\delta. The term δ\delta lets the multiplicative bound fail on rare outputs, and this is what allows Gaussian noise, the advanced composition theorem and other tools with much less noise than pure DP. Dwork, Kenthapadi, McSherry, Mironov and Naor (2006) introduced it. The value of δ\delta must be much smaller than 1/n1/n, because a mechanism that publishes whole records with probability δ\delta is (0,δ)(0, \delta)-DP.

Definition

Datasets, the two neighbor relations (add/remove and replace) and mechanisms are as on the page of pure differential privacy. Every claim must say which relation it uses.

Definition. Let ε≥0\varepsilon \ge 0 and 0≤δ<10 \le \delta < 1. A mechanism MM is (ε,δ)(\varepsilon, \delta)-differentially private under a neighbor relation ∼\sim if, for all x∼x′x \sim x' and all sets SS of outputs,

Pr⁡[M(x)∈S]≤eεPr⁡[M(x′)∈S]+δ.\Pr[M(x) \in S] \le e^{\varepsilon}\Pr[M(x') \in S] + \delta.

The case δ=0\delta = 0 is ε\varepsilon-DP. The case ε=0\varepsilon = 0 says that the total variation distance between M(x)M(x) and M(x′)M(x') is at most δ\delta. The probability is over the coins of MM, and the bound must hold for both orders of each pair.

Hockey-stick form. For distributions PP and QQ and a≥1a \ge 1, the hockey-stick divergence is

Ha(P ∥ Q)=sup⁡S(P(S)−a Q(S))=∑ymax⁡(0, P(y)−a Q(y)),H_a(P \,\|\, Q) = \sup_S \big(P(S) - a\,Q(S)\big) = \sum_y \max\big(0,\ P(y) - a\,Q(y)\big),

where the sum is for discrete outputs and becomes an integral of densities otherwise. The supremum is reached at S={y:P(y)>aQ(y)}S = \{y : P(y) > aQ(y)\}. So MM is (ε,δ)(\varepsilon, \delta)-DP if and only if Heε(M(x) ∥ M(x′))≤δH_{e^{\varepsilon}}(M(x) \,\|\, M(x')) \le \delta for every ordered pair of neighbors. The smallest such δ\delta, as a function of ε\varepsilon, is the privacy profile δ(ε)\delta(\varepsilon) of the mechanism.

Privacy loss form. With the privacy loss random variable L=ln⁡(P(Y)/Q(Y))L = \ln(P(Y)/Q(Y)), Y∼P=M(x)Y \sim P = M(x) and Q=M(x′)Q = M(x'),

Heε(P ∥ Q)=E[max⁡(0, 1−eε−L)]≤Pr⁡[L>ε].H_{e^{\varepsilon}}(P \,\|\, Q) = \mathbb E\big[\max(0,\ 1 - e^{\varepsilon - L})\big] \le \Pr[L > \varepsilon].

The equality is the sum above with P(y)P(y) taken out. So a bound Pr⁡[L>ε]≤δ\Pr[L > \varepsilon] \le \delta for every ordered pair is enough for (ε,δ)(\varepsilon, \delta)-DP. It is not necessary; the exact condition is the bound on the expectation. Balle and Wang (2018, Theorem 5) give the exact condition as Pr⁡[L≥ε]−eεPr⁡[L′≤−ε]≤δ\Pr[L \ge \varepsilon] - e^{\varepsilon}\Pr[L' \le -\varepsilon] \le \delta, where L′L' is the privacy loss of the pair in the other order, which is the same quantity written with two tails.

Close-distribution form (Dwork-Roth Lemma 3.17, part 1). Pr⁡[M(x)∈S]≤eεPr⁡[M(x′)∈S]+δ\Pr[M(x) \in S] \le e^{\varepsilon}\Pr[M(x') \in S] + \delta for all SS if and only if there is a distribution P′P' with total variation distance at most δ\delta from M(x)M(x) and P′(S)≤eεPr⁡[M(x′)∈S]P'(S) \le e^{\varepsilon}\Pr[M(x') \in S] for all SS. So δ\delta is the mass that must be moved before the pure bound holds.

Basic properties. (ε,δ)(\varepsilon, \delta)-DP is kept by any processing of the output that does not read the data (the post-processing theorem; Dwork-Roth Proposition 2.1). Mechanisms with (εi,δi)(\varepsilon_i, \delta_i), run in sequence, give (∑iεi,∑iδi)(\sum_i \varepsilon_i, \sum_i \delta_i) (the sequential composition theorem; Dwork-Roth Theorem 3.16). Datasets at distance kk get (kε,ke(k−1)εδ)(k\varepsilon, k e^{(k-1)\varepsilon}\delta) (the group privacy theorem), so δ\delta grows much faster than ε\varepsilon.

Examples and non-examples

The Gaussian mechanism. Add N(0,σ2)N(0, \sigma^2) noise to a query whose value moves by Δ=1\Delta = 1 in the ℓ2\ell_2 norm between neighbors. The privacy profile is δ(ε)=Φ(12σ−εσ)−eεΦ(−12σ−εσ)\delta(\varepsilon) = \Phi(\frac{1}{2\sigma} - \varepsilon\sigma) - e^{\varepsilon}\Phi(-\frac{1}{2\sigma} - \varepsilon\sigma), where Φ\Phi is the standard normal distribution function (Balle and Wang 2018, Theorem 8). With σ=1\sigma = 1 it gives δ(1)=0.126937\delta(1) = 0.126937; with σ=2\sigma = 2 it gives δ(1)=0.0068296\delta(1) = 0.0068296. Its privacy loss is unbounded, so it is not ε\varepsilon-DP for any ε\varepsilon, and δ>0\delta > 0 is needed. See the Gaussian mechanism.

Pure DP mechanisms have a profile too. The Laplace mechanism with sensitivity 1 and scale b=1b = 1 is (1,0)(1, 0)-DP. For a smaller ε′\varepsilon' it is (ε′,δ)(\varepsilon', \delta)-DP with δ=1−e(ε′−1)/2\delta = 1 - e^{(\varepsilon' - 1)/2}, from a direct integration of the hockey-stick divergence of two Laplace densities at distance 1. At ε′=0.5\varepsilon' = 0.5 this is 0.2211990.221199, and at ε′=0\varepsilon' = 0 it is the total variation distance 1−e−1/2=0.3934691 - e^{-1/2} = 0.393469. So one mechanism satisfies a whole curve of (ε,δ)(\varepsilon, \delta) pairs.

Non-example: the release of a few whole records. Let MM publish each record independently with probability δ\delta. Under add/remove, M(x)M(x) is the output of M(x′)M(x') plus, with probability δ\delta, the extra record. So the hockey-stick divergence at e0=1e^{0} = 1 is exactly δ\delta, and MM is (0,δ)(0, \delta)-DP. Yet it publishes about nδn\delta records in full: with n=106n = 10^6 and δ=10−5\delta = 10^{-5}, about 10 people lose all privacy. This is why δ\delta must be much smaller than 1/n1/n. Dwork and Roth (Section 2.3) say that δ\delta of the order 1/∥x∥11/\lVert x \rVert_1 is very dangerous for this reason, and ask for δ\delta below the inverse of any polynomial in nn.

Non-example: "the loss is at most ε\varepsilon with probability 1−δ1 - \delta". This informal reading is not exact. Let M(x)M(x) output 1 with probability 0.51 and 0 with probability 0.49, and let M(x′)M(x') output each bit with probability 0.5. The total variation distance is 0.01, so the pair is (0,0.01)(0, 0.01)-DP. But the privacy loss is ln⁡1.02=0.0198\ln 1.02 = 0.0198 or ln⁡0.98=−0.0202\ln 0.98 = -0.0202, so ∣L∣>0=ε|L| > 0 = \varepsilon with probability 1. The reading holds only in the other direction (a bound on Pr⁡[L>ε]\Pr[L > \varepsilon] gives (ε,δ)(\varepsilon, \delta)-DP), or with changed parameters.

Non-example: a mechanism with a data-dependent noise scale. Add Laplace noise scaled to the local sensitivity at xx, the largest change of the query between xx and its own neighbors. If that value is 0 at xx and positive at a neighbor x′x', then M(x)M(x) is the exact answer with probability 1, while M(x′)M(x') hits that one point with probability 0. So MM is not (ε,δ)(\varepsilon, \delta)-DP for any ε\varepsilon and any δ<1\delta < 1: the scale itself reveals the data. Propose-test-release fixes this with a private test, and it is (ε,δ)(\varepsilon, \delta)-DP and not pure.

References

  1. Cynthia Dwork, Krishnaram Kenthapadi, Frank McSherry, Ilya Mironov and Moni Naor, Our data, ourselves: privacy via distributed noise generation, EUROCRYPT 2006, LNCS 4004, pages 486 to 503, the first definition with an additive delta, used for noise that is a sum of many small shares
  2. Cynthia Dwork and Aaron Roth, The Algorithmic Foundations of Differential Privacy, Foundations and Trends in Theoretical Computer Science 9(3-4), 2014, pages 211 to 407, Section 2.3, Definition 2.4 and the discussion of delta after it, Proposition 2.1, and the footnote to Theorem 2.2 (group privacy with delta); Section 3.5, Theorem 3.16 (composition) and Lemma 3.17 (the characterization by a delta-close distribution)
  3. Borja Balle and Yu-Xiang Wang, Improving the Gaussian mechanism for differential privacy: analytical calibration and optimal denoising, ICML 2018, PMLR 80, Theorem 5 (the exact condition for (epsilon, delta)-DP in terms of the privacy loss) and Theorem 8 (the analytic Gaussian mechanism)

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/8KEDN3/text.yaml