---
title: "Deep Learning with Differential Privacy — Abadi 2016"
description: "How differentially private gradient descent and the moments accountant protect training records, with results, tradeoffs, and limits."
canonical: "https://research.elamur.ai/free/en/papers/abadi-2016-deep-learning-differential-privacy/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/abadi-2016-deep-learning-differential-privacy/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / Deep Learning with Differential Privacy

# Deep Learning with Differential Privacy

Paper · 2016 · Martı́n Abadi, Andy Chu, Ian Goodfellow et al.

**Authors:** Martı́n Abadi, Andy Chu, [Ian Goodfellow](https://md.research.elamur.ai/free/en/authors/ian-goodfellow/), [H. Brendan McMahan](https://md.research.elamur.ai/free/en/authors/h-brendan-mcmahan/), Ilya Mironov, [Kunal Talwar](https://md.research.elamur.ai/free/en/authors/kunal-talwar/) and [Li Zhang](https://md.research.elamur.ai/free/en/authors/li-zhang/) · **Year:** 2016 · **Venue:** ACM SIGSAC Conference on Computer and Communications Security (CCS) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

ACM SIGSAC Conference on Computer and Communications Security (CCS) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1607.00133)
- [DOI 10.1145/2976749.2978318](https://doi.org/10.1145/2976749.2978318)
- [arXiv 1607.00133](https://arxiv.org/abs/1607.00133)

## What it is about

How differentially private gradient descent and the moments accountant protect training records, with results, tradeoffs, and limits. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Training data can leave traces in a learned predictor. Those traces matter when examples contain personal information and the resulting system is shared, inspected, or installed on a device outside the trainer’s control. “Deep Learning with Differential Privacy” studies how to limit this exposure while retaining useful predictive accuracy. Its central question is whether neural-network training can provide a rigorous privacy guarantee for an individual training record without making training prohibitively expensive or destroying the usefulness of the result.

The authors work within differential privacy, a mathematical framework that compares what an algorithm can reveal when a particular record is present with what it can reveal when that record is absent. Their protection assumes a powerful adversary: someone who knows the training procedure, can inspect the learned parameters, and may control the remaining training records. This is a stronger setting than protecting data merely by withholding direct access to the training database. The guarantee concerns information carried by the released result.

The training procedure modifies stochastic gradient descent, which repeatedly adjusts network parameters using gradients computed from sampled examples. Each example’s gradient is first limited in magnitude. Gaussian noise is then added to the accumulated contribution before the parameters are updated. Bounding each contribution makes it possible to calibrate the noise to an individual record’s maximum influence. The implementation also separates the statistical grouping used for a private update from the smaller computational batches used to fit the work into memory.

A second contribution, the moments accountant, gives a more informative analysis of privacy accumulated across training. Rather than repeatedly compressing each operation into a conventional privacy guarantee and then combining those guarantees, it retains information about the distribution of privacy loss. This produces substantially tighter bounds for the sampled Gaussian operations used during training. Under the paper’s accounting comparison, the moments accountant reports ε = 1.26 where strong composition reports ε = 9.34, with the training conditions otherwise fixed. Better accounting does not change the trained network in this comparison; it establishes a stronger guarantee for the same randomized procedure.

Experiments use MNIST and CIFAR-10. On the MNIST test set, the authors report 90%, 95%, and 97% accuracy under privacy guarantees of (0.5, 10⁻⁵), (2, 10⁻⁵), and (8, 10⁻⁵), respectively. On CIFAR-10, the corresponding reported test accuracies are 67%, 70%, and 73% for ε values of 2, 4, and 8, again with δ = 10⁻⁵. The CIFAR-10 experiment relies on convolutional features learned from CIFAR-100, which the authors treat as public. The results establish feasibility for these image-classification settings, while exposing important costs and boundaries: privacy changes the optimization problem, useful settings require careful tuning, and the harder task retains a substantial accuracy gap.

### Ideas worth borrowing

Bound individual influence before combining evidence. A guarantee about an aggregate becomes easier to establish when every contributor has an explicit maximum effect. The paper implements this through per-example gradient clipping. The broader engineering lesson applies to statistical summaries, collaborative updates, and evidence aggregation: control contributions at the point where their identity is still available. Limiting an aggregate afterward may leave the influence of its components uncontrolled.

Keep richer accounting until the final decision. The moments accountant preserves distributional information that would be lost by converting every intermediate operation into a coarse guarantee. Its advantage comes from delaying that conversion until the accumulated result is needed. Similar reasoning can help in uncertainty propagation and resource analysis, where repeatedly simplifying intermediate evidence can make the final bound unnecessarily pessimistic.

Separate statistical units from execution units. A private update depends on a lot of examples, but memory management may require processing that lot through smaller batches. Treating those as distinct concepts lets the implementation change its computational layout without silently changing the intended statistical procedure. This distinction is useful in streaming analysis, distributed processing, and any pipeline whose logical operation spans several physical work units.

Protect preprocessing as part of the pipeline. A representation learned from sensitive data is itself a data-dependent result. The paper therefore assigns a privacy cost to its principal-component projection instead of treating preprocessing as free. The transferable idea is to inspect the complete path from records to released output, including feature construction, selection, and tuning. A guarantee for the final optimizer does not automatically cover earlier decisions.

Compare configurations under the constraint that matters. In the parameter study, training stops when the specified privacy guarantee would be exceeded. This makes the comparison answer a practical question: which configuration gives the best utility within the permitted exposure? The same experimental design applies when the binding constraint is memory, latency, annotation effort, or energy. Equal training duration can be the wrong basis for judging alternatives.

Distinguish implementation improvement from analytical improvement. The accountant can strengthen a reported guarantee without changing a single prediction. Conversely, a faster gradient implementation can improve runtime without changing the mathematical mechanism. Keeping these contributions separate makes results easier to interpret and helps identify the next useful investment: better computation, better optimization, or a more faithful analysis.

Treat search and selection as consequential operations. Trying alternatives and choosing the strongest one uses information too. The paper explicitly discusses privacy expenditure during hyper-parameter search and validation. More broadly, a pipeline should account for how its final configuration was selected, instead of describing only the successful final run. This matters whenever repeated experimentation can consume a limited resource or expose protected information.

### How Mova uses it

Mova is a transparent language system written in Rust, with explicit rules, learned parameters, structured interpretations, and bounded execution mechanisms. Its documented direction favors logic, rules, and statistics. The connections below are proposals grounded in those mechanisms. The available evidence does not establish an implementation of this paper’s private training procedure or moments accountant in Mova. Each status describes a proposed relationship to documented functionality, instead of a measured application of the paper.

Idea: Bound the influence of each contributor. Where: “Differentially Private SGD Algorithm,” norm clipping. Area: statistics and evidence aggregation. Mova: нове. A candidate extension could cap the contribution of an individual document when inducing lexical statistics or repair proposals. This would require defining the contributor and the statistic precisely; a cap alone would not establish differential privacy. Why Mova: A bounded contribution could reduce the ability of one unusually repetitive source to dominate a proposed rule, while making its maximum influence inspectable.

Idea: Preserve contributions until the required check is possible. Where: “Implementation,” sanitizer. Area: data processing. Mova: частково є (tools/dictindex retains occurrence-level postings and source credit). The paper needs individual gradients because an already averaged gradient is insufficient for its sensitivity check. Mova could apply the same design discipline to corpus statistics: retain document-level contributions until deduplication, attribution, or contribution limits have been checked. Why Mova: The existing occurrence index offers a concrete place to preserve evidence before aggregation removes distinctions needed by later review.

Idea: Add a mechanism-specific privacy accountant. Where: “The Moments Accountant: Details.” Area: mathematics and privacy. Mova: нове. If Mova were to publish statistics derived from sensitive inputs, an accountant could record the cumulative cost of explicitly supported randomized mechanisms. Its assumptions would need formal definitions and independent checks. Why Mova: An explicit accountant would fit Mova’s preference for inspectable decisions, but would add a guarantee that provenance logs and ordinary execution receipts do not themselves provide.

Idea: Retain rich intermediate bounds. Where: “The Moments Accountant: Details,” composability and tail bound. Area: mathematics. Mova: частково є (groupants retain typed observations, assumptions, and evidence). Mova could represent a bound in its native form until a caller requests a particular decision criterion. A privacy moment bound is one possible instance; transferring it to other quantities would require a separate derivation. Why Mova: This could help avoid losing useful information when several mathematical observations are composed.

Idea: Separate analytical strengthening from behavioral change. Where: “Applying the Moments Accountant.” Area: evaluation. Mova: частково є (groupants and correspondence tooling distinguish observations and evidence). Reports could state whether a revision changes execution, changes the analysis of unchanged execution, or changes both. The paper’s accountant comparison is a clear example of the second case. Why Mova: Readers could assess a stronger justification without assuming that accuracy or runtime also improved.

Idea: Distinguish logical work units from computational batches. Where: “Differentially Private SGD Algorithm,” lots. Area: execution and data processing. Mova: частково є (tools/dictindex uses document budgets, publication batches, and transactional cursors). Mova could document which grouping defines a mathematical operation and which grouping exists only for storage or memory efficiency. Why Mova: This would make it easier to change batching without accidentally changing counts, admission decisions, or the meaning of a completed pass.

Idea: Require the sampling implementation to match the analysis. Where: “Differentially Private SGD Algorithm,” lots; Appendix sampling discussions. Area: statistics and verification. Mova: нове. A statistical operation could declare whether it samples independently, permutes records, or selects a fixed-size subset, and bind any claimed bound to that declaration. Why Mova: Mova’s source-bound checks could reject a mathematically attractive claim whose sampling assumptions do not match the actual data procedure.

Idea: Account for preprocessing. Where: “Implementation,” differentially private PCA. Area: pipeline analysis. Mova: частково є (mova-enrich fingerprints source dictionaries, lesson material, and agreed trees). A future guarantee could cover feature induction and source-dependent preprocessing as explicitly as the final training step. Existing fingerprints establish identity, not privacy. Why Mova: Mova already has several preparation stages whose outputs influence learning, so checking only the last stage would leave important dependencies unexplained.

Idea: Keep public and protected inputs distinct. Where: “Implementation,” convolutional layers; “CIFAR.” Area: data governance. Mova: частково є (dictindex source classifications and licence gates; teacher-separated assessment). A privacy-aware extension would need an explicit designation of which inputs require protection and which may be used without consuming that privacy budget. Why Mova: Mova already distinguishes sources by rights and role, but privacy eligibility is a separate property that should not be inferred from a licence label.

Idea: Treat reusable representations as separately scoped artifacts. Where: “CIFAR,” public pretraining and private retraining. Area: representation learning and provenance. Mova: частково є (versioned source configurations and model-bound index epochs in tools/dictindex). Shared lexical or statistical representations could retain the identity of their construction data and the operations later permitted on them. Why Mova: This would support reuse while preventing a representation trained under one evidence contract from silently acquiring another.

Idea: Compare alternatives within a fixed constraint. Where: “MNIST,” effect of the parameters. Area: evaluation. Mova: частково є (held-out gates, bounded improve steps, and jobs with resource limits). A Mova experiment could compare candidate readers or induction settings under the same declared memory, runtime, or review allowance. This would extend existing bounded execution into the comparison protocol. Why Mova: It would distinguish improvements that fit the intended deployment from improvements obtained by spending substantially more resources.

Idea: Record why a run stops. Where: “MNIST,” parameter study under a fixed privacy guarantee. Area: execution and evaluation. Mova: частково є (bounded workers and mouse-team convergence or hard caps). A report could distinguish stopping because learning stabilized from stopping because an external budget was exhausted. Why Mova: These endings support different conclusions; a budget-limited run should not be presented as evidence that no useful learning remained.

Idea: Include selection in the experimental account. Where: “Hyperparameter Tuning” and Appendix “Hyperparameter Search.” Area: evaluation and privacy. Mova: частково є (selfplay journals and regression-gated changes). Mova could retain the candidate set, selection criterion, and data used for choosing a configuration alongside the final result. Why Mova: Its experiment journal already offers a foundation for explaining how a successful setting was selected instead of reporting only the winner.

Idea: Give validation data its own role and protection. Where: Appendix “Hyperparameter Search.” Area: evaluation and data management. Mova: частково є (frozen assessment labels remain outside training). The paper’s search discussion shows that choosing among candidates can itself depend on protected records. Mova could make validation access explicit in every selection workflow. Why Mova: This would reinforce the distinction between development evidence and final assessment, while leaving room for a separately justified privacy mechanism if sensitive validation material were introduced.

Idea: Study interacting parameters together. Where: “Hyperparameter Tuning”; “MNIST,” lot size and noise level. Area: experimental design. Mova: частково є (selfplay tests settings on held-out data). Search could group settings whose effects depend on each other, such as candidate breadth and review budget, instead of interpreting each in isolation. Why Mova: A setting can appear weak because its companion setting is unsuitable, so coordinated experiments could yield more informative failure diagnoses.

Idea: Measure preprocessing against a simple control. Where: “MNIST,” PCA projection analysis. Area: evaluation. Mova: вже є (school reports require controls; training gates include negative controls). The paper compares learned projection with random projection. Mova could use the same principle when testing induced lexical features: compare them with a control that preserves processing effort but removes the intended information. Why Mova: Existing control machinery could test whether a new representation contributes useful structure rather than merely adding capacity.

Idea: Evaluate preprocessing on accuracy and cost. Where: “MNIST,” PCA projection analysis. Area: efficiency and evaluation. Mova: частково є (dictindex measurements report storage and timings; tools/twin compares predicted and measured costs). A representation change could be judged on downstream quality alongside memory and runtime. Why Mova: Mova’s preference for compact, explicit mechanisms makes a transformation especially useful when it improves interpretation while reducing the work required.

Idea: Keep training and held-out behavior visible together. Where: “MNIST,” comparison of training and testing accuracy. Area: evaluation. Mova: вже є (held-out testing and school controls). Reports could continue to show whether a gain reflects better fit to development material or better behavior on untouched examples. The paper’s observed generalization pattern is suggestive, not a privacy certificate for Mova. Why Mova: This supports honest diagnosis of rule induction and parameter learning without confusing a small performance gap with a formal guarantee.

Idea: Define the protected unit before claiming protection. Where: “Background,” differential privacy and adjacency. Area: privacy specification. Mova: нове. A future private dictionary or learning service would need to decide whether neighboring inputs differ by an occurrence, a document, or a contributor. The choice would govern every sensitivity calculation. Why Mova: Mova’s evidence stores contain several nested units, and protecting one does not automatically establish protection for the others.

Idea: State the adversary’s access explicitly. Where: “Introduction,” parameter inspection and control of other records. Area: security specification. Mova: частково є (hybrid-system interfaces declare observations, assumptions, and failure behavior). Privacy-sensitive capabilities could specify whether an adversary can inspect stored statistics, learned parameters, intermediate receipts, or only final answers. Why Mova: An explicit access contract would make privacy claims as reviewable as its existing operational boundaries.

Idea: Handle correlated contributions separately. Where: “Background,” group privacy. Area: statistics and privacy. Mova: нове. If a contributor supplies many documents, a record-level guarantee would need a separate interpretation for that group. Mova could retain contributor grouping where appropriate and lawful, without assuming that document-level treatment answers the larger question. Why Mova: Repeated contributions can change the meaning of an individual-protection claim even when each record is processed correctly.

Idea: Separate the sanitizer from the accountant. Where: “Implementation,” sanitizer and privacy_accountant. Area: software architecture. Mova: нове. A privacy extension could isolate the component that bounds and randomizes data-dependent output from the component that calculates its guarantee. Both would share a precise mechanism description. Why Mova: This would allow independent testing of what the system executes and what its mathematical analysis claims about that execution.

Idea: Treat randomness as an explicit mechanism requirement. Where: “Background,” randomized mechanisms; “Differentially Private SGD Algorithm.” Area: reproducibility and privacy. Mova: нове. Any private extension would need a declared randomness contract distinct from ordinary deterministic benchmark execution. Reproducing an experiment and safely releasing a randomized result are different requirements. Why Mova: Mova’s deterministic core is valuable, but that property cannot substitute for the randomization on which this paper’s guarantee depends.

Idea: Keep adaptive parameter choice within its proof. Where: “Implementation,” privacy accountant. Area: mathematical verification. Mova: частково є (configured execution bounds and source-bound assumptions). A future accountant should distinguish a schedule fixed before execution from decisions made after inspecting intermediate private behavior. Why Mova: Mova’s recursive workflows can make later actions depend on earlier observations, so their mathematical contracts must cover that dependence rather than assuming it away.

Idea: Distinguish guarantees from attack measurements. Where: “Introduction” and “Background,” differential privacy. Area: security evaluation. Mova: частково є (groupants distinguish evidence types and declared conformance). An empirical attempt to recover sensitive records could complement, but could not replace, a formal privacy argument. Why Mova: This preserves the useful separation between an observed failure to find leakage and a theorem bounding what a broad class of adversaries can infer.

Idea: Make clipping bias visible. Where: “MNIST,” clipping bound. Area: statistics. Mova: нове. If contribution caps were introduced into lexical statistics or learning, reports could measure how they alter the estimator, not only how they bound influence. Why Mova: A robust-looking aggregate can become systematically distorted, so Mova would need to inspect both the protection gained and the information discarded.

Idea: Preserve the scope of transfer claims. Where: “Conclusions,” other optimizers and language tasks. Area: evaluation and research planning. Mova: вже є (hybrid-system documentation distinguishes implementation from direction). The paper’s suggestions for other optimization methods and language applications could become separately scoped experiments rather than immediate claims of applicability. Why Mova: This matches Mova’s existing distinction between a plausible extension, an implemented mechanism, and a measured result.

### The problem and its context

The paper begins from a tension in [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/): useful prediction often depends on representative training data, yet representative data may contain information that should not become recoverable from the resulting system. Crowdsourcing makes the tension particularly visible. A service may receive examples from many contributors, some of whom are untrusted, while promising to protect the information supplied by others.

Keeping the training database on a controlled server does not fully address this problem. The learned parameters are an output of a computation over that database. They may preserve details of particular examples, even if the system was designed to learn broad regularities. The authors discuss an earlier facial-recognition attack that reconstructed images through interaction with a predictor. Their own target is stronger: protection even when the adversary obtains the parameters directly.

This threat matters for deployment on personal devices. Local inference can avoid sending a user’s current input to a central service and can improve responsiveness and power use. But placing the predictor on a device also makes inspection of its parameters a realistic possibility. The paper therefore treats the trained artifact as potentially exposed, instead of assuming that secrecy of the implementation will protect the training records.

Regularization offers an incomplete answer. Techniques intended to reduce overfitting may suppress some example-specific details, but their ordinary purpose does not provide the required privacy statement. A small gap between training and test performance does not, on its own, establish a bound on information about every record. The authors instead seek a guarantee whose meaning remains clear under hostile inspection and auxiliary knowledge.

Their related-work discussion distinguishes this objective from secure computation. Secure multiparty computation can restrict what participants learn while jointly evaluating an agreed function. The present setting assumes centrally held data and asks what leaks through the function’s released output. These concerns can coexist, but solving the first does not automatically solve the second.

The paper also distinguishes its approach from anonymizing the input. Suppressing or generalizing identifying attributes can be ineffective for diverse, high-dimensional records, according to the limitations of earlier work discussed by the authors. Their solution leaves the original records available inside the training process and modifies the derived computations that influence the released result.

Earlier differentially private learning had already addressed several related problems. Convex optimization offered a comparatively well-developed setting. Previous work also considered private gradient updates, recommendation systems with non-convex objectives, distributed neural training, and objective perturbation for autoencoders. The authors’ contribution is not the introduction of noise into learning as a general idea. It is a combination of bounded per-example updates, stronger composition analysis, and implementation techniques aimed at neural training with many parameters.

The comparison with earlier distributed neural training is particularly revealing. Reporting privacy separately for individual parameters can make a procedure appear more protective than a guarantee covering the complete released artifact. The authors calculate that, under their preferred interpretation, the earlier MNIST approach would incur privacy loss exceeding several thousand per participant. Their target is a substantially more useful guarantee for the complete output.

The broader neural-network context includes the successes represented by [ImageNet Classification with Deep Convolutional Neural Networks](https://md.research.elamur.ai/free/en/papers/krizhevsky-2012-imagenet-classification-deep-convolutional/) and applications such as [Grammar as a Foreign Language](https://md.research.elamur.ai/free/en/papers/vinyals-2014-grammar-foreign-language/). These examples motivate the desire to bring privacy protection to expressive learning systems. They do not establish that the paper’s experiments cover every architecture or application associated with those advances.

### The method, step by step

#### Define what changes between neighboring datasets

A privacy guarantee begins with a precise comparison. In the experiments, a record is an image together with its label. Neighboring datasets differ by the presence or absence of such a record. The mechanism is the randomized training procedure, and its output includes the learned parameters.

The definition compares probabilities of output events:

```
Pr[M(D) ∈ S] ≤ exp(ε) Pr[M(D′) ∈ S] + δ
```

M denotes the randomized mechanism. D and D′ are neighboring datasets. S is any chosen set of possible outputs. Pr denotes probability over the mechanism’s randomness. The parameter ε controls the multiplicative allowance, and δ supplies an additive allowance.

The quantification over output events is essential. The guarantee is not limited to a particular reconstruction attack or a particular statistic of the parameters. It constrains how distinguishable the output distributions can become when the protected record changes. Nor does it require the adversary to lack other information about the data.

The protected unit must remain visible throughout the analysis. Here it is an image-label record. If a person contributes several correlated records, a record-level guarantee does not become a person-level guarantee without further interpretation. The paper points to group privacy as a way to understand degradation when several related inputs change together.

#### Turn uncontrolled gradients into bounded contributions

Training minimizes an empirical loss, the average penalty assigned to the examples:

```
L(θ) = (1/N) ∑ᵢ L(θ, xᵢ)
```

θ is the vector of trainable parameters. N is the number of training examples. The symbol xᵢ denotes an example, while L(θ, xᵢ) is its loss under the current parameters. The summation runs over the training data.

Ordinary stochastic gradient descent estimates the direction in which this average loss changes by using a randomly selected group of examples. A gradient is a vector of derivatives: it indicates how changing each parameter would affect the loss. The update moves against that gradient to seek a lower-loss region.

A privacy difficulty appears because an individual example’s gradient can be arbitrarily large. Without a bound, the noise required to hide its contribution cannot be calibrated usefully. The authors therefore modify each example’s gradient before combining it with the others:

```
ḡ = g / max(1, ‖g‖₂/C)
```

g is an individual gradient. The symbol ‖g‖₂ denotes its Euclidean norm, or vector length. C is the clipping threshold. The function max selects the larger argument, and ḡ is the clipped result.

A gradient whose norm is no greater than C passes through unchanged. A larger gradient keeps its direction but is shortened to the threshold. This gives a hard influence bound at the individual-example level.

The placement of this operation matters. Clipping an already averaged gradient is common in non-private optimization, but it does not serve the same purpose. The privacy argument needs to know how much an individual record can change the update. That information must be controlled before contributions are mixed.

A private training update and its accounting The steps in order.

#### Add noise calibrated to sensitivity

Sensitivity measures how much a function’s output can change between neighboring inputs. The Gaussian mechanism adds noise whose magnitude is tied to that sensitivity:

```
M(D) = f(D) + N(0, S_f²σ²)
```

f is the deterministic quantity being protected. S_f is its sensitivity. N denotes a Gaussian distribution, with mean 0 and variance S_f²σ². The parameter σ is the noise multiplier, so the standard deviation is S_fσ.

For gradient updates, clipping provides the sensitivity control needed by this construction. The noise obscures the bounded change attributable to a record. Increasing the clipping bound permits larger individual contributions, but also requires larger absolute noise at the same multiplier.

The implementation can treat layers separately. Each layer may have its own clipping threshold and noise scale. This makes sense because gradients at different layers need not have similar magnitudes. The accountant must nevertheless include the contributions associated with all protected operations.

The framework also permits parameters to vary over training. However, the reported experiments use constant clipping and noise settings. This distinction keeps the generality of the architecture separate from the behavior actually evaluated.

#### Separate lots from batches

A lot is the group of examples whose contributions form a private update. A batch is a computational grouping used to perform the calculation efficiently. A lot can be processed through smaller batches, with the clipped contributions accumulated before noise is added.

This separation addresses memory use. Computing and storing gradients separately for many examples can consume substantially more memory than ordinary batched differentiation. Smaller computational batches reduce that burden without necessarily requiring a smaller statistical lot.

The sampling ratio is:

```
q = L/N
```

L is the lot size, N is the dataset size, and q is the probability used in the analysis for selecting an example into a lot. The formal treatment independently includes each example with that probability.

The implementation discussion also describes random permutation followed by partitioning into groups. That is a different sampling construction. The distinction becomes important when interpreting the guarantee: the main analysis explicitly assumes independent inclusion, while parts of the Appendix exploring other sampling schemes remain unfinished.

Training duration is expressed through epochs, meaning passes over the dataset in expectation. With the paper’s notation, the relationship is:

```
T = E/q
```

T is the number of update steps. E is the number of epochs. The sampling ratio q determines how many lots make up an epoch in this accounting convention.

#### Track privacy loss as a random quantity

Repeated private operations accumulate exposure. A conventional approach assigns an (ε, δ) guarantee to each operation and then invokes a composition theorem. The authors argue that this can discard information that is valuable when the mechanism is known more precisely.

Their alternative starts with privacy loss for a particular outcome:

```
c(o; M, aux, d, d′) = log(Pr[M(aux, d) = o] / Pr[M(aux, d′) = o])
```

o is an outcome. M is the mechanism. The neighboring datasets are d and d′. The auxiliary input aux represents information already available to the operation, including earlier released results in an adaptive sequence. The function log is the natural logarithm.

This quantity measures how much more likely the outcome is under one neighboring input than the other. It varies with the randomized outcome, so privacy loss is itself a random variable. For continuous mechanisms, the Gaussian calculations use the corresponding probability densities.

The accountant records a transformed summary of that variable:

```
α_M(λ; aux, d, d′) = log E_o[exp(λ c(o; M, aux, d, d′))]
```

λ is the moment parameter. E denotes expectation when o is drawn from M operating on d with auxiliary input aux. The exponential transformation emphasizes larger privacy-loss values, and the logarithm makes the resulting quantity suitable for additive composition.

To obtain a guarantee that covers all permitted cases, the analysis takes a worst-case bound:

```
α_M(λ) = max_aux,d,d′ α_M(λ; aux, d, d′)
```

The maximum ranges over auxiliary inputs and neighboring datasets. This step prevents the accountant from relying only on a favorable dataset or a convenient sequence of earlier outcomes.

#### Compose first, then convert to a privacy guarantee

For a sequence of mechanisms, the log-moment bounds combine additively:

```
α_M(λ) ≤ ∑ᵢ α_Mᵢ(λ)
```

M is the complete mechanism, and Mᵢ denotes an operation within it. Each α_Mᵢ bounds that operation’s log moment under the relevant worst-case conditions. The summation covers the sequence of protected operations.

This is useful for training because each update depends on parameters produced by previous updates. The analysis allows adaptive composition: later mechanisms can receive earlier outputs as auxiliary input. It does not require the entire training trajectory to be fixed independently of earlier randomized updates.

Once the accumulated moments are available, the accountant converts them into a conventional guarantee:

```
δ = min_λ exp(α_M(λ) − λε)
```

ε is the desired multiplicative privacy parameter. For each evaluated λ, the expression gives an upper bound on the permitted tail contribution. Taking the minimum chooses the strongest available bound for that ε.

The conversion uses Markov’s inequality applied to the exponential of privacy loss. The important operational point is that the accountant postpones this conversion. It composes richer information first, rather than repeatedly converting to a less informative representation.

#### Analyze the sampled Gaussian mechanism

The difficult calculation is the log moment of a Gaussian mechanism that sometimes includes the differing record and sometimes does not. After normalizing the bounded contribution, the authors reduce the problem to Gaussian distributions separated by a unit shift.

Let μ₀ be the density of a Gaussian with mean 0 and variance σ². Let μ₁ be the density with mean 1 and the same variance. Inclusion with probability q produces a mixture:

```
μ = (1 − q)μ₀ + qμ₁
```

μ is the density when the extra record may contribute. The weights reflect exclusion and inclusion of that record. This construction captures the privacy amplification associated with sampling.

Both directions of the neighboring-dataset comparison matter:

```
E₁ = E_z∼μ₀[(μ₀(z)/μ(z))^λ]
```

E₁ is a moment evaluated when z is drawn from μ₀. The ratio compares the density without the possible contribution against the mixture density.

```
E₂ = E_z∼μ[(μ(z)/μ₀(z))^λ]
```

E₂ reverses the density ratio and evaluates the expectation under μ. Together, the expressions cover the two orientations of the neighboring inputs.

```
α(λ) = log max(E₁, E₂)
```

α is the per-operation log-moment bound used in the accountant. The implementation obtains the expectations through numerical integration. It evaluates a range of moment parameters and reports that λ ≤ 32 suffices for the parameter settings of interest.

The Appendix develops an asymptotic bound with explicit conditions on the sampling probability, noise level, and moment parameter. Its leading term depends quadratically on q, while higher-order terms require control. The significance is not that any sampled noisy computation automatically receives the same bound, but that this specific mechanism can be analyzed more closely than generic composition would permit.

The resulting theorem gives a sufficient noise scale:

```
σ ≥ c₂ q √(T log(1/δ)) / ε
```

σ is the noise multiplier, q the sampling probability, T the update count, and ε and δ the target privacy parameters. The constant c₂ belongs to the theorem. The statement also requires the theorem’s condition involving another constant c₁ and the relationship between ε, q, and T.

#### Include representation learning and search

For MNIST, the authors use a private principal-component projection. They sample training examples, normalize their vectors, form a covariance matrix, add Gaussian noise, and extract principal directions from the perturbed matrix. Inputs are projected onto those directions before network training.

This stage has a privacy cost because the projection depends on protected records. Its benefit is both statistical and computational: a smaller representation can improve training while reducing the amount of work performed by later layers.

For CIFAR-10, the representation strategy is different. Convolutional features are learned using CIFAR-100 as public data. The protected training stage then reuses those features and updates later layers. The paper also mentions pretrained [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/), including word2vec and [GloVe](https://md.research.elamur.ai/free/en/papers/pennington-2014-glove-global-vectors-word-representation/), as possible analogous ingredients for language applications, without experimentally establishing that extension.

Finally, hyper-parameter selection receives its own analysis. Repeatedly training candidates and selecting one can use private information, including validation outcomes. The Appendix discusses a private search construction rather than treating the final selected run as the only relevant access. This completes the paper’s methodological perspective: the guarantee belongs to a defined pipeline, not merely to its last update rule.

### Experiments and results

#### What is evaluated

The experiments address separate questions. The accounting comparison asks how strongly the same randomized training procedure can be certified. The image-classification experiments ask how much predictive utility remains under specified guarantees. The parameter study asks which design choices improve that utility within a fixed privacy constraint.

These questions should not be collapsed into a single score. A tighter accountant can improve the certified guarantee without changing predictions. A better architecture can improve predictions without changing the accountant. A faster implementation can reduce runtime while leaving both unchanged.

The authors implement their approach in TensorFlow. Their official code is described as available under Apache 2.0. The main added components are a gradient sanitizer and a privacy accountant, together with support for computing per-example gradients.

#### Accounting the same procedure more tightly

For the accounting experiment, the authors fix q = 0.01, σ = 4, and δ = 10⁻⁵. They then calculate ε as training proceeds. The comparison uses strong composition and the moments accountant.

Privacy accounting after 100 epochs at fixed sampling and noise The moments accountant certifies a stronger guarantee for the same mechanism.

**The numbers**

| System or setting | ε |
| --- | --- |
| Strong composition | 9.34 |
| Moments accountant (this paper) | 1.26 |

The comparison becomes more pronounced with longer training. At E = 400, strong composition gives ε = 24.22, while the moments accountant gives ε = 2.55. These are alternative analyses of the same specified mechanism, not measurements of different attack success rates.

This result is practically important because an unnecessarily loose bound can make a useful procedure appear unacceptable. Better analysis can reveal that less privacy is lost than a generic theorem certifies. It cannot retroactively make an inadequately specified mechanism safe; its value depends on matching the calculation to the executed procedure.

#### MNIST: a compact network with private projection

MNIST contains 60,000 training examples and 10,000 test examples. Each input is a grayscale image of size 28 × 28. The classification task has 10 digit classes.

The reference architecture uses a PCA projection with 60 dimensions and a hidden layer containing 1,000 ReLU units. A softmax output is trained with cross-entropy loss. In the non-private setting, a lot size of 600 reaches 98.30% accuracy after about 100 epochs.

The private experiments retain the same main architecture and lot size. Each layer’s gradient norm is clipped at 4. The training noise and projection noise are varied together: the reported settings pair σ = 2 with σ_p = 4, σ = 4 with σ_p = 7, and σ = 8 with σ_p = 16. Here σ_p controls the projection-stage noise.

The learning rate starts at 0.1, decreases linearly to 0.052 during 10 epochs, and then remains at 0.052. Thus the experimental procedure includes a modest schedule rather than continually shrinking the step size toward zero.

MNIST test accuracy at δ = 10⁻⁵ The reported test accuracy improves as the permitted privacy loss increases.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Private SGD, ε = 0.5 | 90 |
| Private SGD, ε = 2 | 95 |
| Private SGD, ε = 8 (this paper) | 97 |

The paper also explores other (ε, δ) combinations. It reports 90% accuracy at ε = 0.25 and δ = 0.01. That result belongs to a different privacy setting and should not be treated as directly interchangeable with the results using δ = 10⁻⁵.

Across the reported MNIST curves, changing ε at fixed δ can substantially change accuracy. Varying δ at fixed ε has a smaller observed effect. This is an empirical pattern within the tested settings, instead of a universal ranking of the importance of the privacy parameters.

#### CIFAR-10: private retraining with public features

CIFAR-10 contains 50,000 training examples and 10,000 test examples, with 10 image classes. Inputs have size 32 × 32 and RGB channels. The architecture uses convolutional processing followed by fully connected layers.

The network takes a 24 × 24 crop. Its convolutional stages use 5 × 5 filters, stride 1, ReLU activation, and 2 × 2 max pooling, with 64 channels. The later fully connected layers each contain 384 units. Training includes random cropping, horizontal flipping, and changes to brightness and contrast.

Training the architecture non-privately can reach about 86% accuracy in 500 epochs. However, this is not the closest baseline for the protected experiment. The private workflow freezes convolutional features learned on CIFAR-100, treated as public, and retrains later layers. With that transfer setup, non-private retraining gives approximately 80% accuracy.

The private version starts from the pretrained network, trains the softmax layer, and updates either the upper fully connected layer or both fully connected layers. Its reported figure uses σ = 6 and clipping set to 3. Lot sizes are 2,000 or 4,000 for the displayed successful settings.

CIFAR-10 test accuracy with public convolutional features at δ = 10⁻⁵ Useful private classification remains possible, with accuracy depending on the permitted privacy loss.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Private retraining, ε = 2 | 67 |
| Private retraining, ε = 4 | 70 |
| Private retraining, ε = 8 (this paper) | 73 |

The authors report that per-epoch training time rises from approximately 40 seconds to 180 seconds under the private settings they describe. Their discussion identifies a considerably larger accuracy cost on CIFAR-10 than on MNIST. The relevant conclusion is therefore qualified feasibility: protection remains compatible with useful prediction, but its utility and computational costs depend strongly on the task and workflow.

### What the ablations show

#### The comparison holds privacy fixed

The MNIST parameter study varies a setting while retaining reference values for the others. Its reference configuration includes 60 projection dimensions, 1,000 hidden units, lot size 600, clipping bound 4, and the stated learning-rate schedule. Training and projection noise use the medium setting.

Each candidate runs until continuing would exceed (2, 10⁻⁵)-differential privacy. This makes training duration an outcome of the configuration. A noisier update may permit more epochs, while a less noisy update may spend the available privacy allowance sooner.

Accordingly, these are comparisons of complete training choices under a shared privacy limit. They do not isolate every parameter’s immediate effect on an update independently of training duration. That is a useful distinction: the study answers a deployment-oriented question about attainable accuracy, while leaving some optimization mechanisms entangled.

#### Projection improves the representation and the workload

Accuracy is relatively stable across projection dimensions, with the strongest reported setting at 60. Removing PCA reduces accuracy by about 2%. Replacing the projection with an additional hidden layer does not match the separately trained projection in these experiments.

The computational effect is substantial. Moving from 784 input dimensions to 60 produces an nearly 10× reduction in training time. Because the projection is private, this gain does not come from ignoring the exposure created by representation learning.

Random projection supplies another useful comparison. Its reported accuracy is about 92.5%, and the learned private projection remains better over the tested range of projection noise. This suggests that the benefit is not explained solely by dimensionality reduction: learning directions from the data contributes useful structure.

The paper does not provide a general theorem that private PCA will help any task. The evidence concerns this input representation and classifier. Its broader value is to demonstrate that a privacy-consuming preprocessing stage can still be worthwhile when its downstream benefits exceed its costs.

#### Larger hidden layers are not automatically worse

Increasing hidden-layer size does not produce the accuracy deterioration that a simple noise argument might suggest. More units can make fitting easier, yet they also change the gradient computation and the noise introduced into parameter updates.

The authors suggest that larger networks may tolerate noise better. They explicitly leave that explanation in need of further analysis. The experiments establish the observed behavior, not a complete account of its cause.

This result argues against assuming that private learning always requires the smallest possible network. Capacity and noise interact through optimization. A setting that appears more complex may still produce better utility within the available training allowance.

#### Lot size balances different sources of difficulty

A larger lot averages more example contributions, which can reduce the relative effect of added noise. But it also changes sampling exposure and how much training fits within a given privacy budget. Smaller lots offer more opportunities to revisit the data, while making each update noisier relative to its aggregate signal.

The MNIST study finds lot size especially influential and describes the empirically favorable scale as roughly √N. That observation is specific to the study. The CIFAR-10 results reinforce the need for task-dependent tuning: a lot size of 600 performs poorly there, and the displayed successful runs require 2,000 or more.

#### Learning rate, clipping, and noise are coupled

MNIST accuracy is stable over learning rates in [0.01, 0.07] and peaks at 0.05. Excessively large rates harm performance. Additional experiments suggest that reducing noise and shortening training can recover comparable accuracy even with larger rates, illustrating that these settings should not be interpreted independently.

Clipping creates a different tension. A small threshold bounds influence tightly but can distort the average direction. A large threshold preserves more of the original gradients but increases the absolute noise required. The authors suggest choosing the threshold using the median of observed unclipped gradient norms, although the privacy implications of obtaining such information still belong to the full pipeline.

Increasing noise lowers the privacy expenditure of an update and permits longer training. It also degrades the update’s immediate signal. The resulting utility depends on both effects. Initial experiments with decreasing noise during training do not show a significant improvement, so the paper leaves more sophisticated adaptation as an open direction.

Finally, the private MNIST runs show a small separation between training and test accuracy, whereas the non-private gap grows with training. This is consistent with the generalization argument the authors cite. It is an informative observation alongside the formal guarantee, instead of a substitute for that guarantee.

### Limitations

#### Boundaries stated by the authors

The authors identify the remaining CIFAR-10 accuracy gap as a target for further research. Their results do not claim that useful privacy arrives without a material utility cost. The relative difficulty of CIFAR-10 shows that success on a simpler image task does not settle the harder case.

The implementation has an architectural restriction. Its efficient per-example gradient operator supports loss computations with the stated single-connection property and handles many hidden layers, but does not directly provide the desired batched treatment for convolutional layers. Publicly pretrained convolutional features are therefore part of the experimental solution, not a minor incidental choice.

Language applications remain prospective. The conclusion proposes extending the approach to LSTMs and language tasks, and suggests compatibility with other first-order optimization methods. Those statements identify research opportunities. The reported experiments do not establish accuracy, runtime, or privacy-utility behavior for those extensions.

The privacy-accounting discussion also warns about adaptive parameter selection. The authors avoid the cited difficulties by choosing iteration counts and privacy settings in advance. A more general accountant must distinguish the roles of a privacy odometer and a privacy filter. The existence of an accountant object in software does not remove the need to justify its operating mode.

#### Limits visible in the experimental setup

The evaluation uses public image benchmarks. This is appropriate for reproducible comparisons, but it does not reproduce every property of a sensitive deployment. The paper does not experimentally establish what happens when contributors have highly uneven record counts or when a protected individual’s information is distributed across many correlated examples.

The guarantee is record-level under the defined adjacency relation. Its meaning depends on that choice. It does not promise that the learned predictor will reveal nothing about a person, a class of people, or a fact already strongly supported by other records. Differential privacy bounds the additional effect of the protected change; it is not a prohibition on learning shared patterns.

The CIFAR-10 experiment protects a particular stage of a transfer workflow. CIFAR-100 is designated public, and its learned features are reused. The results should therefore not be described as private end-to-end learning of every layer from protected CIFAR-10 inputs.

The parameter studies are informative but not exhaustive. Their controlled comparisons usually vary a setting around a reference configuration. Interactions outside those tested neighborhoods may remain unexplored. The paper’s observation that training settings matter more than certain architectural choices should be read within that scope.

#### Accounting and proof qualifications

The formal sampling assumption deserves attention. The main analysis includes records independently with probability q, while practical batching is described through permutation and partitioning. The Appendix contains unfinished passages exploring sampling without replacement and correlated partitions. Those passages do not supply a completed proof that every practical batching variant inherits the main bound.

Other Appendix material also retains drafting notes and incomplete expressions. A careful interpretation should distinguish completed definitions and arguments from proposed extensions that remain unresolved in the text. This does not erase the main accountant construction, but it limits which additional claims can be taken as established.

The text also contains reporting inconsistencies. The MNIST results section identifies 97% as test accuracy, while the conclusion calls it training accuracy. The detailed experimental account supports the test-set interpretation used above. A related-work sentence associates PCA with the CIFAR network, although the detailed experiments assign private PCA to MNIST and public convolutional transfer to CIFAR-10.

Finally, the article’s privacy values are guarantees calculated for specified mechanisms and settings. They are not direct measurements of how frequently an attacker reconstructs a record. Conversely, a failed empirical attack would not independently validate the accountant. The theoretical argument, executed mechanism, and experimental utility must each be assessed on their own evidence.

### What came after

The later citation record places the paper among work on decentralized learning, memorization, privacy attacks, and broader trustworthiness. That record establishes that these works cite it. Their titles identify the questions they address, but do not establish which ones implement this training procedure or reuse its accountant. The connections below therefore distinguish a visible research relationship from an unverified technical inheritance.

[Communication-Efficient Learning of Deep Networks from Decentralized Data](https://md.research.elamur.ai/free/en/papers/mcmahan-2016-communication-efficient-learning-deep-networks/) and [Advances and Open Problems in Federated Learning](https://md.research.elamur.ai/free/en/papers/kairouz-2020-advances-open-problems-federated-learning/) place learning from distributed data alongside the privacy concerns studied here. The important conceptual distinction already appears in Abadi and colleagues’ discussion: the location of records and the information carried by a released result are separate issues. The citation relationship does not, on its own, establish a particular privacy guarantee for either later work.

A substantial group examines whether training participation can be detected. [Membership Inference Attacks against Machine Learning Models](https://md.research.elamur.ai/free/en/papers/shokri-2016-membership-inference-attacks-against-machine/) addresses that question directly. [Membership Inference Attacks From First Principles](https://md.research.elamur.ai/free/en/papers/carlini-2021-membership-inference-attacks-first-principles/) revisits the attack problem, while [Membership Inference Attacks against Language Models via Neighbourhood Comparison](https://md.research.elamur.ai/free/en/papers/mattern-2023-membership-inference-attacks-against-language/) names a language-focused comparison strategy. These works belong to the empirical side of privacy assessment; their inclusion does not imply that attack success or failure replaces a formal guarantee.

[The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks](https://md.research.elamur.ai/free/en/papers/carlini-2018-secret-sharer-evaluating-testing-unintended/) and [Extracting Training Data from Large Language Models](https://md.research.elamur.ai/free/en/papers/carlini-2020-extracting-training-data-large-language/) connect the discussion to memorization and recovery of training material. Those topics give concrete form to the original paper’s concern that learned parameters can preserve example-specific information. The citation information available here does not establish their experimental outcomes or the effectiveness of private training in their settings.

[Emergent and Predictable Memorization in Large Language Models](https://md.research.elamur.ai/free/en/papers/biderman-2023-emergent-predictable-memorization-large-language/) continues the memorization theme. [Preventing Generation of Verbatim Memorization in Language Models Gives a False Sense of Privacy](https://md.research.elamur.ai/free/en/papers/ippolito-2023-preventing-generation-verbatim-memorization-language/) explicitly questions the adequacy of suppressing verbatim output as a privacy criterion. Its title highlights a distinction compatible with this paper’s framing: visible output behavior and a guarantee about record influence are different kinds of evidence.

Other citing works focus on personal information and removal. [Analyzing Leakage of Personally Identifiable Information in Language Models](https://md.research.elamur.ai/free/en/papers/lukas-2023-analyzing-leakage-personally-identifiable-information/) names a particular category of sensitive content. [Knowledge Unlearning for Mitigating Privacy Risks in Language Models](https://md.research.elamur.ai/free/en/papers/jang-2022-knowledge-unlearning-mitigating-privacy-risks/) addresses privacy through unlearning. These are related questions, but the citation record does not justify treating post-training removal and bounded private training as equivalent mechanisms.

Finally, [Security and Privacy Challenges of Large Language Models: A Survey](https://md.research.elamur.ai/free/en/papers/das-2024-security-privacy-challenges-large-language/) and [DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Models](https://md.research.elamur.ai/free/en/papers/wang-2023-decodingtrust-comprehensive-assessment-trustworthiness-gpt/) situate privacy among broader security and evaluation concerns. Across these research directions, the durable contribution of “Deep Learning with Differential Privacy” remains specific: it joins a bounded training mechanism to an explicit account of cumulative exposure, then measures the predictive utility retained under that account.

## Cite

Cite as Martı́n Abadi, Andy Chu, Ian Goodfellow, H. Brendan McMahan, Ilya Mironov, Kunal Talwar and Li Zhang. 2016. Deep Learning with Differential Privacy. ACM SIGSAC Conference on Computer and Communications Security (CCS).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1145/2976749.2978318](https://doi.org/10.1145/2976749.2978318) · [arXiv 1607.00133](https://arxiv.org/abs/1607.00133)

```bibtex
@inproceedings{abadi2016deep,
  title = {{Deep Learning with Differential Privacy}},
  author = {Martı́n Abadi, Andy Chu, Ian Goodfellow, H. Brendan McMahan, Ilya Mironov, Kunal Talwar and Li Zhang},
  booktitle = {ACM SIGSAC Conference on Computer and Communications Security (CCS)},
  year = {2016},
  doi = {10.1145/2976749.2978318},
  eprint = {1607.00133},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1145/2976749.2978318}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
