Abadi 2016 - Deep Learning with Differential Privacy - Overview

Summary

Abadi, Chu, Goodfellow, McMahan, Mironov, Talwar and Zhang (CCS 2016) show how to train non-convex, multi-layer neural networks with a differential privacy (DP) guarantee in the “single-digit” regime. The recipe is DP-SGD (clip each per-example gradient in , add Gaussian noise to the lot gradient) plus the moments accountant, which tracks log-moments of the privacy loss and gives far tighter totals than strong composition: instead of for 100 epochs at . Results: MNIST 97% at -DP and CIFAR-10 73% at -DP.

Overview

Research question. Can deep networks (non-convex objective, many layers, up to millions of parameters) be trained on sensitive, possibly crowdsourced data under a modest total privacy budget, at manageable cost in software complexity, training time and model quality? Prior work either handled convex models with few parameters or complex networks with a very large privacy loss.

Contributions (Section 1).

  1. A refined privacy analysis: tracking higher moments of the privacy-loss random variable (the moments accountant) gives much tighter overall , both asymptotically (Theorem 1) and empirically (Figure 2).
  2. Efficiency techniques: per-example gradient computation, splitting lots into smaller batches for memory, and differentially private PCA at the input layer.
  3. A TensorFlow implementation evaluated on MNIST and CIFAR-10.

Threat model. The adversary knows the training mechanism, sees the model parameters, and may control some or all of the rest of the training data. Protection is for one record.

Headline numbers (all unless stated).

SettingResult
Moments accountant vs strong composition, , 100 epochs vs
Same, 400 epochs vs
MNIST test accuracy90% at , 95% at , 97% at
MNIST non-private baseline98.30% (about 100 epochs)
CIFAR-10 accuracy67% (), 70% (), 73% ()
CIFAR-10 non-private baseline (pretrained convolutions)about 80%

Main Content

Source Map

Paper sectionContentCovered in
Abstract, 1 Introductionmotivation, contributions, threat modelthis note; Abadi 2016 - Related Work, Limitations and Marketing Relevance
2.1 Differential Privacy (Def. 1, Gaussian mechanism, composition, accountant)backgroundAbadi 2016 - DP Background and Gaussian Mechanism
2.2 Deep Learningloss, minibatch SGD, TensorFlowAbadi 2016 - DP-SGD Algorithm and Implementation
3.1 Differentially Private SGD (Algorithm 1; clipping; per-layer; lots; accounting)algorithmAbadi 2016 - DP-SGD Algorithm and Implementation
3.2 The Moments Accountant (Theorem 1, Theorem 2, Eqs. 1-4, Lemma 3 statement)accounting theoryAbadi 2016 - Moments Accountant Theorems and Proofs
3.3 Hyperparameter Tuningtuning guidance, cost of searchAbadi 2016 - Hyperparameter Tuning and Privacy Cost of Search
4 Implementation (Figure 1 code, sanitizer, accountant, DP PCA, convolutional layers)systemAbadi 2016 - DP-SGD Algorithm and Implementation
5.1 Applying the Moments Accountant (Figure 2)numerical comparisonAbadi 2016 - MNIST and CIFAR-10 Experiments
5.2 MNIST (Figures 3, 4, 5)experimentsAbadi 2016 - MNIST and CIFAR-10 Experiments
5.3 CIFAR (Figure 6)experimentsAbadi 2016 - MNIST and CIFAR-10 Experiments
6 Related Work, 7 Conclusionscontext, future workAbadi 2016 - Related Work, Limitations and Marketing Relevance
Appendix A (proof of Theorem 2)composability and tail boundAbadi 2016 - Moments Accountant Theorems and Proofs
Appendix B (proof of Lemma 3, Theorem 1)Gaussian + sampling momentsAbadi 2016 - Moments Accountant Theorems and Proofs
Appendix C (Lemma C.1)DP implies moment boundAbadi 2016 - Moments Accountant Theorems and Proofs
Appendix D (Theorem D.1, Gupta et al.)hyperparameter search costAbadi 2016 - Hyperparameter Tuning and Privacy Cost of Search

Idea in one paragraph

DP-SGD bounds each example’s influence by clipping its gradient norm to , then adds to the summed gradient of a randomly sampled lot. Each step is a subsampled Gaussian mechanism. The moments accountant computes for each step by numerical integration, adds the values over steps (they compose linearly), and converts to with a Markov-inequality tail bound, optimizing over . This is the same object later named a Renyi DP curve (Mironov 2017 - Renyi Differential Privacy - Overview) and later refined by hypothesis-testing analysis (Dong Roth Su 2022 - Gaussian Differential Privacy - Overview).

Examples

Why the accountant matters

Fix (lot is 1% of data), , . After epochs ( steps) the moments accountant gives , strong composition . At epochs the accountant still gives , whereas strong composition gives . So -DP is certified where earlier techniques certified only .

Connections

See Also