Differentially Private Stochastic Gradient Descent with Low-Noise

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

Abstract

Differentially Private Stochastic Gradient Descent (DP-SGD) is the cornerstone of privacy-preserving machine learning. However, it typically faces a "slow rate" utility bottleneck of $O(1/\sqrt{n})$. This paper presents a theoretical advancement showing that DP-SGD can achieve "fast rates" (e.g., $O(1/n\epsilon)$) under a low-noise condition. Furthermore, we address the computational challenges of private pairwise learning—essential for tasks like ranking and AUC maximization. We propose a DP-SGD variant that achieves optimal utility with $O(n)$ gradient complexity, significantly outperforming existing methods that require $O(n^2)$ or $O(n^3)$ computations.

Introduction

Training machine learning models on sensitive data necessitates strong privacy guarantees. Differential Privacy (DP) provides a robust framework, typically implemented via DP-SGD, which adds Gaussian noise to gradients during training. Despite its popularity, standard DP-SGD often incurs a significant "utility loss," with error rates (excess risk) dominated by a $1/\sqrt{n}$ term. This "slow rate" is a major hurdle for high-accuracy private learning.

Additionally, pairwise learning tasks, where loss functions depend on pairs of data points, present unique challenges. Existing private algorithms for these tasks are often computationally prohibitive, requiring multiple passes over the data or complex "localized" optimization procedures. This work aims to bridge the gap between privacy, utility, and computational efficiency in both pointwise and pairwise learning settings.

Methodology

The core of our approach is DP-SGD with gradient perturbation. We analyze this algorithm under a low-noise (realizability) condition, assuming there exists a model $w^*$ in the hypothesis space that perfectly fits the data distribution ($F(w^*) = 0$).

Key technical components include:

  • Rényi Differential Privacy (RDP): Utilized for tighter privacy accounting compared to standard $(\epsilon, \delta)$-DP.
  • On-Average Argument Stability: Combined with RDP to derive sharper utility bounds for both smooth and non-smooth ($\alpha$-Hölder smooth) loss functions.
  • Simplified Pairwise DP-SGD: A straightforward gradient perturbation method for pairwise learning that avoids the complexity of previous localized versions while maintaining optimal utility.

Theoretical Results

Breaking the Slow Rate Barrier

Our analysis demonstrates that under the low-noise condition, the $1/\sqrt{n}$ term in the excess risk bound can be eliminated. For strongly smooth losses, the error rate improves to $O\left(\frac{\sqrt{d \log(1/\delta)}}{n\epsilon}\right)$. This indicates that for well-specified problems, the cost of privacy is much lower than previously theorized.

Extracted table from page 2 of Differentially Private Stochastic Gradient Descent with Low-Noise

Efficiency in Pairwise Learning

We establish that pairwise learning can achieve optimal utility with only $O(n)$ gradient complexity. This is a substantial improvement over prior state-of-the-art methods. For instance, previous work [47] required $O(n^3 \log(1/\delta))$ gradient computations to achieve similar utility, making it impractical for large-scale datasets.

Extracted table from page 3 of Differentially Private Stochastic Gradient Descent with Low-Noise

Handling Non-Smoothness

We extend these fast rates to non-smooth losses (such as Hinge loss) using the concept of $\alpha$-Hölder smoothness. For these losses under low-noise conditions, we establish a rate of $O\left(n^{-\frac{1+\alpha}{2}} + \frac{\sqrt{d \log(1/\delta)}}{n\epsilon}\right)$, providing a more general framework than prior work that often assumed high levels of smoothness.

Conclusion and Future Work

This work provides tight utility bounds and efficient algorithms for private learning. By leveraging low-noise conditions and stable optimization, we show that privacy does not necessarily mandate slow convergence or extreme computational overhead.

Future research directions include extending these fast rates to non-convex settings like deep neural networks, investigating performance under "approximate" low-noise conditions, and exploring the impact of more complex sampling methods on DP-SGD stability.

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