Skip to main content
QUICK REVIEW

[Paper Review] Dynamic Differential-Privacy Preserving SGD

Jian Du, Song Li|arXiv (Cornell University)|Oct 30, 2021
Privacy-Preserving Technologies in DataComputer Science21 references7 citations
TL;DR

This paper proposes dynamic DP-SGD, a novel differentially private optimization method that adaptively adjusts gradient clipping thresholds and noise levels across training steps to improve model accuracy under strict privacy budgets. By leveraging an extended Gaussian differential privacy central limit theorem, the method achieves tighter privacy accounting and significantly reduces performance loss—demonstrating a 2.49% accuracy gap on MNIST at ε=1.2 and 1.72% in federated learning at ε=1, outperforming vanilla DP-SGD.

ABSTRACT

The vanilla Differentially-Private Stochastic Gradient Descent (DP-SGD), including DP-Adam and other variants, ensures the privacy of training data by uniformly distributing privacy costs across training steps. The equivalent privacy costs controlled by maintaining the same gradient clipping thresholds and noise powers in each step result in unstable updates and a lower model accuracy when compared to the non-DP counterpart. In this paper, we propose the dynamic DP-SGD (along with dynamic DP-Adam, and others) to reduce the performance loss gap while maintaining privacy by dynamically adjusting clipping thresholds and noise powers while adhering to a total privacy budget constraint. Extensive experiments on a variety of deep learning tasks, including image classification, natural language processing, and federated learning, demonstrate that the proposed dynamic DP-SGD algorithm stabilizes updates and, as a result, significantly improves model accuracy in the strong privacy protection region when compared to the vanilla DP-SGD. We also conduct theoretical analysis to better understand the privacy-utility trade-off with dynamic DP-SGD, as well as to learn why Dynamic DP-SGD can outperform vanilla DP-SGD.

Motivation & Objective

  • To address the performance degradation of vanilla DP-SGD due to fixed, suboptimal clipping and noise settings that destabilize training.
  • To reduce the privacy-utility gap in deep learning by dynamically allocating privacy costs across training steps.
  • To develop a theoretically grounded, adaptive mechanism for noise and clipping adjustment that maintains a predefined total privacy budget.
  • To improve model accuracy in image classification, NLP, and federated learning under strong privacy constraints (e.g., ε ≤ 1.2).
  • To provide theoretical insights into the impact of non-uniform privacy cost allocation on model utility and convergence stability.

Proposed method

  • Extends the Gaussian differential privacy central limit theorem to enable analytical composition of non-uniform privacy costs across training steps.
  • Proposes two dynamic calibration strategies: sensitivity decay and growing μt, which guide adaptive clipping and noise scaling.
  • Derives optimal noise variance σt and clipping threshold Ct using theoretical bounds that depend on local gradient sensitivity and curvature (Qt).
  • Implements dynamic DP-SGD and dynamic DP-Adam by adjusting σt and Ct per iteration based on real-time gradient statistics.
  • Uses tight privacy accounting via the extended CLT to ensure the total privacy budget is not exceeded while allowing per-step adaptation.
  • Employs a closed-form expression for δ(ε;μ) to enable efficient and accurate privacy cost tracking during training.

Experimental results

Research questions

  • RQ1Can dynamic adjustment of clipping thresholds and noise levels improve model accuracy in differentially private deep learning without violating the privacy budget?
  • RQ2How does non-uniform privacy cost allocation across training steps affect the utility-privacy trade-off in DP-SGD?
  • RQ3What theoretical conditions allow for optimal noise and clipping adaptation while maintaining privacy guarantees?
  • RQ4Does dynamic DP-SGD stabilize training updates and reduce the ramp-up instability seen in vanilla DP-SGD?
  • RQ5How does dynamic DP-SGD compare to existing adaptive methods like AdaClip or adaptive noise in terms of accuracy and privacy efficiency?

Key findings

  • Dynamic DP-SGD reduces the accuracy gap to only 2.49% compared to non-DP models on MNIST at ε=1.2, significantly outperforming vanilla DP-SGD.
  • In federated learning, the performance loss is reduced to 1.72% at ε=1, demonstrating strong utility under high privacy constraints.
  • The method stabilizes gradient updates, eliminating the ramp-up phase observed in vanilla DP-SGD, as shown in test loss and gradient norm trajectories.
  • Theoretical analysis confirms that dynamic noise and clipping reduce the upper bound on utility loss by minimizing bias and variance terms.
  • The extended CLT enables tight privacy accounting, allowing dynamic adjustments without exceeding the total privacy budget.
  • Empirical results show consistent gains across image classification, NLP, and federated learning, validating the method’s generalizability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.