Skip to main content
QUICK REVIEW

[Paper Review] Bypassing the Ambient Dimension: Private SGD with Gradient Subspace Identification

Yingxue Zhou, Steven Z. Wu|arXiv (Cornell University)|Jul 7, 2020
Privacy-Preserving Technologies in DataComputer Science33 references20 citations
TL;DR

This paper proposes Projected DP-SGD, a novel differentially private optimization method that reduces noise in gradient updates by projecting them onto a low-dimensional subspace identified from a small public dataset. By exploiting the intrinsic low-dimensional structure of deep network gradients, the method achieves significantly improved model accuracy—especially under high privacy constraints—without increasing privacy loss, circumventing the ambient dimension dependence inherent in standard DP-SGD.

ABSTRACT

Differentially private SGD (DP-SGD) is one of the most popular methods for solving differentially private empirical risk minimization (ERM). Due to its noisy perturbation on each gradient update, the error rate of DP-SGD scales with the ambient dimension $p$, the number of parameters in the model. Such dependence can be problematic for over-parameterized models where $p \\gg n$, the number of training samples. Existing lower bounds on private ERM show that such dependence on $p$ is inevitable in the worst case. In this paper, we circumvent the dependence on the ambient dimension by leveraging a low-dimensional structure of gradient space in deep networks -- that is, the stochastic gradients for deep nets usually stay in a low dimensional subspace in the training process. We propose Projected DP-SGD that performs noise reduction by projecting the noisy gradients to a low-dimensional subspace, which is given by the top gradient eigenspace on a small public dataset. We provide a general sample complexity analysis on the public dataset for the gradient subspace identification problem and demonstrate that under certain low-dimensional assumptions the public sample complexity only grows logarithmically in $p$. Finally, we provide a theoretical analysis and empirical evaluations to show that our method can substantially improve the accuracy of DP-SGD in the high privacy regime (corresponding to low privacy loss $\\epsilon$).

Motivation & Objective

  • To address the high error rate of DP-SGD in over-parameterized models where the number of parameters p greatly exceeds the number of training samples n.
  • To overcome the inherent p-dependent error scaling in DP-SGD by leveraging low-dimensional structure in gradient spaces of deep neural networks.
  • To develop a practical private optimization framework that uses a small public dataset to identify a low-dimensional gradient subspace for noise reduction.
  • To demonstrate that public data sample complexity for subspace identification grows logarithmically in p under low-dimensional assumptions.
  • To empirically validate that the method improves generalization and privacy-accuracy trade-offs in high-privacy settings.

Proposed method

  • The method introduces Projected DP-SGD, which projects noisy gradients onto a low-dimensional subspace spanned by the top-k eigenvectors of the gradient second-moment matrix computed on a public dataset.
  • The gradient subspace is identified using the top-k eigenspace of the empirical gradient covariance matrix from a small public dataset S_h, reducing noise impact without increasing privacy budget.
  • The algorithm performs private SGD with noise injected in the full p-dimensional space, followed by projection to the k-dimensional subspace to minimize reconstruction error.
  • The subspace is updated periodically (e.g., every s iterations) to adapt to changing gradient structures during training, reducing computational cost.
  • Theoretical analysis shows that public data sample complexity for accurate subspace identification grows logarithmically in p under low-rank gradient assumptions.
  • The method is modular and can be integrated with existing DP-SGD implementations by replacing standard gradient perturbation with subspace-projected noise.

Experimental results

Research questions

  • RQ1Can the ambient dimension dependence in DP-SGD be mitigated by exploiting low-dimensional structures in deep network gradients?
  • RQ2Does using a small public dataset to identify a gradient subspace lead to improved generalization in private learning?
  • RQ3How does the size of the public dataset affect the accuracy and stability of the subspace identification process?
  • RQ4What is the trade-off between computational cost and performance when updating the gradient subspace less frequently?
  • RQ5Can the method achieve better privacy-accuracy trade-offs than standard DP-SGD in high-privacy regimes?

Key findings

  • Projected DP-SGD with k=50 achieves higher test accuracy than standard DP-SGD on MNIST and Fashion-MNIST, even though the gradient is projected to a subspace of size 50 out of 25,000 parameters.
  • For ε=0.23, PDP-SGD with m=150 public samples outperforms DP-SGD and achieves better accuracy than with m=50, showing improved subspace estimation with larger public data.
  • PDP-SGD with k=50 consistently outperforms other k values (10, 20, 30) due to better balance between reconstruction error and noise reduction.
  • Reducing the frequency of subspace updates (e.g., updating every 10 or 20 iterations) leads to only a mild drop in accuracy, enabling significant computational savings.
  • In high-privacy regimes (low ε), PDP-SGD substantially improves model accuracy over DP-SGD, demonstrating effective noise reduction via subspace projection.
  • Empirical results confirm that gradient directions in deep networks lie in a low-dimensional subspace, validating the core assumption behind the method.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.