Skip to main content
QUICK REVIEW

[Paper Review] Normalized/Clipped SGD with Perturbation for Differentially Private Non-Convex Optimization

Xiaodong Yang, Huishuai Zhang|arXiv (Cornell University)|Jun 27, 2022
Privacy-Preserving Technologies in DataComputer Science7 citations
TL;DR

This paper proposes and analyzes DP-NSGD, a differentially private optimization algorithm that normalizes per-sample gradients instead of clipping them, improving convergence in non-convex settings. Under mild smoothness and bounded variance assumptions, it achieves a gradient norm convergence rate of $\mathcal{O}\left(\sqrt[4]{\frac{d\log(1/\delta)}{N^{2}\epsilon^{2}}}\right)$, improving over prior work with weaker assumptions and better hyperparameter stability.

ABSTRACT

By ensuring differential privacy in the learning algorithms, one can rigorously mitigate the risk of large models memorizing sensitive training data. In this paper, we study two algorithms for this purpose, i.e., DP-SGD and DP-NSGD, which first clip or normalize extit{per-sample} gradients to bound the sensitivity and then add noise to obfuscate the exact information. We analyze the convergence behavior of these two algorithms in the non-convex optimization setting with two common assumptions and achieve a rate $\mathcal{O}\left(\sqrt[4]{\frac{d\log(1/δ)}{N^2ε^2}} ight)$ of the gradient norm for a $d$-dimensional model, $N$ samples and $(ε,δ)$-DP, which improves over previous bounds under much weaker assumptions. Specifically, we introduce a regularizing factor in DP-NSGD and show that it is crucial in the convergence proof and subtly controls the bias and noise trade-off. Our proof deliberately handles the per-sample gradient clipping and normalization that are specified for the private setting. Empirically, we demonstrate that these two algorithms achieve similar best accuracy while DP-NSGD is comparatively easier to tune than DP-SGD and hence may help further save the privacy budget when accounting the tuning effort.

Motivation & Objective

  • To address the challenge of poor convergence in differentially private non-convex optimization due to gradient clipping in DP-SGD.
  • To analyze the convergence behavior of DP-NSGD, a novel variant that normalizes per-sample gradients instead of clipping them.
  • To establish a tighter convergence rate under weaker assumptions than prior work, particularly avoiding global gradient bounds.
  • To demonstrate empirically that DP-NSGD is easier to tune than DP-SGD while achieving comparable accuracy, reducing privacy budget consumption.
  • To show that a regularizing factor in DP-NSGD is crucial for controlling the bias-noise trade-off in the convergence proof.

Proposed method

  • Introduces DP-NSGD, which replaces per-sample gradient clipping with normalization using a regularizer $ r > 0 $, defined as $ h^{(i)} = \frac{1}{r + \|\mathbf{g}^{(i)}\|} $.
  • Applies Gaussian noise $ \mathbf{z} \sim \mathcal{N}(0, \sigma^2 \mathbf{I}_d) $ to the normalized gradients to ensure differential privacy.
  • Uses Renyi Differential Privacy (RDP) and privacy amplification via uniform sub-sampling without replacement to derive privacy guarantees.
  • Employs a functional view of RDP and composition theorems to bound the privacy loss, leveraging results from [8] for sub-sampled Gaussian mechanisms.
  • Introduces a regularizer $ r $ to prevent ill-conditioning and to balance bias and noise in the optimization process.
  • Analyzes convergence under two mild assumptions: $ (L_0, L_1) $-generalized smoothness and $ (\tau_0, \tau_1) $-bounded gradient variance.

Experimental results

Research questions

  • RQ1Can gradient normalization outperform gradient clipping in terms of convergence rate and hyperparameter stability in differentially private non-convex optimization?
  • RQ2What is the convergence rate of DP-NSGD under weak assumptions that allow smoothness and gradient variance to grow with gradient norm?
  • RQ3How does the inclusion of a regularizer $ r $ in the normalization factor affect the bias-noise trade-off in DP-NSGD?
  • RQ4Can DP-NSGD achieve better privacy-accuracy trade-offs than DP-SGD in practice, especially when tuning effort is considered?
  • RQ5What privacy accounting framework enables tighter bounds for DP-NSGD using sub-sampled Gaussian mechanisms?

Key findings

  • DP-NSGD achieves a gradient norm convergence rate of $ \mathcal{O}\left(\sqrt[4]{\frac{d\log(1/\delta)}{N^{2}\epsilon^{2}}}\right) $ under only two mild assumptions: $ (L_0, L_1) $-generalized smoothness and $ (\tau_0, \tau_1) $-bounded gradient variance.
  • The convergence rate improves over previous bounds that required stronger assumptions, such as a global upper bound on gradients.
  • The regularizer $ r $ in the normalization factor is essential for the convergence proof and effectively controls the bias and noise trade-off.
  • Empirical results show that DP-NSGD achieves similar best accuracy to DP-SGD but is significantly easier to tune, reducing the need for extensive hyperparameter search.
  • The privacy budget is more efficiently utilized in DP-NSGD due to reduced tuning effort, suggesting it may be preferable in practice for differentially private learning.
  • The analysis leverages a refined privacy accounting framework based on Renyi Differential Privacy and sub-sampling without replacement, enabling tighter bounds than prior approaches.

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.