differential privacy (DP)
A mathematical method that uses intentionally injected random noise to ensure that individual data cannot be inferred from a statistic or an AI model.
In plain terms
Imagine a classroom where everyone is asked who has ever cheated. Everyone secretly flips a coin: if heads, they answer honestly; if tails, a second flip decides what they say. No single answer reveals anything certain, as anyone can refer to the coin, yet you still get a fairly accurate ratio for the whole class. This is the basic idea of differential privacy.
The method promises that the result will be almost the same whether your data is included in the database or not. If your presence barely changes the final outcome, then nothing significant can be learned about you from it.
This is different from simply deleting names from a table. Data without names can often be re-identified by cross-referencing with other databases, whereas differential privacy provides a numerical, provable guarantee. This is crucial for AI because models sometimes memorize details from training data verbatim.
How it works
- First, they examine how much a single person's data can change the calculated result (for example, an average or a count).
- Adjusted to this, carefully measured random noise is added to the result: enough to make the influence of an individual disappear, but the overall picture remains.
- The strength of the protection is expressed by a number, epsilon (ε). The smaller it is, the stronger the protection, but the less accurate the result.
- The total epsilon allowed for a single dataset is called the privacy budget, and every new query consumes from it. If it runs out, no more questions can be asked about the same data, otherwise the noise could be averaged out.
- When training an AI model, noise is added to the learning steps, and the influence any single example can have on the model is limited (the best-known method is DP-SGD). As a result, the model learns general patterns and picks up individual details much less.
An everyday example
Your phone keyboard learns which new words and emojis people are using these days and suggests them to you too. To collect this data, the manufacturer has your device send signals that are already mixed with noise. This way trending words show up, but what you typed does not.
Who is affected
A common misconception
Limits and risks
- Protection has a cost: the stronger it is, the less accurate the statistics or the weaker the model, and this primarily affects the data of small groups.
- The statement 'we use differential privacy' means little if the company does not disclose the epsilon value and exactly what the protection covers.
- It does not protect against what statistics reveal about your group: if it turns out that smokers have higher risk, it applies to you too, whether your data was included or not.
- Correct implementation is difficult because a tiny programming or configuration error can silently nullify the mathematical guarantee.
Similar, but not the same
- anonymization – Traditional anonymization removes or hides names and other identifiers but provides no provable guarantee against re-identification. Differential privacy numerically limits how much can be learned about an individual, making it one possible tool for anonymization.
- encryption – Encryption protects against unauthorized access to data, while differential privacy ensures that individuals cannot be inferred from legitimately published results.
- federated learning – In federated learning, the data remains on your device and only the model update travels, but this alone does not guarantee anonymity, so it is often combined with differential privacy.
Related concepts
data protection, privacy-enhancing technologies, trustworthy artificial intelligence
local differential privacy, privacy budget, differentially private training
federated learning, anonymization, synthetic data, training data, homomorphic encryption
A brief history
The concept was introduced in 2006 by Cynthia Dwork, Frank McSherry, Kobbi Nissim, and Adam Smith in a study that has since become a classic. Google and Apple have been using it since the mid-2010s, and the published data of the 2020 United States census was also protected with this method.
Where things stand
At the end of 2026, major technology companies and several statistical offices use it in production, and the US NIST issued a dedicated guideline for its evaluation in 2025. It is still rare in training large language models because it noticeably degrades model quality and makes training more expensive. A smaller open model trained entirely this way has already appeared, for example Google's VaultGemma in 2025.
Also known as
differential privacy · differential privacy · differential privacy · differential privacy · DP · epsilon-differential privacy · ε-differential privacy · DP-SGD
Sources
- Wikipedia: Differential privacy
- NIST SP 800-226: Guidelines for Evaluating Differential Privacy Guarantees
This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.