Abstract
Differential Privacy (DP) provides a formal privacy guarantee preventing adversaries with access to a machine learning model from extracting information about individual training points. Differentially Private Stochastic Gradient Descent (DP-SGD), the most popular DP training method for deep learning, realizes this protection by injecting noise during training. However previous works have found that DP-SGD often leads to a significant degradation in performance on standard image classification benchmarks. Furthermore, some authors have postulated that DP-SGD inherently performs poorly on large models, since the norm of the noise required to preserve privacy is proportional to the model dimension. In contrast, we demonstrate that DP-SGD on over-parameterized models can perform significantly better than previously thought. Combining careful hyper-parameter tuning with simple techniques to ensure signal propagation and improve the convergence rate, we obtain a new SOTA without extra data on CIFAR-10 of 81.4% under (8, 10^{-5})-DP using a 40-layer Wide-ResNet, improving over the previous SOTA of 71.7%. When fine-tuning a pre-trained NFNet-F3, we achieve a remarkable 83.8% top-1 accuracy on ImageNet under (0.5, 8*10^{-7})-DP. Additionally, we also achieve 86.7% top-1 accuracy under (8, 8 \cdot 10^{-7})-DP, which is just 4.3% below the current non-private SOTA for this task. We believe our results are a significant step towards closing the accuracy gap between private and non-private image classification.
Introduction
Training deep neural networks with Differential Privacy (DP)—the mathematical gold standard for ensuring a model doesn't "leak" individual training examples—has historically come with a massive "utility tax." Standard private training methods, like DP-SGD, usually result in significantly lower accuracy compared to non-private training.
Furthermore, a common belief in the community was that DP-SGD is inherently ill-suited for large, over-parameterized models. The logic was that because DP-SGD adds noise to the gradients to mask individual data points, and the norm of that noise scales with the number of parameters, bigger models should theoretically become "noisier" and harder to train. This paper challenges that assumption, demonstrating that scale can actually be the solution to the privacy-utility gap.
Methodology
The researchers utilize DP-SGD but introduce a refined "recipe" for high-performance private training:
- Replacing Batch Normalization: Standard Batch Norm is incompatible with DP because it leaks information across examples in a batch. The authors use Group Normalization and Weight Standardization to ensure stable signal propagation without breaking privacy.
- Augmentation Multiplicity: This is the paper's standout technical contribution. Normally, data augmentation in DP-SGD adds too much variance to the gradients. The authors propose averaging the gradients of multiple augmentations of the same image before the clipping operation. This recovers the benefits of data augmentation without increasing the "privacy budget" cost.
- Massive Scale: They leverage extremely large models (like NFNet-F3) and massive pre-training datasets (JFT-4B) before fine-tuning privately on target datasets.
- Hyper-parameter Optimization: They find that very large batch sizes (up to 16k or even 256k) are essential for private training stability.
Key Insights
- The "Curse" is a Myth: Contrary to previous theories, larger models are actually more robust to the noise injected by DP-SGD. Over-parameterization provides a smoother loss landscape that helps the optimizer navigate the noisy gradients.
- Privacy Loves Big Batches: In DP training, large batches allow you to use more noise (for better privacy) while keeping the signal-to-noise ratio of the gradient high enough to learn.
- Fine-tuning Efficiency: The most effective way to get a private model is to start with a very strong non-private model trained on public data. The knowledge gained during pre-training acts as a powerful prior that requires very few private updates to adapt to a new task.
- The Linear Scaling Rule: The authors found that the optimal learning rate for DP-SGD is proportional to the batch size up to a threshold, differing from standard SGD.
Key Results
The quantitative jumps are substantial across benchmarks:
- CIFAR-10 (No extra data): Achieved 81.4% accuracy, a massive leap over the previous state-of-the-art (SOTA) of 71.7%.
- ImageNet (Fine-tuning): Achieved 86.7% top-1 accuracy under a privacy budget of $\epsilon=8$. This is only 4.3% below the non-private SOTA for the same architecture.
- Tight Privacy: Even under very strict privacy ($\epsilon=0.5$), they achieved 83.8% on ImageNet, outperforming many popular non-private models like ResNet-50.
Limitations and Future Work
Despite these advances, private training remains computationally expensive; a single DP-SGD update is roughly 9x slower than a standard update. Furthermore, the best results rely on pre-training on massive datasets like JFT-4B, which may not be available in all domains (e.g., medical imaging). Future research is needed to address these costs and investigate potential fairness concerns, as DP training can sometimes disproportionately reduce accuracy for under-represented subgroups.
Summary updated