[Paper Review] Privacy of Noisy Stochastic Gradient Descent: More Iterations without More Privacy Loss
This paper resolves a long-standing open question in differential privacy by showing that Noisy Stochastic Gradient Descent (Noisy-SGD) does not incur unbounded privacy loss with increasing iterations; instead, privacy loss saturates after a short burn-in period. The authors establish tight privacy bounds using novel techniques—Privacy Amplification by Iteration and Privacy Amplification by Sampling—demonstrating that longer training does not compromise privacy beyond an initial phase, contrary to prior analyses that incorrectly predicted unbounded growth.
A central issue in machine learning is how to train models on sensitive user data. Industry has widely adopted a simple algorithm: Stochastic Gradient Descent with noise (a.k.a. Stochastic Gradient Langevin Dynamics). However, foundational theoretical questions about this algorithm's privacy loss remain open -- even in the seemingly simple setting of smooth convex losses over a bounded domain. Our main result resolves these questions: for a large range of parameters, we characterize the differential privacy up to a constant factor. This result reveals that all previous analyses for this setting have the wrong qualitative behavior. Specifically, while previous privacy analyses increase ad infinitum in the number of iterations, we show that after a small burn-in period, running SGD longer leaks no further privacy. Our analysis departs from previous approaches based on fast mixing, instead using techniques based on optimal transport (namely, Privacy Amplification by Iteration) and the Sampled Gaussian Mechanism (namely, Privacy Amplification by Sampling). Our techniques readily extend to other settings, e.g., strongly convex losses, non-uniform stepsizes, arbitrary batch sizes, and random or cyclic choice of batches.
Motivation & Objective
- To resolve the fundamental open question of whether Noisy-SGD's privacy loss increases indefinitely with the number of iterations.
- To provide a tight characterization of differential privacy parameters for Noisy-SGD in smooth convex settings over bounded domains.
- To challenge and correct prior analyses that incorrectly predict unbounded privacy degradation with more iterations.
- To develop a rigorous theoretical framework that applies beyond idealized assumptions, including for non-uniform stepsizes, arbitrary batch sizes, and cyclic updates.
Proposed method
- The authors introduce a new privacy analysis framework based on Privacy Amplification by Iteration, which leverages optimal transport to bound the divergence between trajectories of Noisy-SGD under neighboring datasets.
- They combine this with Privacy Amplification by Sampling to derive tighter Rényi differential privacy (RDP) bounds that remain bounded as the number of iterations T increases.
- The method involves decomposing the noise into two components: one for early iterations and one for later, enabling a non-vacuous bound that does not grow with T.
- A key technical innovation is the use of a time-varying parameterization of the noise distribution to model the contraction of the algorithm’s trajectory over time.
- The analysis is extended to strongly convex losses, non-uniform stepsizes, and cyclic batch updates via a refined application of the Privacy Amplification by Iteration principle.
- Numerical computation of privacy bounds is enabled through ternary search over noise decomposition and closed-form optimization of the critical iteration count T̃.
Experimental results
Research questions
- RQ1Does the privacy loss of Noisy-SGD increase without bound as the number of iterations T grows?
- RQ2Can a tight, non-vacuous privacy bound be derived for Noisy-SGD that remains constant after an initial burn-in phase?
- RQ3Do existing privacy analyses based on composition and sampling fail qualitatively in their prediction of privacy degradation over time?
- RQ4Can the Privacy Amplification by Iteration technique be applied effectively to non-i.i.d. and non-stationary update sequences in Noisy-SGD?
- RQ5Is it possible to derive privacy bounds that are robust to variations in stepsize, batch size, and update order (e.g., cyclic vs. random)?
Key findings
- The privacy loss of Noisy-SGD does not grow indefinitely with the number of iterations; instead, it saturates after a small burn-in period, contradicting prior analyses that predicted unbounded growth.
- For smooth convex losses on a bounded domain, the Rényi differential privacy (RDP) parameter ε is bounded by a constant independent of T, up to a constant factor.
- The proposed bound is tight and matches the behavior observed in practice, where longer training does not lead to worse privacy.
- The analysis reveals that previous methods based on composition and fast-mixing assumptions yield qualitatively incorrect predictions about privacy degradation.
- The bound is robust across diverse settings: it applies to strongly convex losses, non-uniform stepsizes, arbitrary batch sizes, and both random and cyclic batch selection.
- Numerical computation of the privacy bound is efficient and enables practical deployment with minimal privacy overhead, even for large T.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.