Skip to content

Differential privacy dynamics of Langevin diffusion and noisy gradient descentDifferential Privacy Dynamics of Langevin Diffusion and Noisy Gradient Descent

arXiv· arXiv:2102.05855· Rishav Chourasia, Jiayuan Ye, Reza ShokriDepartment of Computer Science, National University of SingaporeIndexed 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 establish an RDP dynamic analysis for noisy GD with hidden intermediate states, claiming that privacy loss converges exponentially with iterations, and that the bound is tight and the utility optimal.

Questions
When an iterative stochastic training algorithm releases only the final model, the composition theorem overestimates the privacy loss, because it also counts the invisible intermediate gradient updates as leakage. How to give a tight Rényi DP bound for an arbitrary number of training rounds K is the open problem the authors aim to solve.
Methods
The authors interpolate each update step of noisy GD as a coupled Langevin diffusion process, use the Fokker-Planck equation to characterize the density evolution, establish and solve a differential inequality for the privacy loss rate under the log-Sobolev inequality (c-LSI) condition, and obtain an RDP bound that converges exponentially with K; they also construct an ℓ2 squared loss instance to give a matching lower bound, and analyze utility and gradient complexity.
Experiments and results
Theoretical results: Under λ-strongly convex β-smooth loss, the RDP bound is ε = αSg²/(λσ²n²)·(1−e^(−ληK/2)), converging exponentially with K; the lower bound differs from it by only a constant factor; the utility O(βdL²log(1/δ)/(ε²λ²n²)) matches the known lower bound, and the gradient complexity is on the order of O(n log n), which the authors state is n/log(n) times faster than noisy SGD.
Limitations and future work
The authors state that the remaining open challenge is extending the analysis to non-smooth, non-convex losses and stochastic gradient updates (the setting commonly used in deep learning). The paper is entirely theoretical analysis, with no real-model experiments; the numerical demonstrations (Figure 1/2) use only formula computations under settings such as n=5000 and σ=0.02.
Experimental setup(α, ε)-Rényi Differential Privacy、Rényi divergence et al.
Threat model
Defender's perspective: analyzes the Rényi privacy loss when noisy gradient descent (Algorithm 1) releases the final parameter θK; assumes the internal states θ1,…,θK−1 are private and the adversary can only observe the final model; adjacent datasets D, D′ differ by one record.
Metrics
(α, ε)-Rényi Differential PrivacyRényi divergenceexcess empirical riskgradient complexity
AI summaryAn analysis characterizes the dynamics of Rényi differential privacy loss during training for Langevin diffusion and noisy gradient descent, and provides provably tight bounds on the Rényi divergence between model parameter distributions under adjacent datasets. Results show that under smooth and strongly convex losses, privacy loss converges exponentially and is tighter than composition theorems; for Lipschitz, smooth, strongly convex losses, noisy gradient descent achieves optimal utility with lower gradient complexity.

An analysis characterizes the dynamics of Rényi differential privacy loss during training for Langevin diffusion and noisy gradient descent, and provides provably tight bounds on the Rényi divergence between model parameter distributions under adjacent datasets. Results show that under smooth and strongly convex losses, privacy loss converges exponentially and is tighter than composition theorems; for Lipschitz, smooth, strongly convex losses, noisy gradient descent achieves optimal utility with lower gradient complexity.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How to tightly bound the Rényi privacy loss of noisy GD with a hidden intermediate state after an arbitrary K rounds.

    Core question: when the internal states of an iterative stochastic learning algorithm are not visible and only the final model is released, how can its Rényi differential privacy loss be tightly bounded, and how much does each training epoch contribute to the leakage.

    • Problem setting: machine learning models leak training data information through parameters and predictions (the authors cite [21, 18, 5]); gradient perturbation algorithms (noisy GD/SGD) are a commonly used certified defense, whose strength is determined by an upper bound on the Rényi divergence between parameter distributions on adjacent datasets.
    • Shortcomings of existing methods: the authors state that the common approach treats training as the composition of multiple DP mechanisms, but this counts intermediate gradient updates that the adversary cannot see as leakage, leading to overestimated privacy loss and loose bounds [13, 19]; privacy amplification by iteration of Feldman et al. [8, 9] covers only a single epoch, and for multiple epochs its guarantee is quantitatively similar to the composition bound.
    • Core observation: the authors argue that as privacy loss accumulates, the rate of loss growth itself slows (the Iα/Eα term grows with Rényi divergence, suppressing the loss rate), so a bound that converges exponentially with K rather than growing linearly can be derived.
    • Contributions of the paper: a privacy dynamics analysis framework for noisy GD under smooth strongly convex losses: construct coupled Langevin diffusions to track the parameter distribution, derive a differential inequality for the rate of privacy loss, prove an exponentially convergent RDP bound, a matching tightness lower bound, and optimal utility with low gradient complexity.
    • Threat model (defense/certification perspective):
      • Victim system: noisy gradient descent (Algorithm 1), which releases the final parameter θK.
      • Adversary can see: only the final model parameters; the authors explicitly assume the internal states θ1,…,θK−1 are private.
      • Adjacency definition: datasets D, D′ have the same size and differ in exactly one record (Definition B.3).
      • Form of guarantee: (α, ε)-Rényi DP, convertible to (ε, δ)-DP (Theorem 7).
  2. What related research exists?

    Related work falls into four categories: gradient perturbation DP, composition and auditing, per-iteration amplification, and Gibbs posterior sampling; the authors position this paper through its tight multi-epoch analysis.

    Gradient perturbation and DP-ERM algorithms

    • Abadi et al. [1] (2016) — DP-SGD and the moments accountant, the source of this paper's composition baseline (the baseline in Figure 1/2 is derived from its log moment bound, see Appendix E).
    • Bassily et al. [3] (2014) — utility and gradient complexity of noisy SGD, and gives a lower bound on the excess risk of (ε,δ)-DP algorithms of Ω(min{1, d/(ε²n²)}) (Theorem 5); this paper's Table 1 compares with it.
    • Chaudhuri et al. [6], Kifer et al. [14] — objective perturbation; Zhang et al. [26] — output perturbation; Wang et al. [23] — DP-SVRG; all are in the utility/gradient complexity comparison of Table 1.

    Overestimation of composition bounds and auditing

    • Jagielski et al. [13], Nasr et al. [19] — cited by the authors to show that composition bounds overestimate privacy loss (auditing and adversary instantiations give tighter empirical lower bounds).

    Privacy amplification by iteration

    • Feldman et al. [8] (2018) and Feldman et al. [9] (2020) — give a privacy analysis amplified per iteration for single-epoch gradient computations with smooth convex losses; the authors note that for multi-epoch training their guarantee is quantitatively similar to the composition bound, and that this paper's assumptions are similar but cover arbitrary K.

    Gibbs posterior and Langevin sampling

    • Wang et al. [25], Minami et al. [16] — sampling from the Gibbs posterior satisfies DP, but exact sampling is difficult [4]; Minami et al. [16] and Ganesh and Talwar [11] extend the guarantee to gradient-based samplers such as ULA, the latter with gradient complexity Ω(nd). The authors note that these bounds grow with dimension d, whereas this paper's DP guarantee is independent of d.
    • Vempala and Wibisono [22] — prove that c-LSI suffices to guarantee fast convergence of the Langevin diffusion in Rényi divergence, cited directly in Lemma 3 of this paper; Sato and Nakagawa [20] — approximate analysis of SGLD via the Fokker-Planck equation.

    Positioning: the authors state that this paper provides a tight dynamic analysis for multi-epoch noisy GD under the hidden intermediate state setting, where the privacy bound does not grow linearly with K and does not depend on dimension d, and thereby improves the utility-gradient complexity trade-off of noisy SGD [3].

  3. How does the paper address this problem?

    Coupled Langevin diffusions are used to track the parameter distribution of noisy GD; under the c-LSI condition, the differential inequality for privacy loss is solved, yielding an exponentially convergent RDP bound.

    Overall approach: interpolate each discrete update of noisy GD into continuous-time coupled tracing diffusions, use the Fokker-Planck equation to characterize the evolution of the parameter densities on two adjacent datasets, derive a differential inequality for the rate of Rényi privacy loss, then solve it under a log-Sobolev inequality condition to obtain an RDP bound that converges exponentially with iterations.

    Problem setting and algorithm

    • Algorithm: Algorithm 1 (ANoisy-GD): at each step compute the full gradient sum g(θk; D), update θk+1 = ΠC(θk − (η/n)g(θk; D) + √(2η)N(0, σ²Id)), and output θK after K steps.
    • Goals: (1) compute an upper bound on the worst-case Rényi divergence Rα(ΘK‖Θ′K) between the output distributions and analyze its tightness; (2) characterize the incremental contribution of the k-th iteration to privacy loss.
    • Key assumption: the internal states θ1,…,θK−1 are private, and only θK is released.

    Tracing diffusions and density evolution

    • Interpolation construction: interpolate the discrete jump at step k as ηk < t < η(k+1) 上的随机过程(式 5),漂移项用 U1、U2(相邻数据集梯度的平均与半差)写成对称形式,步末投影回凸集 C,使 t=ηk 处分布与 noisy GD 的 θk 一致(Definition 3.1)。
    • 密度演化:条件化后每段是 Langevin 扩散(SDE 式 7),其密度满足 Fokker-Planck 方程;对条件取期望得无条件的密度演化方程(Lemma 1),向量场 Vt、Vt′ 为条件期望形式。

    隐私损失速率与 LSI 控制

    • 损失速率界:Lemma 2 给出 ∂Rα(Θt‖Θ′t)/∂t ≤ (1/γ)·(αSv²/4σ²) − (1−γ)σ²α·Iα/Eα,其中 Sv 为两向量场的最大 ℓ2 距离,γ>0 is a tunable parameter; direct integration gives the linear bound ε = αSv²T/4σ² (Theorem 1), of the same order as the moments accountant.
    • LSI condition: Definition 3.2 introduces c-LSI; Lemma 3 (cited from [22]) shows that under c-LSI, Iα/Eα grows monotonically with Rényi divergence, so the loss accumulates more slowly as it grows. Combining these gives the privacy dynamics PDE (Eq. 13).
    • Substituting into noisy GD: Lemma 4 proves Sv ≤ Sg/n (Sg is the total gradient sensitivity, Definition B.10); taking γ=1/2, solving piecewise, and treating projection as post-processing gives Theorem 2: when c-LSI holds throughout, ε = αSg²/(2cσ⁴n²)·(1 − e^(−σ²cηK)).

    LSI constant and final bound

    • LSI preservation: Lemma 8, 9 (cited from [15]) show that Lipschitz transforms and Gaussian convolution preserve LSI; Lemma 5 uses this to prove by induction: for λ-strongly convex β-smooth losses, step size η<1/β, and initial distribution ΠC(N(0, (2σ²/λ)Id)), the tracing diffusions satisfy c-LSI with c = λ/(2σ²) throughout.
    • Corollary 1: substituting gives ε = αSg²/(λσ²n²)·(1 − e^(−ληK/2)), i.e., the privacy loss converges exponentially with K to a constant-level asymptotic value.

    Tightness and utility analysis

    • Lower bound construction: Theorem 3 constructs an instance with the ℓ2 squared loss ℓ(θ;x)=½‖θ−x‖² (bounded data domain), where the parameter distribution is Gaussian and the divergence can be computed exactly, giving the lower bound αSg²/(4σ²n²)·(1−e^(−ηK)).
    • Utility: Lemma 6 gives the excess empirical risk upper bound (2βL²/λ²)e^(−ληK) + 2βdσ²/λ; Theorem 4 tunes σ² and K* under an (α, ε′)-RDP constraint to obtain the optimal-order utility, and converts it to an (ε, δ)-DP version.
  4. What experiments did the paper conduct?

    Purely theoretical paper: no experiments on real data; the formula-computed curves in Figure 1/2 demonstrate bound convergence and tightness, and Table 1 compares utility orders.

    Experimental setup

    • Nature: this paper is a theoretical analysis with no experiments on real models or real datasets; Figure 1 and Figure 2 are numerical curves computed by substituting specific hyperparameters into the paper's formulas, and Table 1 is an asymptotic order comparison.
    • Figure 1 settings: RDP order α ∈ {10, 20, 30}; λ ∈ {1, 2, 4}; β = 4; Sg = 4; n = 5000; η = 0.02; σ = 0.02; K from 0–500.
    • Figure 2 settings: ℓ2 squared loss (Eq. 71); σ = 0.02; η = 0.02; n = 5000; Sg = 4; α ∈ {10, 20, 30}; K from 0–300.
    • Baseline: the composition-based bound, derived from the moments accountant of Abadi et al. [1], with expression ε = αSg²/(4n²σ²)·ηK (derivation in Appendix E).
    • Metrics: ε of (α, ε)-RDP; utility is the excess empirical risk E[LD(θ)−LD(θ*)]; gradient complexity is the number of ∇ℓ computations.
    • Compared methods (Table 1): Noisy SGD [3], DP-SVRG [23], Output Perturbation [26], Objective Perturbation [14], assuming 1-Lipschitz, β-smooth, λ-strongly convex losses.

    Main results

    Table 1 (utility comparison, ignoring numerical constants and the multiplicative log(1/δ) factor; this paper's results assume ε ≤ 2log(1/δ)):

    MethodUtility upper boundGradient complexity
    Noisy SGD [3]O(d·log²(n)/(λn²ε²))n²
    DP-SVRG [23]O(d·log(n)/(λn²ε²))O((n+β/λ)log(λn²dε²))
    Output Perturbation [26]O(βd/(λn²ε²))O((β/λ)n log(n²dε))
    Objective Perturbation [14]O(d/(λn²ε²))NA
    This paper's Noisy GDO(βd/(λ²n²ε²))O((2β/λ²)n log(n²ε²/d))
    • The authors state that this paper's utility matches the lower bound of Bassily et al. [3] Ω(min{1, d/(ε²n²)}) (Theorem 5, when β/λ²=O(1), up to a log(1/δ) factor), and is better than noisy SGD [3] by a log(n) factor.
    • The authors state that the gradient complexity is smaller than noisy SGD [3] by a factor of n/log(n), because this paper uses a (larger) constant step size while [3] uses a decreasing step size; the cost is the additional assumption that the loss is smooth.
    • The authors explain that the utility gain comes from the tight RDP bound: noisy SGD requires n² iterations, at which point the composition bound is already higher than this paper's bound, leaving room to improve the privacy-utility trade-off.

    Figure 1: RDP bound converges with K

    • What was measured: ε of Corollary 1 (solid line) and the composition baseline (dashed line) as functions of K.
    • Results: the figure shows this paper's bound flattening out (converging) as K grows, while the composition baseline keeps rising linearly; at α=30, λ=1 the asymptotic ε is on the order of about 6×10⁻², and at α=10, λ=4 it is close to 0 (read from the caption formulas and axis values).
    • Authors' interpretation: α scales the asymptotic guarantee linearly but does not affect the convergence rate; a larger λ gives a stronger asymptotic guarantee and faster convergence.

    Figure 2: tightness analysis

    • What was measured: under the ℓ2 squared loss, the upper bound of Corollary 2, the lower bound of Theorem 3 (dashed line), and the composition baseline as functions of K.
    • Results: the authors state that the upper bound is about twice the lower bound (constant factor 4/(2−η) ≈ 2); the composition bound grows at the same rate as the lower bound early on, and after K reaches Ω(1/η) ≈ 100 ≪ n = 5000 it linearly exceeds both the lower bound and this paper's bound.
    • Authors' interpretation: the larger α is, the smaller the K needed for this paper's bound to beat the composition bound; Appendix E attributes the exponential gap to discretization bias and the constant gap to the compromise of γ=1/2.

    Other ablations and analyses

    • Role of γ (Appendix E): γ=1 is tighter early in training, and γ→0 is tighter at convergence; Theorem 2 takes γ=1/2 as a compromise, minimizing the bound at convergence.
    • Dimensional dependence: the authors state that this paper's DP guarantee does not contain the dimension d, whereas the gradient complexity of the sampler of Ganesh and Talwar [11] is Ω(nd).
    • Negative control: the authors note that for small K the composition bound and the lower bound grow at the same rate, i.e., this paper's bound is not better than the composition bound for all K (Appendix E).
  5. What are some points that can be further explored?

    The open direction pointed out by the authors is extending to non-smooth, non-convex losses and stochastic gradient updates; all evidence consists of theoretical proofs plus formula-based numerical demonstrations.

    Limitations and future directions noted by the authors

    • Non-smooth and non-convex losses (Section 6, Future Work): the authors state that "the remaining open challenge is to extend the analysis to non-smooth and non-convex loss functions," and note that such losses are widely used in deep learning.
    • Stochastic gradient updates (Section 6, Future Work): the authors also list stochastic gradient updates as an open challenge; this paper analyzes noisy GD with full gradients.
    • Trade-offs of the assumptions (Section 6): the authors write that their assumptions are very similar to those of privacy amplification by iteration [8], and state that these assumptions "have clear advantages for achieving tightness and utility analysis," implying that the tightness conclusions depend on the strong convexity and smoothness assumptions.

    Scope of experiments

    • Form of evidence: all results are mathematical proofs (Theorem 1–5, Corollary 1–2) plus two numerically computed figures based on formulas (Figure 1, 2); there are no experiments on real datasets or real models.
    • Numerical demonstration parameters: n = 5000, σ = 0.02, η = 0.02, Sg = 4, β = 4, α ∈ {10, 20, 30}, λ ∈ {1, 2, 4} (Figure 1); Figure 2 uses only the ℓ2 squared loss.
    • Range of loss functions: the privacy upper bound (Corollary 1) covers λ-strongly convex, β-smooth losses with finite total gradient sensitivity; the tightness lower bound (Theorem 3) is constructed only for the ℓ2 squared loss instance.
    • Comparison baselines: only the composition bound (derived from the moments accountant [1]); the utility comparison (Table 1) covers noisy SGD [3], DP-SVRG [23], output perturbation [26], objective perturbation [14].
    • Items not reported: the paper reports no implementation, runtime, or privacy audit numbers from real training; a constant factor (about 2) remains between the upper and lower bounds (Appendix E discusses its source).
  6. Summarize the main content of the paper

    With hidden intermediate states, the RDP loss of noisy GD converges exponentially with iterations; the bound is tight, the utility optimal, and the gradient complexity on the order of O(n log n).

    A differential privacy theory paper (NeurIPS 2021) that analyzes the dynamics of Rényi privacy loss for noisy gradient descent where only the final parameters are released and the internal state is private.

    • Problem: The composition theorem counts the invisible intermediate gradient updates as leakage, and the authors state that it overestimates the privacy loss; existing per-iteration amplification analyses cover only a single epoch, and for multiple epochs they are quantitatively close to the composition bound.
    • Method: Each step of noisy GD is interpolated as a coupled Langevin tracking diffusion; using the Fokker-Planck equation and the c-LSI isoperimetric condition, a differential inequality for the privacy loss rate is established and solved piecewise.
    • Main result 1 (Corollary 1): Under λ-strongly convex β-smooth loss, noisy GD satisfies (α, ε)-RDP with ε = αSg²/(λσ²n²)·(1−e^(−ληK/2)), converging exponentially with K rather than growing linearly.
    • Main result 2 (Theorem 3 and Corollary 2): An instance with ℓ2 squared loss gives the lower bound αSg²/(4σ²n²)·(1−e^(−ηK)), which differs from the upper bound by only a constant factor of about 2 per step; the authors state that the bound is tight.
    • Main result 3 (Theorem 4 and Table 1): Under (ε,δ)-DP, the excess empirical risk is O(βdL²log(1/δ)/(ε²λ²n²)), matching the known lower bound; the gradient complexity is O((2β/λ²)n log(n²ε²/d)), which the authors state is n/log(n) times faster than noisy SGD [3] and better in utility by a log(n) factor, at the cost of the additional smoothness assumption.
    • The authors' conclusion: Hiding the internal state allows the information leakage rate to be tightly characterized throughout the training process, yielding a bound that is significantly tighter than composition methods; the remaining open challenge is extending to non-smooth, non-convex losses and stochastic gradient updates.
Read originalarxiv.org