Privacy of SGD under Gaussian or Heavy-Tailed Noise: Guarantees without Gradient Clipping

Umut Şimşekli, Mert Gürbüzbalaban, Sinan Yıldırım, Lingjiong Zhu · DOI

Abstract

The injection of heavy-tailed noise into the iterates of stochastic gradient descent (SGD) has garnered growing interest in recent years due to its theoretical and empirical benefits for optimization and generalization. However, its implications for privacy preservation remain largely unexplored. Aiming to bridge this gap, we provide differential privacy (DP) guarantees for noisy SGD, when the injected noise follows an $\alpha$-stable distribution, which includes a spectrum of heavy-tailed distributions (with infinite variance) as well as the light-tailed Gaussian distribution. Considering the $(\epsilon, \delta)$-DP framework, we show that SGD with heavy-tailed perturbations achieves $(0, O(1/n))$-DP for a broad class of loss functions which can be non-convex, where $n$ is the number of data points. As a remarkable byproduct, contrary to prior work that necessitates bounded sensitivity for the gradients or clipping the iterates, our theory can handle unbounded gradients without clipping, and reveals that under mild assumptions, such a projection step is not actually necessary. Our results suggest that, given other benefits of heavy-tails in optimization, heavy-tailed noising schemes can be a viable alternative to their light-tailed counterparts.

Introduction

In the pursuit of privacy-preserving machine learning, Stochastic Gradient Descent (SGD) with noise injection has become the gold standard. Traditionally, achieving Differential Privacy (DP) requires bounding the sensitivity of the algorithm—essentially limiting how much a single data point can influence the final model. The most common method to achieve this is gradient clipping, where gradients exceeding a certain threshold are forcibly scaled down.

While clipping ensures privacy, it often comes at a high cost to optimization. It can distort the descent direction, slow down convergence, and prevent models from escaping local minima in complex, non-convex landscapes. This paper explores a paradigm shift: can we achieve rigorous privacy guarantees without the performance-killing side effects of clipping? By investigating heavy-tailed noise—specifically the $\alpha$-stable distribution family—the authors demonstrate that the inherent "smearing" effect of heavy tails can provide privacy naturally, even for unbounded gradients.

Methodology: A Markov Chain Perspective

The researchers move away from standard sensitivity-based DP analysis, which typically fails when gradients are unconstrained. Instead, they analyze SGD through the lens of Markov Chain Stability Theory.

1. $\alpha$-Stable Noise Injection

Rather than relying solely on Gaussian noise (where $\alpha=2$), the framework utilizes $\alpha$-stable distributions. When $\alpha < 2$, these distributions are "heavy-tailed," meaning they have infinite variance and a higher probability of producing large "jumps." These jumps are traditionally seen as beneficial for escaping sharp local minima in non-convex optimization.

2. $V$-Uniform Ergodicity and Lyapunov Functions

The iterates of SGD are treated as a Markov chain. To measure privacy, the authors analyze how the distribution of model parameters ($\theta$) changes when a single data point in the training set is replaced. By designing specific Lyapunov functions, they prove that the SGD process remains stable and "forgets" its initial state rapidly. This stability allows them to bound the Total Variation (TV) distance between iterates on neighboring datasets.

3. Mapping TV Distance to DP

A core mathematical contribution of the paper is the translation of TV distance bounds into $(0, \delta)$-Differential Privacy guarantees. This approach allows for privacy accounting that does not rely on the Lipschitz continuity of the loss function, which is the typical requirement for standard DP-SGD.

Key Insights and Theoretical Results

Clipping is Optional

The most significant finding is that if a loss function is "dissipative"—meaning gradients generally point back toward a central region when the parameters are far from the origin—the algorithm is inherently private. The noise itself provides sufficient protection to hide individual data points, rendering the manual capping of gradients unnecessary.

The Heavy-Tail Advantage in High Dimensions

Surprisingly, the privacy bound’s dependence on the model dimension ($d$) improves as the noise becomes heavier (smaller $\alpha$). The dependency is of the order $d^{\frac{\alpha+1}{2}}$. This suggests that for high-dimensional models, heavy-tailed noise may be more "privacy-efficient" than its Gaussian counterparts.

Time-Uniform Privacy

Unlike standard DP-SGD, where the privacy budget $(\epsilon, \delta)$ typically degrades as the number of training iterations increases, these guarantees are time-uniform. The privacy protection remains stable even if the algorithm is run for an infinite number of iterations, a property derived from the ergodicity of the underlying Markov chain.

Empirical Context and Problem Classes

As a theoretical foundation, the paper provides explicit privacy constants for two fundamental problem classes:

  • Ridge Regression (Linear)
  • Logistic Regression

The theory holds for a broad class of non-convex loss functions, provided they satisfy mild regularity and dissipativity assumptions. Furthermore, when $\alpha=2$, the method recovers the same privacy orders found in existing Gaussian-based literature, validating the robustness of the Markov-chain approach.

Limitations and Future Directions

While the paper removes the need for gradient clipping, it still assumes that the input data itself is bounded or sub-Gaussian. Additionally, the current focus is on $(0, \delta)$-DP. Future research may explore whether heavy-tailed mechanisms can provide tighter $(\epsilon, \delta)$-DP or Rényi DP guarantees, which are more common in industrial privacy accounting.

By proving that we do not need to "break" our gradients to keep them private, this work opens the door for more robust, heavy-tailed optimization in privacy-sensitive applications, potentially bridging the gap between high-performance optimization and rigorous data protection.

Summary updated

BibTeX
@misc{simsekli2024privacy,
  author = {Umut Şimşekli and Mert Gürbüzbalaban and Sinan Yıldırım and Lingjiong Zhu},
  title = {{Privacy of SGD under Gaussian or Heavy-Tailed Noise: Guarantees without Gradient Clipping}},
  year = {2024},
  eprint = {2403.02051},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.02051},
}
Figure