Fast Dimension Independent Private AdaGrad on Publicly Estimated\n Subspaces

Peter Kairouz, Mónica Ribero, Keith Rush, Abhradeep Thakurta · DOI

Abstract

We revisit the problem of empirical risk minimization (ERM) with differential privacy (DP). We show that Noisy-AdaGrad, given appropriate knowledge and conditions on the subspace from which gradients can be drawn, achieves a regret comparable to traditional AdaGrad plus a well-controlled term due to noise. We demonstrate a convergence rate of $O(\text{Tr}(G_T)/T)$, where $G_T$ captures the geometry of the gradient subspace. Since $\text{Tr}(G_T)=O(\sqrt{T})$, we obtain faster rates for convex and Lipschitz functions compared to the $O(1/\sqrt{T})$ rate achieved by known versions of noisy stochastic gradient descent (SGD). Specifically, if gradients lie in a known constant rank subspace, Noisy-AdaGrad achieves an excess empirical risk of $\tilde O(1/\epsilon n)$, bypassing the standard DP-SGD bound of $\tilde O(\sqrt{p}/\epsilon n)$.

Introduction

In privacy-preserving machine learning, high-dimensional models often face a significant "privacy tax." Standard techniques like Differentially Private Stochastic Gradient Descent (DP-SGD) typically suffer from an error that grows with the square root of the number of parameters ($p$). In the era of billion-parameter models, this "curse of dimensionality" can render private training nearly useless, as the noise required to protect individual data points overwhelms the learning signal.

This research introduces Noisy-AdaGrad, a novel algorithm that leverages the geometry of the optimization landscape to achieve dimension-independent error rates. By utilizing publicly available data to identify a low-rank subspace where gradients reside, the algorithm effectively makes private training viable for massive models.

The Noisy-AdaGrad Algorithm

The core contribution is a differentially private version of the AdaGrad optimizer. Unlike standard DP-SGD, which simply adds noise to gradients, Noisy-AdaGrad incorporates three critical components:

  1. Noisy Gradients: Gaussian noise is added to gradients to satisfy differential privacy requirements.
  2. Noisy Pre-conditioner: AdaGrad uses a pre-conditioner matrix ($G_T$) to scale learning rates based on the history of gradients. To maintain privacy, this matrix must also be noised. The authors add noise from the Gaussian Orthogonal Ensemble (GOE) and provide the first explicit calculation of the pre-conditioner's $\ell_2$-sensitivity, proving it to be $O(\sqrt{T}L/n)$.
  3. Subspace Projection: The algorithm assumes access to a "publicly estimated subspace" (e.g., derived from a small set of non-sensitive "opt-in" data). Before updating the model, the algorithm projects the noisy update onto this subspace. This step effectively "erases" noise in the dimensions where no useful gradient signal exists.

Theoretical Insights

Sensitivity and Perturbation Analysis

A major technical hurdle in privatizing AdaGrad is that the pre-conditioner depends on the entire history of gradients. The authors perform a rigorous perturbation analysis to show that even with noise injected into both the gradients and the pre-conditioner, the algorithm's regret remains comparable to the non-private version. This analysis is of independent interest to the optimization community.

Bypassing the Lower Bound

There is a known lower bound of $\Omega(\sqrt{p}/\epsilon n)$ for private ERM in constrained settings. However, Noisy-AdaGrad bypasses this by operating in an unconstrained setting or utilizing subspace "oracles." By focusing the noise injection on a low-rank subspace, the dependence on the full dimension $p$ is eliminated from the risk bound.

Key Results

  • Dimension Independence: The excess empirical risk of Noisy-AdaGrad is $O\left(\frac{\sqrt{\log(1/\delta)}}{\epsilon n}\right)$. Crucially, the dimension $p$ does not appear in this bound, representing a significant leap for high-dimensional private learning.
  • Faster Convergence: For functions where gradient norms decay over time (controlled by a parameter $\alpha$), Noisy-AdaGrad converges in significantly fewer iterations ($T=(\epsilon n)^{2/(1+2\alpha)}$) than the $T=\epsilon^2n^2$ iterations typically required by DP-SGD.
  • Adaptive Noise Management: The adaptive pre-conditioning helps manage DP noise by scaling the noise along with the signal, maintaining a superior signal-to-noise ratio in critical directions throughout the training process.

Conclusion and Future Work

Noisy-AdaGrad demonstrates that the "curse of dimensionality" in differential privacy is not insurmountable if one can leverage the underlying geometry of the gradient space. While the current theory relies on a "subspace oracle" and focuses on convex functions, it provides a roadmap for more efficient private training of large-scale models.

Future research directions include designing fully differentially private algorithms to compute the "gradient envelope" (the bound on decaying sensitivity) and extending these dimension-independent results to the non-convex landscapes characteristic of modern deep neural networks.

Summary updated

BibTeX
@misc{kairouz2020fast,
  author = {Peter Kairouz and Mónica Ribero and Keith Rush and Abhradeep Thakurta},
  title = {{Fast Dimension Independent Private AdaGrad on Publicly Estimated\textbackslash\{\}n Subspaces}},
  year = {2020},
  eprint = {2008.06570},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.06570},
}
Figure