Skip to content

Gaussian Differential PrivacyGaussian Differential Privacy

arXiv· arXiv:1905.02383· Journal of The Royal Statistical Society Series B-statistical Methodology· Jinshuo Dong, Aaron Roth, Weijie J. SuGraduate Group in Applied Mathematics and Computational Science, University of Pennsylvania; Department of Computer and Information Sciences, University of Pennsylvania; Department of Statistics, the Wharton School, University of PennsylvaniaIndexed by this site · 27 days ago· Originally publishedDefenses

Quick read

Analysis and theory

Based on the paper PDF (AI-generated); refer to the original

The authors propose f-DP and its single-parameter special case GDP, characterizing differential privacy with hypothesis-testing tradeoff functions; the authors claim composition is lossless and the composition limit converges to GDP.

Questions
(ε, δ)-DP cannot handle composition tightly, and divergence-based relaxations lose the hypothesis-testing interpretation and are difficult to analyze for subsampling amplification. The authors want a privacy definition that both preserves the hypothesis-testing semantics and handles composition and subsampling losslessly.
Methods
Proposes f-DP: using the optimal type I/type II error trade-off function f that distinguishes the output distributions of neighboring datasets as the privacy parameter; defines the single-parameter special case GDP; proves the tensor product composition theorem, the central limit theorem for composition and a Berry–Esseen version, and, via a primal-dual conversion with (ε, δ)-DP, gives a subsampling amplification theorem.
Experiments and results
Primarily theoretical results: composition is closed and tight under f-DP, and any hypothesis-testing-based privacy definition converges to GDP in the composition limit. Applied to NoisySGD on MNIST, the authors claim the resulting GDP bound is better than the best (ε, δ)-DP bound derived from the moments accountant (Figure 7).
Limitations and future work
Future directions listed by the authors include: extending the O(1/n) bound to non-homogeneous composition, examining whether the subsampling bound can be improved for specific f, studying the estimation limits of local f-DP, and applying f-DP to minimax estimation under privacy constraints; the authors state that practical evaluation is left for future work.
Experimental setupMNIST · trade-off function、type I / type II error et al.
Benchmarks
MNIST
Metrics
trade-off functiontype I / type II error(ε, δ)-DP 参数µ-GDP 参数
AI summaryJinshuo Dong, Aaron Roth, and Weijie J. Su proposed f-differential privacy (f-DP), a relaxation of differential privacy formulated based on hypothesis testing, to address the shortcomings of divergence-based relaxations in analyzing algorithm composition and subsampling privacy amplification. f-DP retains the hypothesis testing interpretation and supports lossless algebraic reasoning about privacy composition; the authors also provide techniques for porting existing DP results to f-DP and corresponding subsampling theorems. The authors further define Gaussian differential privacy (GDP) within the f-DP class, based on testing two shifted Gaussian distributions, and prove a central limit theorem: the privacy guarantees of any hypothesis-testing-based privacy definition (including original DP) converge to GDP in the composition limit, and this theorem also provides a low-cost tool for analyzing the exact composition of privacy algorithms. As an application, the authors use these tools to improve the privacy analysis of noisy stochastic gradient descent.

Jinshuo Dong, Aaron Roth, and Weijie J. Su proposed f-differential privacy (f-DP), a relaxation of differential privacy formulated based on hypothesis testing, to address the shortcomings of divergence-based relaxations in analyzing algorithm composition and subsampling privacy amplification. f-DP retains the hypothesis testing interpretation and supports lossless algebraic reasoning about privacy composition; the authors also provide techniques for porting existing DP results to f-DP and corresponding subsampling theorems. The authors further define Gaussian differential privacy (GDP) within the f-DP class, based on testing two shifted Gaussian distributions, and prove a central limit theorem: the privacy guarantees of any hypothesis-testing-based privacy definition (including original DP) converge to GDP in the composition limit, and this theorem also provides a low-cost tool for analyzing the exact composition of privacy algorithms. As an application, the authors use these tools to improve the privacy analysis of noisy stochastic gradient descent.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Addresses the problems that (ε, δ)-DP composition is not tight, divergence-based relaxations lose the hypothesis-testing interpretation, and subsampling is difficult to handle.

    Core question: how to define a differential privacy relaxation that both retains the hypothesis-testing interpretation and handles composition losslessly while allowing simple analysis of subsampling amplification.

    • Setting and motivation: differential privacy (DP) has been adopted by Google, Apple, Microsoft, and the U.S. Census Bureau (according to the paper), but the authors point out that (ε, δ)-DP has recognized weaknesses.
    • Shortcomings of existing definitions (authors' view): (ε, δ)-DP is "misparameterized"—the composition of multiple (εi, δi)-DP mechanisms cannot be exactly characterized by any pair (ε, δ); and finding the tightest ε given δ is #P-hard (citing [MV16]).
    • Shortcomings of divergence-based relaxations (authors' view): divergence-based relaxations such as CDP, RDP, and tCDP no longer have a hypothesis-testing interpretation; subsampling privacy amplification either does not hold for them or is complex to analyze (e.g., [WBK18]), and the moments accountant of Abadi et al. is a numerical method designed specifically for SGD.
    • Core observation: the most natural definition of DP is the hypothesis-testing problem of an attacker distinguishing neighboring datasets S and S' ([WZ10, KOV17]); the full trade-off function of type I and type II errors contains more information than a few parameters (based on Blackwell's theorem).
    • Contributions of the paper: propose f-DP (parameterized by the trade-off function f) and its single-parameter special case Gaussian DP (GDP); give the algebra of composition (tensor product), a central limit theorem for composition and a Berry–Esseen version, a subsampling amplification theorem, and apply them to the privacy analysis of noisy SGD.

    Note on the threat model: this is not an attack/defense paper, but the privacy semantics itself is characterized by hypothesis testing: the attacker distinguishes H0 (dataset is S) from H1 (dataset is S') based on the mechanism output, where S and S' differ by one record; f-DP requires that the minimum type II error of any test at significance level α be no lower than f(α).

  2. What related research exists?

    Related work includes four lines: (ε, δ)-DP composition theorems, divergence-based relaxations, the hypothesis-testing perspective, and subsampling amplification.

    Foundations of differential privacy and composition

    • Dwork et al. [DMNS06, DKM+ 06]—proposed (ε, δ)-DP; the basic composition theorem gives a bound by adding parameters.
    • Dwork, Rothblum, Vadhan [DRV10]—improved composition theorem; the paper notes that it still cannot characterize the correct hypothesis-testing trade-off, because no pair of (ε, δ) can exactly represent the composition result.
    • Murtagh, Vadhan [MV16]—proved that, given δ, computing the tightest ε after composition is #P-hard, and gave an FPTAS for single-point approximation; the paper uses this to show that exact composition computation is hard, and that its own CLT provides a global closed-form approximation in O(n) time.

    Divergence-based relaxations

    • Concentrated DP ([DR16, BS16]), Rényi DP ([Mir17]), truncated CDP ([BDRS18])—proposed to precisely track the privacy cost of composing Gaussian mechanisms. The paper notes that they lack a hypothesis-testing interpretation, and that subsampling amplification either fails or is complex to analyze; tCDP was introduced precisely to remedy CDP's deficiency on subsampling.
    • Wang, Balle, Kasiviswanathan [WBK18]—gave subsampled RDP and an analytical moments accountant; the paper states that both its analysis and its statement are complex.

    Hypothesis-testing perspective

    • Wasserman, Zhou [WZ10]—the earliest to understand DP from the perspective of statistical hypothesis testing; the paper's equivalence between fε,δ and (ε, δ)-DP (Proposition 2.5) is adapted from this work.
    • Kairouz, Oh, Viswanath [KOV17]—first applied the hypothesis-testing view to the study of composition and used Blackwell's theorem as a tool, giving an (ε, δ)-DP composition theorem better than [DRV10]; the paper states that its own composition theorem proof uses only the Neyman–Pearson lemma, bypassing Blackwell's theorem.
    • Sommer, Meiser, Mohammadi [SMM18]—proved a conceptually related central limit theorem for privacy loss random variables, used for non-adaptive composition of (ε, δ)-DP; the paper notes that its own CLT targets the optimal hypothesis-testing trade-off function and applies to adaptive composition.

    Subsampling amplification and privacy analysis of SGD

    • Kasiviswanathan et al. [KLN+ 11]—first formalized subsampling amplification for (ε, δ)-DP; Ullman's [Ull17] version is the source of the paper's Lemma 4.4, and the paper's Corollary 4.3 gives a tighter trade-off function.
    • Bassily, Smith, Thakurta [BST14]—the first asymptotically optimal analysis of DP-SGD; the paper states that it gives no meaningful bounds for realistic-scale datasets.
    • Abadi et al. [ACG+ 16]—proposed the moments accountant to analyze DP-SGD; this is what the application section (Section 5) of the paper improves upon, and the MA (ε, δ)-DP curves in Figure 7 were produced by the tensorflow/privacy library.

    Positioning: the authors state that f-DP starts from hypothesis testing rather than divergence, avoiding the above relaxations' difficulties with composition and subsampling, and establishes GDP via the CLT as the focal definition in the composition limit.

  3. How does the paper address this problem?

    Uses the type I/type II error tradeoff function f of hypothesis testing as the privacy parameter, establishing a composition algebra, limit theorems, and a subsampling operator.

    Overall idea: formalize "hard to distinguish neighboring datasets" as the optimal error trade-off of hypothesis testing, using the entire function f rather than the two parameters (ε, δ) as the privacy measure, called f-differential privacy (f-DP); then define the single-parameter special case Gaussian differential privacy (GDP), and build composition, limit, and subsampling theory around it.

    Problem setup and core definitions

    • Trade-off function: for two distributions P, Q, define T(P,Q)(α) = inf{βϕ : αϕ ≤ α}, i.e., the minimum type II error achievable by all test rules when the type I error α is fixed; the larger f is, the harder to distinguish. f is a trade-off function if and only if it is convex, continuous, non-increasing, and f(x) ≤ 1−x (Proposition 2.2).
    • f-DP: a mechanism M is f-DP if for all neighboring datasets S, S' we have T(M(S), M(S')) ≥ f (Definition 2.3); by default take the symmetrized f S = max{f, f⁻¹} (Proposition 2.4).
    • Relation to (ε, δ)-DP: (ε, δ)-DP is equivalent to fε,δ-DP, where fε,δ(α) = max{0, 1−δ−eᵉᵖˢⁱˡᵒⁿα, e⁻ᵉᵖˢⁱˡᵒⁿ(1−δ−α)} (Proposition 2.5, adapted from [WZ10]).

    Gaussian DP and basic properties

    • GDP definition: let Gµ = T(N(0,1), N(µ,1)), explicitly expressed as Gµ(α) = Φ(Φ⁻¹(1−α) − µ); M is µ-GDP if it is Gµ-DP (Definition 2.6). The right panel of Figure 3 gives a reference: µ=0.5 is fairly private, µ=1 is barely so, at µ=3 an attacker can keep both types of error at 0.07 simultaneously, and at µ=6 both types of error can be as small as 0.001.
    • Tight characterization of the Gaussian mechanism: adding N(0, sens(θ)²/µ²) noise to a statistic with sensitivity sens(θ) is exactly µ-GDP, and this is the pointwise tightest bound (Theorem 2.7 and equation (7)).
    • Information content: f-DP satisfies post-processing (Proposition 2.8); by Blackwell's theorem (Theorem 2.10), the order induced by the trade-off function is the same as the Blackwell order, on which basis the authors call f-DP the most informative among all privacy notions satisfying post-processing, while the orders induced by RDP and (ε, δ)-DP are strictly larger (proof in Appendix B).
    • Primal-dual perspective: f-DP is equivalent to a family of infinitely many (ε, δ(ε))-DP guarantees, δ(ε) = 1 + f*(−eᵉᵖˢⁱˡᵒⁿ) (Proposition 2.12); the δ(ε) corresponding to µ-GDP is δ(ε) = Φ(−ε/µ + µ/2) − eᵉᵖˢⁱˡᵒⁿΦ(−ε/µ − µ/2) (Corollary 2.13). This duality is the bridge for carrying existing (ε, δ)-DP techniques into f-DP.
    • Group privacy: an f-DP mechanism is [1 − (1−f)◦k]-DP for groups of size k, and the bound cannot be improved; µ-GDP corresponds to kµ-GDP (Theorem 2.14).

    Composition and limit theorems

    • Tensor product composition: define f ⊗ g = T(P×P', Q×Q'); the composition of n (adaptive) fi-DP mechanisms is f1 ⊗ ··· ⊗ fn-DP, and this bound is in general not improvable (Theorem 3.2). GDP has a closed form: the composition of µi-GDP mechanisms is √(µ1²+···+µn²)-GDP (Corollary 3.3).
    • Central limit theorem: define the functionals kl(f), κ2(f), κ3(f), κ̄3(f) (the moments of the logarithm of |f'|). The Berry–Esseen version (Theorem 3.4) gives µ and error γ such that the composed trade-off function is sandwiched by Gµ(α±γ) ± γ; the asymptotic version (Theorem 3.5) gives the composition limit G2K/s under Lindeberg-type conditions. The authors state this means GDP is the only parameterized definition that can tightly track composition.
    • Composition of (ε, δ)-DP: using the decomposition fε,δ = fε,0 ⊗ f0,δ to handle the ε and δ parts separately yields the limit Gµ ⊗ f0,1−e⁻ᵈᵉˡᵗᵃ (Theorem 3.6); there is also a Berry–Esseen improvement with O(1/n) error (Theorem 3.7, for homogeneous ε), and the authors state that numerical simulations show c≈0.1 at µ=1, and at n=10 the pointwise difference between G1 and the exact trade-off is less than 0.013.

    Subsampling amplification

    • p-sampling operator: Cp(f) = min{fp, fp⁻¹}**, where fp = pf + (1−p)Id, i.e., first take the convex combination, then symmetrize and convexify (Definition 4.1).
    • Subsampling theorem: if M is f-DP on m records, then the mechanism M ◦ Samplem after uniform subsampling with ratio p = m/n is Cp(f)-DP (Theorem 4.2); the proof takes the dual route: first convert to the (ε, δ)-DP family, apply the classical theorem (Lemma 4.4), then convert back to f-DP. The closed-form result for (ε, δ)-DP (Corollary 4.3) is strictly better than the classical (ε0, δ0) bound (shaded triangle in the right panel of Figure 6).

    Application: privacy analysis of NoisySGD

    • Algorithm: Algorithm 1 (NoisySGD): at each step uniformly sample a batch (size m), compute gradients, clip by norm C, average, add N(0, 4σ²C²/m² · I) noise, then descend, for T steps in total.
    • Analysis path: the single-step Gaussian mechanism is (1/σ)-GDP (Theorem 2.7) → after subsampling it is Cm/n(Gσ⁻¹)-DP (Theorem 4.2) → the composition of T steps is Cm/n(Gσ⁻¹)⊗T-DP (Theorem 5.1).
    • Two approximations: the asymptotic version (Corollary 5.4): if m√T/n → c, then NoisySGD is asymptotically µ-GDP, µ = 2c·√(eσ⁻²Φ(1.5σ⁻¹) + 3Φ(−0.5σ⁻¹) − 2); the Berry–Esseen version (Corollary 5.6) gives a numerically computable non-asymptotic bound f(α) = max{Gµ̃(α+γ) − γ, 0}.
  4. What experiments did the paper conduct?

    No traditional experiments; numerical computation is used to compare the GDP/CLT bound with the (ε, δ)-DP bound of the moments accountant.

    Experimental setup

    • Nature: This is a theory paper with no tested models, trained models, or human evaluation; the "experiments" are numerical computation and plotting of privacy bounds.
    • Analysis target: Algorithm 1 (NoisySGD), applied to the MNIST dataset [LC10], n = 60,000, batch size m = 256 (Figure 7 caption).
    • Three sets of hyperparameters (Figure 7 caption): (i) 15 epochs, σ = 1.3, learning rate 0.25, clipping threshold C = 1.5, reported accuracy 95.0%; (ii) 60 epochs, σ = 1.1, learning rate 0.15, C = 1.0, accuracy 96.6%; (iii) 45 epochs, σ = 0.7, learning rate 0.25, C = 1.5, accuracy 97.0%.
    • Comparison method: The paper's GDP bound (red line, obtained from Corollary 5.4, i.e., the CLT asymptotic formula) compared with the (ε, δ)-DP bound of the moments accountant [ACG+ 16] (blue dashed line, produced by the tensorflow/privacy library, δ = 1.0e-5).
    • Metric: Tradeoff curve of type I error and type II error; GDP is summarized by the single parameter µ, MA by (ε, δ).
    • Number of repetitions and statistical tests: Not reported in the paper.

    Main results

    The three tradeoff curve plots in Figure 7 (horizontal axis type I error, vertical axis type II error, both ranging 0–1) correspond to the three settings; the summary values annotated in the figures are as follows:

    Swipe horizontally to read the table

    Setting (epochs, σ)Paper's GDP bound (CLT)MA's (ε, δ)-DP bound (δ=1.0e-5)Reported accuracy
    15, 1.30.285-GDP(1.19, 1.0e-5)-DP95.0%
    60, 1.10.737-GDP(3.01, 1.0e-5)-DP96.6%
    45, 0.71.554-GDP(7.1, 1.0e-5)-DP97.0%

    According to the Figure 7 caption and the main text. The specific shape of the curves themselves is not readable in plain text; only the authors' statements are relayed below.

    • Authors' interpretation: The privacy guarantee given by the f-DP framework (red) is better than the best (ε, δ)-DP guarantee derived from MA (black/blue); the authors summarize this as "SGD leaks less sensitive information than expected in the literature" (Figure 1 caption).
    • Figure 1 (right): On the SGD analysis of MNIST convolutional neural network training, the authors claim that the f-DP guarantee is better than MA's best (ε, δ)-DP guarantee; the specific curve values are not annotated in the figure.

    Accuracy of the CLT approximation

    • Figure 1 (left) and Figure 5 (right): Composition of 10 (1/√10, 0)-DP mechanisms (i.e., the 10-fold tensor product of fε,0, ε = 1/√10). The authors claim that the CLT approximation curve nearly coincides with the exact composition curve, while the tightest (ε, δ)-DP approximation (ε = 2.89 when δ = 0.001) is clearly looser.
    • Numerical support for Theorem 3.7: The authors claim that simulations show the constant c ≈ 0.1 when µ = 1; when n = 10, the pointwise difference between G1 and the exact fε,0⊗n is less than 0.013.

    Magnitude of improvement from the subsampling theorem

    • Figure 6 (right): When ε = 3, δ = 0.1, p = 0.2, Cp(fε,δ) of Corollary 4.3 is compared with fε0,δ0 of the classical theorem (Lemma 4.4); the authors claim that the shaded triangular region between the two curves is the improvement, and that Cp(fε,δ) cannot be expressed within the (ε, δ)-DP framework.
    • Figure 6 (left): Illustration of the steps of the Cp operator (fp, fp⁻¹, Cp(f)) when f = G1.8, p = 0.35.

    Other analyses

    • Group privacy limit (Figure 8): When ε = 0.5, 1 − (1−fε,0)◦4 and the predicted Laplace limit T(Lap(0,1), Lap(2,1)) are nearly indistinguishable; the main text states that when µ=1, k=4, the two differ uniformly on [0,1] by no more than 0.005 (Proposition 2.5 section).
    • Conversion between GDP and RDP (Appendix B): µ-GDP implies (α, µ²α/2)-RDP (Corollary B.6); Proposition B.7 proves that the order induced by the full family of RDP is strictly different from the Blackwell order (there exists ε such that the Bernoulli pair is harder to distinguish on all Rényi divergences of order α but has larger total variation).
    • Geometry of the tensor product f0,δ (Figure 5 left): Taking the tensor product with f0,δ is equivalent to scaling the tradeoff function graph toward the origin by a factor of 1−δ (Equation (13)).
  5. What are some points that can be further explored?

    The authors list directions such as non-homogeneous composition, tightness of subsampling, local f-DP, and minimax estimation; the experiments cover only the computation of SGD bounds on MNIST.

    Limitations and future directions noted by the authors

    • O(1/n) bound for non-homogeneous composition: Theorem 3.7 covers only composition of homogeneous ε; the authors state that numerical evidence suggests an O(1/n) rate also holds in the non-homogeneous case when ε1,…,εn are roughly equal, and extending the theorem to non-homogeneous composition is future work (Section 3.3, Section 6).
    • s² = 2K relationship: In all applications of Theorem 3.5 in this paper, s² = 2K (in which case the composition is asymptotically s-GDP); the authors state that proving this observation or constructing a counterexample is left as future work (Section 3.2).
    • Improvability of the subsampling bound: The authors suggest studying whether the bound in Theorem 4.2 can be improved for certain tradeoff functions; Appendix F has shown that the bound is tight when f = 0 (the mechanism is completely non-private) (Section 6).
    • local f-DP: The authors suggest studying questions such as the fundamental limits of estimation under a local version of f-DP and the correct complexity measure (whether it is Fisher information) (Section 6).
    • Error-rate objectives and resource tradeoffs: The authors suggest addressing the tradeoff between privacy and statistical efficiency when the attacker's target type I/type II errors differ (Section 6).
    • Minimax estimation and practical evaluation: The authors state that f-DP may provide a more tractable framework for minimax estimation under privacy constraints, and leave practical evaluation of this new privacy definition as future work (Section 6).

    Scope of experiments

    • Scope of numerical validation: Numerical comparison of privacy bounds is only on NoisySGD on MNIST (n = 60,000, m = 256), with three sets of hyperparameters (Figure 7); the comparison target is the moments accountant (δ = 1.0e-5, computed by the tensorflow/privacy library).
    • CLT accuracy validation: Only 10-fold homogeneous composition (ε = 1/√10, two cases with δ = 0 and δ = 0.001, Figure 1 left, Figure 5 right) and simulation results with c ≈ 0.1 at µ = 1 are shown.
    • Subsampling comparison: Only two sets of parameters are plotted (G1.8 with p = 0.35; ε = 3, δ = 0.1 with p = 0.2, Figure 6).
    • Not reported in the paper: any trained models, attack experiments, statistical significance tests, or number of repetitions; the accuracy numbers (95.0%, 96.6%, 97.0%) come from the figure captions, and the paper does not describe their evaluation details.
  6. Summarize the main content of the paper

    f-DP redoes the foundations of differential privacy using hypothesis-testing tradeoff functions; GDP is the composition limit, and SGD privacy bounds are improved accordingly.

    A foundational theory paper on differential privacy that proposes the f-DP framework and its single-parameter special case GDP.

    • Problem: (ε, δ)-DP cannot tightly handle composition (computing the tightest parameters is #P-hard); divergence-based relaxations such as CDP and RDP lose the hypothesis-testing interpretation, and subsampling amplification is hard to analyze.
    • Method: uses the optimal type I/type II error trade-off function f that distinguishes neighboring datasets as the privacy parameter (f-DP); proves that composition corresponds to tensor product, is closed and tight (Theorem 3.2); proves a central limit theorem for composition—any hypothesis-testing-based privacy definition converges to GDP in the composition limit (Theorems 3.4, 3.5), and homogeneous (ε, 0)-DP composition has an O(1/n) error bound (Theorem 3.7); via a primal-dual conversion obtains the subsampling theorem Cp(f) (Theorem 4.2), which is strictly better than the classical (ε, δ)-DP result.
    • Key results: composition of µ-GDP mechanisms is √(Σµi²)-GDP; the Gaussian mechanism is exactly µ-GDP and pointwise tightest; f-DP is equivalent to a family of (ε, δ(ε))-DP, and µ-GDP implies (α, µ²α/2)-RDP.
    • Applications: NoisySGD is proven to be Cm/n(Gσ⁻¹)⊗T-DP (Theorem 5.1); on MNIST (n = 60,000, m = 256), the CLT asymptotic bound gives 0.285-GDP (15 epochs, σ = 1.3), 0.737-GDP (60 epochs, σ = 1.1), 1.554-GDP (45 epochs, σ = 0.7), while the moments accountant under the same settings gives (1.19, 1.0e-5), (3.01, 1.0e-5), (7.1, 1.0e-5)-DP respectively (Figure 7); the authors state that the f-DP trade-off curve is better than MA's optimal (ε, δ)-DP curve.
    • Authors' conclusion: f-DP is mathematically self-consistent and analytically tractable, and GDP is the unique focal definition under composition; the authors argue that SGD releases less sensitive information than the literature expected, and leave non-homogeneous composition bounds, local f-DP, minimax estimation and practical evaluation to future work.
Read originalJournal of The Royal Statistical Society Series B-statistical Methodology