Do not Let Privacy Overbill Utility: Gradient Embedding Perturbation for Private Learning

Da Yu, Huishuai Zhang, Wei Chen, Tie-Yan Liu

Differential Privacy (DP) is the gold standard for protecting training data, but it often comes with a "privacy tax": a massive drop in model accuracy. This ICLR 2021 paper, "Do not Let Privacy Overbill Utility," introduces a clever way to pay that tax more efficiently, allowing deep learning models to maintain high performance even under strict privacy guarantees.

TL;DR

The authors propose Gradient Embedding Perturbation (GEP), an algorithm that projects high-dimensional gradients into a low-dimensional "anchor subspace" before adding noise. By decomposing gradients into a low-dimensional embedding and a small residual, GEP breaks the "dimensional barrier" of private learning, achieving state-of-the-art accuracy on benchmarks like CIFAR-10.

What Problem Does This Paper Address?

In standard Differentially Private Stochastic Gradient Descent (DP-SGD), we protect privacy by adding random Gaussian noise to the gradients. The problem is that this noise is isotropic—it’s added equally to every single parameter in the model.

Gradient norm vs. noise norm across different ResNet architectures.

As models get larger (increasing the dimension $p$), the total amount of noise added scales linearly with $p$. In a model with millions of parameters, the useful gradient signal gets completely submerged in noise. This is the "dimensional barrier." However, researchers have observed that gradients in deep learning actually live on a very low-dimensional manifold. Adding noise to the entire high-dimensional space is overkill and destroys utility.

Methods

The core idea of GEP is to concentrate the noise where it matters least. The process follows three main steps:

Overview of the Gradient Embedding Perturbation (GEP) framework.
  1. Anchor Subspace Estimation: The algorithm uses a small set of non-sensitive auxiliary data (e.g., a few thousand unlabeled images from ImageNet) to compute "anchor gradients." It then uses the Power Method to identify a low-dimensional subspace (the anchor subspace) that captures the most important directions of these gradients.
  2. Gradient Decomposition: Private gradients from the sensitive training set are projected into this subspace. This creates two components:
  3. Gradient Embedding ($W$): A low-dimensional representation of the gradient.
  4. Residual Gradient ($R$): The part of the gradient that didn't fit into the subspace.
  5. Dual Perturbation: Instead of one giant noise term, GEP perturbs $W$ and $R$ separately. Because $W$ is low-dimensional, the noise added to it has low total energy. Because the anchor subspace is effective, $R$ has a very small norm, meaning it requires much less noise to satisfy the same privacy budget.

Crucially, by releasing both the perturbed embedding and the perturbed residual, GEP provides an unbiased estimator of the original gradient, which is vital for stable training.

Datasets

The authors evaluated GEP on three standard computer vision benchmarks:

  • MNIST: Handwritten digits.
  • SVHN: Street View House Numbers.
  • CIFAR-10: General object classification.
  • Auxiliary Data: They used 2,000 random samples from ImageNet as the non-sensitive auxiliary data for all three tasks.

Key Insights and Ideas

  • The Power of "Close Enough" Data: One of the most surprising findings is that the auxiliary data doesn't need to come from the same distribution as the private data. Using ImageNet samples with random labels to find the anchor subspace worked remarkably well for training on CIFAR-10. This is because the features (and thus the gradient directions) are similar, even if the specific classes differ.
  • Breaking the Curse of Dimensionality: Standard DP-SGD noise scales with the model size $p$. GEP's noise scales more closely with the dimension of the subspace $k$, which can be orders of magnitude smaller than $p$.
  • Unbiasedness Matters: The authors compare GEP to a "Biased-GEP" (which simply throws away the residual). They show that keeping the residual (even a noisy version of it) significantly improves final accuracy.

Key Results

GEP significantly outperformed the standard benchmark (GP) and the popular PATE (Private Aggregation of Teacher Ensembles) framework on complex datasets:

  • CIFAR-10 ($\epsilon=8$): GEP achieved 74.9% test accuracy, a massive jump over the standard DP-SGD baseline of 56.4%.
  • SVHN ($\epsilon=8$): GEP reached 95.1% accuracy (vs. 91.6% for the baseline).
  • MNIST ($\epsilon=2$): GEP achieved 96.3% accuracy. While PATE performed slightly better on this simple dataset, GEP proved much more robust as the data complexity increased.

Limitations and Future Work

  • Memory Overhead: To compute the projections efficiently, GEP needs to store several individual gradients. This increases the memory footprint compared to standard training, which might be a bottleneck for extremely large models on consumer hardware.
  • Subspace Selection: While the paper shows ImageNet is a good general-purpose anchor for vision, finding appropriate auxiliary data for other domains (like medical text or financial records) remains a challenge.
  • Theoretical Bounds: While the empirical results are strong, the authors note that providing a tight theoretical bound for the residual gradient norm in non-convex settings is an open area for future research.

Summary updated

BibTeX
@inproceedings{yu2021do,
  author = {Da Yu and Huishuai Zhang and Wei Chen and Tie-Yan Liu},
  title = {{Do not Let Privacy Overbill Utility: Gradient Embedding Perturbation for Private Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=evNWDM6B_Er},
}
Figure