Algorithm Search⌘K

Theoremintro

Post-processing theorem

Also called closure under post-processing.

Any function applied to the output of a differentially private algorithm, without access to the data, is private with the same parameters.

The post-processing theorem says that differential privacy cannot be lost by computation on the output alone. If a mechanism MM is (ε,δ)(\varepsilon, \delta)-differentially private, then g(M(x))g(M(x)) is (ε,δ)(\varepsilon, \delta)-DP for every map gg, deterministic or randomized, that does not read the data. So an analyst who sees a private release can round it, clean it, fit a model to it or publish any function of it, and the privacy guarantee stays the same. Dwork and Roth (2014) state it as Proposition 2.1. It is the reason a private release can be treated as public from then on.

Statement

Theorem (post-processing; Dwork-Roth Proposition 2.1). Fix a neighbor relation ∼\sim (add/remove or replace). Let MM be a mechanism with outputs in a set Y\mathcal Y that is (ε,δ)(\varepsilon, \delta)-differentially private under ∼\sim, with ε≥0\varepsilon \ge 0 and 0≤δ<10 \le \delta < 1. Let gg be a randomized map from Y\mathcal Y to a set Z\mathcal Z, given as g(y)=G(y,ω)g(y) = G(y, \omega), where GG is a fixed function and ω\omega is a random value that is independent of the data and of the coins of MM. Then the mechanism x↦g(M(x))x \mapsto g(M(x)) is (ε,δ)(\varepsilon, \delta)-DP under ∼\sim.

The case δ=0\delta = 0 gives the same statement for pure ε\varepsilon-DP. The map gg may depend on any public information that was fixed before the data were read. It may not read xx, and it may not see the internal coins of MM, such as the noise that MM added.

In plain words

A private output is a noisy picture of the data. Whatever you do with the picture alone, you cannot make it sharper than it is. Any question about the processed output is also a question about the original output: "is g(y)g(y) in SS?" is the question "is yy in the set of values that gg sends into SS?". The original output passed every such question with the bound eεe^{\varepsilon} and δ\delta, so the processed output passes them too. Extra coins in gg do not help, because they do not depend on the data.

Proof

Fix neighbors x∼x′x \sim x' and a set S⊆ZS \subseteq \mathcal Z.

Deterministic maps. First let gg be a fixed function, and let T={y∈Y:g(y)∈S}T = \{y \in \mathcal Y : g(y) \in S\}. Then g(M(x))∈Sg(M(x)) \in S exactly when M(x)∈TM(x) \in T, so

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

The inequality is the definition of (ε,δ)(\varepsilon, \delta)-DP for the set TT.

Randomized maps. For each fixed value ww of ω\omega, the map gw(y)=G(y,w)g_w(y) = G(y, w) is deterministic, so the first part gives Pr⁡[gw(M(x))∈S]≤eεPr⁡[gw(M(x′))∈S]+δ\Pr[g_w(M(x)) \in S] \le e^{\varepsilon}\Pr[g_w(M(x')) \in S] + \delta. The value ω\omega is independent of the coins of MM, so Pr⁡[g(M(x))∈S]=Eω[Pr⁡[gω(M(x))∈S]]\Pr[g(M(x)) \in S] = \mathbb E_\omega\big[\Pr[g_\omega(M(x)) \in S]\big], and the same for x′x'. Taking the expectation of the inequality over ω\omega, and using that expectation is linear and keeps the order, gives

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

This holds for all x∼x′x \sim x' and all SS, which is the claim. □\square

The second part is the argument of Dwork and Roth: a randomized map is a convex combination of deterministic maps, and the bound is kept by convex combinations because both sides are linear in the mixing weights. (For general output spaces, GG and SS must be measurable, so that TT is an event.)

Consequences

  • Cleaning a release is free. Rounding a noisy count to an integer, clamping it at 0, or making a noisy histogram consistent with known totals keeps the same (ε,δ)(\varepsilon, \delta). The binary tree mechanism uses this to turn noisy tree nodes into prefix sums.
  • Derived statistics are free. From a noisy sum s~\tilde s and a noisy count n~\tilde n, released together with a total budget ε\varepsilon, the ratio s~/n~\tilde s/\tilde n is a private mean at no extra cost.
  • Models and synthetic data. A model trained only on a private release, or on private synthetic data, is private with the parameters of the release.
  • Randomized response, processed. Randomized response with truth probability 3/43/4 is ln⁡3\ln 3-DP. If the analyst flips each answer again with probability 1/41/4, the answer is true with probability 34⋅34+14⋅14=0.625\frac34 \cdot \frac34 + \frac14 \cdot \frac14 = 0.625, which is ln⁡(0.625/0.375)=ln⁡(5/3)=0.510826\ln(0.625/0.375) = \ln(5/3) = 0.510826-DP. The theorem only promises ln⁡3=1.098612\ln 3 = 1.098612; processing can make the guarantee better, never worse.
  • Other definitions. The same closure holds for the profile δ(ε)\delta(\varepsilon) at each ε\varepsilon, and for Renyi DP, zero-concentrated DP and Gaussian DP, where it follows from the data processing inequality of the divergence that each uses.
  • The economic view. For any future event that depends only on the output, the probability changes by at most the factor eεe^{\varepsilon} when one record is added or removed. Dwork and Roth (Section 2.3.1) use the theorem in this form to argue that a person loses little by joining a dataset.

Tightness

The parameters cannot be improved in general: when gg is the identity, g(M(x))=M(x)g(M(x)) = M(x), and the bound is exactly that of MM. The Laplace mechanism on a count reaches its ε\varepsilon exactly, so the identity post-processing of it reaches ε\varepsilon too.

The hypotheses are needed.

  • The map must not read the data. Let M(x)=c(x)+ZM(x) = c(x) + Z be a Laplace count, and let g(y,x)=c(x)g(y, x) = c(x). Then gg releases the exact count, which is not DP for any ε\varepsilon. Any step that uses the data again, such as a second query, is not post-processing; it is covered by the sequential composition theorem and costs budget.
  • The map must not see the coins of MM. If gg knows the noise ZZ, it computes y−Z=c(x)y - Z = c(x). A system that logs the noise next to the release breaks privacy, although the formula for the release is private.
  • Side information that depends on the data. If gg uses a second dataset that shares records with xx, the result is a joint release of two functions of the data, and the theorem does not apply.

History

The closure under post-processing is built into the definition of Dwork, McSherry, Nissim and Smith (2006): the bound holds for every set of outputs, and the proof above uses nothing else. Dwork and Roth (2014) state it as Proposition 2.1 for (ε,δ)(\varepsilon, \delta)-DP and randomized maps, with the proof by deterministic maps and convex combinations. Later definitions, such as Renyi DP (Mironov 2017), were chosen so that they keep this property.

References

  1. 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, Proposition 2.1 (post-processing) with its proof, and Section 2.3.1 (its use in the economic view of the guarantee)
  2. Ilya Mironov, Renyi differential privacy, IEEE 30th Computer Security Foundations Symposium (CSF 2017), pages 263 to 275, the post-processing property of Renyi differential privacy

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/573MEV/text.yaml