Abstract
Differentially Private Stochastic Gradient Descent (DP-SGD) often suffers from the "curse of dimensionality," where noise added for privacy scales with the model's parameter count. This paper introduces Projected DP-SGD (PDP-SGD), a method that leverages a small public dataset to identify a low-dimensional gradient subspace. By projecting noisy gradients into this subspace, PDP-SGD significantly reduces noise power, allowing private model accuracy to depend on the intrinsic rank of gradients rather than the total number of parameters.
Introduction
In the era of over-parameterized deep learning models, standard DP-SGD faces a fundamental scaling challenge. The Gaussian noise injected to satisfy differential privacy requirements typically has a standard deviation proportional to the square root of the model dimension $p$. For modern architectures with millions or billions of parameters, this noise often drowns out the actual gradient signal, particularly when the training set $n$ is small.
While theoretical lower bounds suggest this dependence on $p$ is unavoidable in the worst case, real-world deep learning gradients are rarely "worst-case." Empirical evidence suggests they often reside in a much lower-dimensional subspace. The challenge lies in identifying this subspace privately and efficiently without requiring massive amounts of auxiliary data.
The Projected DP-SGD (PDP-SGD) Method
The authors propose a two-stage modification to the standard DP-SGD loop:
- Subspace Identification: At each iteration (or every few iterations), the algorithm utilizes a small public dataset—which does not require privacy protections—to estimate the "top" directions of the gradients. Specifically, it computes the top-$k$ eigenvectors of the gradient second-moment matrix derived from this public data.
- Gradient Projection: The noisy gradient calculated from the private data is projected onto this $k$-dimensional public subspace.
Because the subspace is derived from public data, the projection is a "post-processing" step that does not consume any additional privacy budget. By discarding noise outside the $k$-dimensional subspace, the total noise affecting the update is drastically reduced, as $k \ll p$.
Why Subspaces Work: Empirical Evidence
The success of PDP-SGD is predicated on the fact that gradients are effectively low-rank. Throughout the training process, the gradient information is highly concentrated in a few principal directions.
As illustrated in the spectral analysis above, even under high-noise DP-SGD conditions, the "top" directions remain identifiable. This concentration allows a very small public dataset (as few as 100 samples) to serve as an effective "compass," pointing the private training process toward the most useful dimensions for model updates.
Key Insights and Results
The researchers evaluated PDP-SGD on MNIST and Fashion MNIST using a standard CNN architecture. Their findings highlight several critical advantages:
- The Logarithmic Sample Complexity: A major theoretical contribution is the proof that the public sample complexity required to find a good subspace grows only logarithmically with the ambient dimension $p$. This implies that PDP-SGD is highly scalable to massive models, as the size of the "compass" dataset does not need to grow proportionally with the parameter count.
- Superiority in High-Privacy Regimes: PDP-SGD consistently outperforms standard DP-SGD when privacy requirements are strict (low $\epsilon$). On MNIST with $\epsilon \approx 0.23$, PDP-SGD achieved significantly higher training and test accuracy than the baseline.
- Subspace Stability: The method is robust to the frequency of subspace updates. Updating the projection matrix every 10 or 20 iterations resulted in only a mild decay in performance, significantly reducing computational overhead while maintaining accuracy.
Conclusion and Limitations
PDP-SGD effectively bypasses the ambient dimension of the model by focusing on the intrinsic rank of the gradients. While it requires a small public dataset from the same distribution as the private data, the logarithmic scaling of this requirement makes it a practical solution for private deep learning.
However, the method's reliance on the "eigen-gap"—the distance between the $k$-th and $(k+1)$-th eigenvalues—means its effectiveness may vary if gradient information is spread evenly across many dimensions. Future research may focus on identifying these subspaces without any auxiliary data or extending the approach to more complex optimization landscapes.
Summary updated