Privacy Amplification by Iteration

Vitaly Feldman, Ilya Mironov, Kunal Talwar, Abhradeep Thakurta · DOI

Abstract

Many commonly used learning algorithms work by iteratively updating an intermediate solution using one or a few data points in each iteration. Analysis of differential privacy for such algorithms often involves ensuring privacy of each step and then reasoning about the cumulative privacy cost of the algorithm. This is enabled by composition theorems for differential privacy that allow releasing of all the intermediate results. In this work, we demonstrate that for contractive iterations, not releasing the intermediate results strongly amplifies the privacy guarantees. We describe several applications of this new analysis technique to solving convex optimization problems via noisy stochastic gradient descent. For example, we demonstrate that a relatively small number of non-private data points from the same distribution can be used to close the gap between private and non-private convex optimization. In addition, we demonstrate that we can achieve guarantees similar to those obtainable using the privacy-amplification-by-sampling technique in several natural settings where that technique cannot be applied.

Introduction

In the field of Differential Privacy (DP), the privacy budget ($\epsilon$) of an algorithm is typically calculated using composition theorems. For iterative processes like Stochastic Gradient Descent (SGD), this standard approach assumes an adversary can observe every intermediate update. However, in many practical scenarios—such as training a model on a secure server and releasing only the final weights—this assumption is unnecessarily pessimistic.

Existing methods for privacy amplification often rely on random sampling. Yet, sampling is frequently impractical in distributed or federated learning environments where user participation is known. This paper introduces "privacy amplification by iteration," demonstrating that the iterative process itself can strengthen privacy guarantees without requiring data sampling.

Methodology

The research focuses on Contractive Noisy Iterations (CNI), which characterize algorithms that repeatedly apply a contractive map (e.g., a gradient descent step on a smooth, convex function) followed by the addition of Gaussian noise.

The authors introduce a novel mathematical tool: Shifted Rényi Divergence. This hybrid measure combines spatial metric distance with information-theoretic divergence. By applying this tool, they prove that as iterations progress, the influence of initial data points is effectively "washed out" by subsequent contractive steps and noise additions, trading off initial information for enhanced privacy.

Key Insights

  • Temporal Privacy Gains: Noise added in later stages of training protects earlier data points more effectively than later ones. Because gradient steps are contractive, the influence of early data physically shrinks over time.
  • Non-Uniform Privacy Distribution: Data points used early in training receive significantly stronger privacy guarantees than those used near the end. While the "last person in" receives the baseline privacy, the "first person in" benefits from a massive privacy bonus.
  • Deterministic Protection: Unlike amplification-by-sampling, this method does not require random or secret data ordering. Privacy is amplified even if an attacker knows exactly when a specific data point was used.
  • Local vs. Central Privacy: This technique is particularly potent for distributed learning, enabling strong central privacy (for the final model) while maintaining robust local privacy (protecting user data even if communication channels are monitored).

Key Results

The paper establishes several state-of-the-art theoretical bounds for convex optimization problems. Notably, it demonstrates that the privacy loss for early data points scales inversely with the number of steps $T$.

Comparison of excess loss and local differential privacy (LDP) guarantees across different algorithms.

As shown in the table above, the proposed method achieves an excess loss for $k \le n$ tasks that is identical to the loss for a single task, $\tilde{O}(\sqrt{d/(\varepsilon^2 n)})$. This represents a significant improvement over previous methods like Noisy SGD [DJW13] or Output Perturbation [CMS11], where the error scales with $\sqrt{k}$. Furthermore, it maintains a local privacy guarantee of $\varepsilon$, matching the best available local privacy while providing superior accuracy for multi-query scenarios.

Additionally, the authors show that a small amount of public data used in final iterations can effectively bridge the accuracy gap between private and non-private models.

Limitations and Future Work

While groundbreaking, the current analysis relies on the assumptions of convexity and smoothness. Extending these findings to non-convex landscapes, such as deep neural networks, remains a significant open challenge. Furthermore, the "last user" problem persists: users whose data is processed in final steps do not benefit from the same amplification as early users. Finally, the theory requires that intermediate model states remain strictly confidential; releasing frequent checkpoints would negate the amplification effect.

Summary updated

BibTeX
@inproceedings{feldman2018privacy,
  author = {Vitaly Feldman and Ilya Mironov and Kunal Talwar and Abhradeep Thakurta},
  title = {{Privacy Amplification by Iteration}},
  booktitle = {FOCS},
  year = {2018},
  url = {https://openreview.net/forum?id=qLLfgOudzrV},
}
Figure