Privacy Loss of Noisy Stochastic Gradient Descent Might Converge Even for Non-Convex Losses

Shahab Asoodeh, Mario DíazarXiv 2023 · DOI

Introduction

In the field of Differential Privacy (DP), a common assumption is that every intermediate update of a model's parameters is accessible to an adversary. Under this "publicly revealed" model, standard composition theorems dictate that privacy loss—quantified by parameters $\epsilon$ and $\delta$—accumulates with each training iteration. This often forces a trade-off where training must be terminated early to maintain privacy, potentially sacrificing model utility.

However, many practical deployments only release the final model parameters, known as the "hidden state" setting. Recent theoretical work suggests that in this setting, privacy loss may not grow indefinitely but instead converge to a steady state. This paper extends these findings to the non-convex and non-smooth regimes typical of modern deep learning.

The Challenge of Non-Convexity

Previous proofs of privacy convergence relied heavily on the assumption of strong convexity in the loss function. In contrast, modern deep learning architectures are inherently non-convex. Furthermore, the standard practice of gradient clipping in DP-SGD introduces non-convexity even if the underlying loss is convex. This paper addresses the gap by proving privacy convergence for Projected DP-SGD without requiring convexity or smoothness.

Methodology: Analyzing Projected DP-SGD

The authors focus on Projected DP-SGD, where gradients are clipped to a constant $C$, Gaussian noise is added, and parameters are projected back onto a bounded set $\mathcal{W}$ with diameter $D$. Their analysis departs from standard Rényi Differential Privacy (RDP) approaches, which can be loose when converted to $(\epsilon, \delta)$-DP. Instead, they utilize:

  1. Hockey-Stick Divergence: A direct measure of $(\epsilon, \delta)$-DP that avoids the information loss associated with RDP conversion.
  2. Coupled Non-linear Data Processing Inequality (DPI): A new recursive framework to track the divergence between training processes initiated on neighboring datasets.
  3. Input-Constrained Gaussian Kernels: Leveraging the fact that projection and clipping bound the "input" to each noise-addition step, the authors demonstrate that Gaussian noise provides a contraction strong enough to ensure convergence.

Key Findings: Exponential Convergence

The central result of the paper is that for projected DP-SGD, the privacy parameters converge exponentially fast to a steady state. Specifically, for a fixed $\epsilon$, the parameter $\delta$ converges at a rate of $O([(1-p)\theta]^T)$, where $p$ is the sampling probability and $\theta < 1$ is a contraction constant.

Convergence of privacy parameters $\delta$ and $\epsilon$ over training iterations.

As illustrated in the figure above, both $\epsilon$ and $\delta$ plateau after a relatively small number of iterations. This implies a "steady-state" privacy level where additional training steps do not further degrade the privacy guarantee. The authors provide closed-form upper bounds for this infinite-step privacy loss, determined by the noise variance, clipping constant, and the diameter of the parameter space.

Conclusion and Future Directions

This work demonstrates that the "memory" of individual data points in DP-SGD is eventually erased by continuous noise addition, provided the parameter space is bounded. Crucially, this holds regardless of the loss function's convexity. While the results for projected DP-SGD are robust, future work remains to analytically prove similar convergence for unprojected or regularized DP-SGD and to further tighten these bounds by incorporating local properties of the loss landscape.

Summary updated

BibTeX
@misc{asoodeh2023privacy,
  author = {Shahab Asoodeh and Mario Díaz},
  title = {{Privacy Loss of Noisy Stochastic Gradient Descent Might Converge Even for Non-Convex Losses}},
  year = {2023},
  eprint = {2305.09903},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.09903},
}
Figure