Skip to main content
QUICK REVIEW

[Paper Review] Unlocking High-Accuracy Differentially Private Image Classification through Scale

Soham De, Leonard Berrada|arXiv (Cornell University)|Apr 28, 2022
Adversarial Robustness in Machine LearningComputer Science33 citations
TL;DR

The paper shows that DP-SGD can achieve state-of-the-art image classification accuracy on CIFAR-10 and ImageNet by using over-parameterized models with careful hyper-parameter tuning and simple techniques, including large batches, group normalization, weight standardization, augmentation multiplicity, and pre-training fine-tuning.

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.

Motivation & Objective

  • Motivate the effectiveness of DP-SGD for image classification under formal privacy guarantees.
  • Identify and combine simple techniques to improve DP-SGD performance on standard architectures.
  • Demonstrate state-of-the-art private accuracy on CIFAR-10 without extra data and strong results on ImageNet with private training.
  • Show benefits of pre-training followed by private fine-tuning for DP image classification.
  • Provide guidance on hyper-parameter relationships under DP constraints.

Proposed method

  • Describe a set of techniques to improve DP-SGD performance on over-parameterized models.
  • Replace batch normalization with group normalization to maintain gradient independence in DP training.
  • Explore large batch sizes and weight standardization to stabilize training.
  • Introduce augmentation multiplicity by averaging per-example gradients over multiple augmentations before clipping.
  • Apply parameter averaging (exponential moving average) during training.
  • Demonstrate the effects of pre-training on non-private data followed by private fine-tuning with DP-SGD.

Experimental results

Research questions

  • RQ1Can standard over-parameterized vision models trained with DP-SGD reach state-of-the-art accuracy on CIFAR-10 without extra data?
  • RQ2How do architectural choices (e.g., group normalization, weight standardization) and training strategies (e.g., large batches, augmentation multiplicity) affect DP-SGD performance on image classification?
  • RQ3Does pre-training on large non-private datasets and subsequent private fine-tuning improve DP image classification performance?
  • RQ4What are the practical hyper-parameter relationships (batch size, learning rate, number of iterations) that optimize DP-SGD performance?

Key findings

  • Achieves 81.4% top-1 accuracy on CIFAR-10 under (8, 10^-5)-DP with Wide-ResNet-40-4 and no extra data, surpassing previous SOTA of 71.7%.
  • Attains 32.4% top-1 accuracy on ImageNet under (8, 8×10^-7)-DP with NF-ResNet-50 trained from scratch.
  • Privately fine-tuning pre-trained NFNet-F3 yields 83.8% top-1 accuracy under (0.5, 8×10^-7)-DP and 86.7% under (8, 8×10^-7)-DP, close to non-private SOTA.
  • Private fine-tuning after pre-training on large datasets (e.g., JFT-4B) yields 86.7% top-1 on ImageNet under (8, 8×10^-7)-DP.
  • Replacing batch normalization with group normalization and using large batch sizes significantly improves DP-SGD performance (e.g., CIFAR-10 ablation results).
  • Augmentation multiplicity and parameter averaging further boost DP-SGD accuracy on CIFAR-10 under DP constraints.

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.