Differential privacy (DP)

Differential privacy is a mathematical guarantee that the result of an analysis, or a model trained on data, reveals almost nothing about whether any one person's data was included.

Differential privacy protects the people in a dataset by limiting what any result can reveal about them. In its most common form, it adds carefully calibrated random noise to the results of computations, so that the output looks almost the same whether or not any particular person's record is in the data. The strength of the guarantee is set by a number, epsilon: changing one person's record can change the probability of any output by at most a factor of about e to the power epsilon. Smaller epsilon means stronger privacy and more noise.

Cynthia Dwork, Frank McSherry, Kobbi Nissim and Adam Smith introduced the idea in their 2006 paper Calibrating Noise to Sensitivity in Private Data Analysis, work that won the Gödel Prize in 2017. Real deployments followed: Google's RAPPOR telemetry in 2014, Apple in iOS 10 in 2016, and the US Census Bureau, which used it to protect its 2020 census redistricting data released in 2021.

Machine learning adopted it through DP-SGD, introduced in 2016 by Martín Abadi, Ian Goodfellow and colleagues. At each training step it computes gradients for a random batch of examples, clips each example's gradient so that no single person can move the model much, adds noise to the average, and keeps a running account of the total privacy loss. With a privacy budget of epsilon 8, their models reached about 97 per cent test accuracy on the MNIST handwriting dataset and 73 per cent on CIFAR-10 images.

That accuracy cost is the main obstacle for large language models. On September 12, 2025 Google released VaultGemma, a 1 billion parameter model trained from scratch with differential privacy, with a guarantee of epsilon at most 2.0 for each 1,024-token sequence of training text. Google reported no detectable memorisation of training data, but performance comparable to non-private models from about five years earlier, such as GPT-2. The guarantee covers what appears in a single sequence: facts repeated across many documents can still be learned.

A guarantee is only as good as its parameters and code. NIST's guidelines for evaluating differential privacy, published in March 2025 as SP 800-226, list common pitfalls in turning the theory into software, and implementations have leaked through details such as floating-point arithmetic and timing. When a company says it uses differential privacy, the useful questions are what epsilon it chose and what unit, a person, a record or a sequence, the guarantee protects.

Common questions

What does epsilon mean in differential privacy?

Epsilon is the privacy budget: it bounds how much any one person's data can change the probability of a result. Smaller values mean stronger privacy and more added noise. Repeated analyses of the same data use up the budget, because privacy losses add together.

Does differential privacy make data anonymous?

Not in the usual sense. It does not change the underlying data; it limits what the outputs reveal about any individual. That gives a provable bound that ordinary anonymisation cannot, but the bound depends on the chosen parameters and on correct implementation.

Is differential privacy used in AI models?

Yes, mainly through DP-SGD, which adds noise during training. Google's VaultGemma, released in September 2025, is a 1 billion parameter language model trained entirely with differential privacy, though it still trails a non-private model of the same size.

What is the downside of differential privacy?

Accuracy and cost. The noise that protects individuals also blurs patterns, so private models and statistics are less accurate, and training privately needs larger batches and more computing. Choosing epsilon is a trade-off between privacy and usefulness.

Finding more

Search for "differential privacy explained", "DP-SGD" or "NIST SP 800-226". NIST's guidelines and the original research papers are the most reliable sources, and statistical agencies such as the US Census Bureau document real deployments. When reading a company's privacy claims, look for the stated epsilon and the unit of protection; a claim without them is hard to evaluate.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.