AI GLOSSARY · SAFETY, ETHICS AND GOVERNANCE
Differential privacy
Definition
Differential privacy bounds how much an analysis’s output distribution can change between specified neighboring datasets. The privacy parameters, definition of neighbors and implementation determine the guarantee; arbitrary noise addition does not establish it.
Also called: DP, differential privacy machine learning, differential privacy AI, differentially private.
In plain language
Imagine publishing a survey count while limiting what participation reveals about a respondent. A suitable mechanism can add carefully calibrated randomness. Its guarantee depends on what one person can contribute and the chosen privacy parameters. Repeated releases also need privacy accounting. More noise is not, by itself, a complete privacy specification or a promise of useful results.
Technical definition
For approximate differential privacy, a mechanism M satisfies Pr[M(D) in S] <= exp(epsilon) Pr[M(D′) in S] + delta for every neighboring pair D,D′ and output event S. Specify the neighboring relation and privacy parameters. Composition accounts for multiple analyses; event-level and user-level protection can differ.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
sensitive-data-redaction 55/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- The skill replaces emails, phones, cards, IBANs, keys, IPs and listed names in a file with consistent placeholders before you share it.
- Why it exercises the concept
- A contrast case. Redaction removes listed identifiers from a file; differential privacy limits what a published result reveals about any one person. Redacted data can still be re-identified from other fields, and the skill does not provide a differential privacy guarantee. Illustrative, not executed.
Skill by Skill Almanac · Illustrative, not executed
threat-model-stride-worksheet 38/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- The skill walks a feature through a STRIDE threat-modelling worksheet using assets, actors, trust boundaries and data flows you supply.
- Why it exercises the concept
- It is a way to ask where personal data flows in a feature before choosing any privacy technique. It does not implement differential privacy. Illustrative, not executed.
Skill by Skill Almanac · Illustrative, not executed
data-analysis-eda 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- The skill is a fixed exploratory-analysis procedure and CSV profiler that keeps findings descriptive, evidenced and caveated.
- Why it exercises the concept
- Exploratory summaries of a table are the kind of output differential privacy aims to protect when the data concerns people. The skill adds no noise and gives no guarantee; the catalogue has no differential privacy skill. Illustrative, not executed.
How it shows up when you use agents
Differential privacy seldom appears in a coding-agent session unless you work on data about people. It can come up when you ask Claude Code, Codex or Cursor to help publish statistics, share an analytics table or train a model on user records. A vendor or a library may claim a result is differentially private. The claim is only meaningful with its settings stated.
What breaks when it is misunderstood: treating the label as a yes-or-no badge. NIST's guidance describes a pyramid of factors and common pitfalls it calls privacy hazards, which signals that implementation details matter. An agent that adds noise with an ad hoc formula has not produced a guarantee. Separately, removing names from a file is a different step from differential privacy.
A practical next step: ask what the privacy budget is, who chose it, what the guarantee covers, and which library produced it. Treat the answers as a risk decision for a person or team to own. The entry on AI privacy covers the wider picture, and training data explains why personal records in a training set matter. The catalogue has no skill that implements differential privacy, so the examples are contrast cases.
Worked example (illustrative)
Imagine releasing a count today and another tomorrow from the same respondents. Analyze the combined privacy loss rather than treating each release as the only analysis. The accounting depends on the mechanisms and privacy definition; this scenario does not specify or certify a mechanism.
Common confusions
- Differential privacy versus anonymisation. Removing or masking identifiers changes the data. Differential privacy is a property of how a result is computed, measured as privacy loss.
- Differential privacy versus encryption. Encryption hides data from people without the key. Differential privacy limits what published results reveal about individuals.
- Privacy versus accuracy. Abadi et al. report a modest privacy budget for their neural-network experiments; that statement applies to their work, not to every system.
- Myth: a differentially private model cannot leak anything. The guarantee depends on the stated budget and a correct implementation, which NIST's discussion of hazards addresses.
Related terms
Terms that mention Differential privacy
1 terms mention this one
More in Safety, ethics and governance
Sources
- Guidelines for Evaluating Differential Privacy Guarantees (NIST SP 800-226), NIST (accessed 2026-11-24)
- Deep Learning with Differential Privacy — Abadi et al., arXiv (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.
Review record
Last verified
Drafted by Claude (original draft) and Codex (automated revisions); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-24. Last verified .
Change log (6)
- : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
- : Corrected specific source-led trust review findings; affected-claim independent re-review pending.
- : First version.
- : Verifier pass: applied verifier corrections to unsupported or overstated claims.
- : Trust and evaluation scope corrections; independent exact-version review pending.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.