Differentially Private Stochastic Gradient Descent with Low-Noise

Puyu Wang, Yunwen Lei, Yiming Ying, Ding-Xuan Zhou

This paper provides a theoretical breakthrough in the efficiency and accuracy of Differentially Private Stochastic Gradient Descent (DP-SGD). By exploiting "low-noise" conditions—where a model can perfectly fit the underlying data—the authors derive significantly sharper utility bounds and establish the first fast learning rates for privacy-preserving pairwise learning tasks like AUC maximization and ranking.

TL;DR

The authors improve the utility-privacy trade-off for DP-SGD by showing that under "low-noise" conditions, the standard statistical error term can be eliminated, leading to faster convergence. They also introduce a computationally efficient DP-SGD algorithm for pairwise learning that achieves optimal error rates with much lower complexity than previous state-of-the-art methods.

What Problem Does This Paper Address?

Training machine learning models on sensitive data (like medical records or financial transactions) risks leaking private information. Differential Privacy (DP) is the gold standard for mitigating this risk, typically implemented via DP-SGD, which adds random noise to gradients during training.

However, this noise creates a "utility gap": private models are generally less accurate than their non-private counterparts. Furthermore, while standard "pointwise" learning (where the loss depends on one data point at a time) is well-studied, pairwise learning—where the loss involves comparing two data points (e.g., "is image A more similar to B than to C?")—is much harder to make both private and efficient. Previous private pairwise algorithms were either computationally prohibitive or had sub-optimal accuracy.

Methods

The authors focus on DP-SGD with gradient perturbation, where Gaussian noise is added directly to the stochastic gradient at each step. To analyze this, they employ several key techniques:

  • Rényi Differential Privacy (RDP): A sophisticated framework for tracking privacy loss that allows for tighter "composition" (calculating the total privacy cost over many iterations) than standard DP.
  • Low-Noise Condition: Also known as the "realizability" condition, this assumes there exists a model in the hypothesis space that perfectly fits the data distribution (zero population risk).
  • $\alpha$-Hölder Smoothness: A generalized smoothness condition that allows the authors to analyze a wide range of loss functions, from perfectly smooth ones to non-smooth ones like the hinge loss used in SVMs.
  • Pairwise DP-SGD: They propose a simple adaptation of DP-SGD for pairwise problems, drawing a pair of samples at each iteration and adding noise to the resulting pairwise gradient.

Datasets

This is a theoretical paper focused on deriving mathematical bounds for excess risk and gradient complexity. Consequently, no empirical datasets were used for training or evaluation. The results are proven to hold for any data distribution satisfying the stated assumptions (convexity, Lipschitz continuity, etc.).

Key Insights and Ideas

  • Eliminating the $1/\sqrt{n}$ Barrier: In standard settings, the error of a model is dominated by a term proportional to $1/\sqrt{n}$ (where $n$ is the number of samples). The authors show that under the low-noise condition, this term disappears for private models, leaving only the error caused by the privacy noise itself.
  • Efficiency in Pairwise Learning: Previously, achieving optimal utility in private pairwise learning required complex "localized" algorithms with high gradient complexity (up to $O(n^3)$). This paper proves that a simple gradient perturbation approach can achieve the same optimal rates with only $O(n)$ complexity.
  • First Fast Rates for Pairwise DP: The paper establishes the first-ever "fast" utility bounds for private pairwise learning under low-noise conditions, significantly advancing the theoretical understanding of this sub-field.

Key Results

The paper’s main contributions are summarized in two comprehensive tables comparing their work to existing literature:

  • Pointwise Learning (Table 1): For smooth losses under low-noise, they improve the excess risk bound from $O(\frac{1}{\sqrt{n}} + \frac{\sqrt{d}}{n\epsilon})$ to $O(\frac{\sqrt{d}}{n\epsilon})$. Comparison of pointwise learning algorithms
Table 1: Comparison of different (ǫ, δ)-DP algorithms for pointwise learning. Here, α-H¨older denotes α-H¨older smooth losses.
  • Pairwise Learning (Table 2): They achieve the optimal utility rate with a gradient complexity of $O(n)$, a massive improvement over the $O(n^3 \log(1/\delta))$ required by previous methods like [47]. Comparison of pairwise learning algorithms
Table 2: Comparison of different (ǫ, δ)-DP algorithms for pairwise learning. We report the results for Gradient descent with output perturbation (Output GD), Localized Gradient descent (Localized GD) and SGD with gradient perturbation (Gradient SGD).

Limitations and Future Work

  • Convexity Assumption: The current analysis relies heavily on the assumption that the loss functions are convex. Extending these sharp bounds to non-convex settings (like deep neural networks) remains an open challenge.
  • IID Sampling: The proofs assume data is sampled independently and identically distributed (IID). The authors suggest that extending this to Markov sampling (where samples are dependent) would be a valuable next step.
  • Neural Network Structures: Investigating how these utility bounds translate to specific neural network architectures is noted as an unexplored area for future research.

Summary updated

BibTeX
@inproceedings{wang2022differentially,
  author = {Puyu Wang and Yunwen Lei and Yiming Ying and Ding-Xuan Zhou},
  title = {{Differentially Private Stochastic Gradient Descent with Low-Noise}},
  booktitle = {Neurocomputing},
  year = {2022},
}
Figure