Differential Privacy
Differential privacy is a mathematical definition of privacy for data analysis. Calibrated random noise is added to results so that their distribution barely changes whether or not any one person's data is included. Dwork, McSherry, Nissim and Smith formalized the approach in 2006, scaling the noise to the "sensitivity" of a query, meaning how much one person's record can change the answer.[1] The strength of protection is expressed as a privacy-loss budget called epsilon (ε): for a fixed mechanism and setup, a smaller ε tightens the privacy bound and typically reduces statistical accuracy.[8] Older methods such as swapping or removing identifiers can be undone by linking to other data; the U.S. Census Bureau moved to differential privacy after finding its 2010-era methods ineffective against modern reidentification attacks.[2]
What does Differential Privacy mean in simple terms?
Imagine asking people a sensitive yes/no question. Before answering, each person flips a coin in private: heads, they tell the truth; tails, they flip a second fair coin and answer yes for heads or no for tails. Looking at any one answer, you cannot tell whether it is real. Across thousands of people, though, you know the coin's odds, so you can work backwards to a fairly accurate overall share. Differential privacy generalizes this idea mathematically, and epsilon is the dial that sets how much noise is added.[8]
How can Differential Privacy be explained with an analogy?
It is like a survey in which everyone flips a coin first and sometimes gives a scripted answer. Individual answers are hidden, but the overall percentage can still be estimated.
Where is Differential Privacy used?
U.S. Census Bureau — Noise in 2020 Census redistricting data
The Census Bureau found that the data-swapping methods it used in 2010 and earlier no longer held up against reidentification attacks, so its 2020 Disclosure Avoidance System adds calibrated statistical noise to published tables.[2] On June 9, 2021 its data stewardship committee announced the privacy-loss budget for the redistricting data product, split between the persons file and the housing-unit data.[2] The final budget was set after public feedback on several rounds of demonstration data; the April 2021 demonstration used ε = 12.2.[2] It is an early example of a national statistics agency publishing the ε it used.
Result: Total ε = 19.61 for the redistricting data (17.14 persons file + 2.47 housing units), announced June 9, 2021.[2]
Apple — Local differential privacy on iPhone and Mac
In its technical overview, Apple describes adding noise on the user's device before data is sent, so its servers never receive the raw values.[3] It uses this for features such as QuickType and emoji suggestions, Lookup Hints, Safari energy-draining and crashing domains, and Health type usage.[3] Each feature has its own ε per contribution, and Apple caps how many contributions a device sends per day.[3] Participation is tied to the opt-in Device Analytics setting, and Apple states that it keeps the collected data for at most three months.[3]
Result: ε per contribution of 2 (Health types), 4 (emoji, Lookup Hints, Safari problem domains) or 8 (QuickType, Safari autoplay), with 1–2 contributions per day, as stated in Apple's technical overview.[3]
Google — COVID-19 Community Mobility Reports
From April 2020 Google published regional changes in visits to places such as workplaces, shops and parks to help public-health officials.[4] Each metric was computed with Google's open-source differential privacy library, which adds Laplace noise.[4] Coarser geographic levels received a smaller ε per metric, each user's contributions were capped, and metrics that were too noisy to be reliable were withheld.[4]
Result: ε per metric of 0.11 at country and top-level region, and 0.22 at finer levels such as U.S. counties, per the anonymization description.[4]
Try it today
- List the statistics your organization publishes or shares externally, and mark cells with small counts.
- Install an open-source differential privacy library, such as the one Google used for its mobility reports, and add Laplace noise to a simple count or sum query.[4]
- Run the same query with ε = 0.1, 1 and 8 (illustrative values) and record how the error changes in a table.
- Compare your metric design with Apple's published per-feature ε values and daily contribution limits.[3]
- Use NIST SP 800-226 as a checklist: review its "privacy hazards" with whoever will build or buy the system.[8]
Limits and direction
The hardest decision is choosing ε. There is no agreed universal threshold. Apple uses 2 to 8 per contribution [3], while the Census Bureau set a total of 19.61 for its 2020 redistricting data [2]. Because the scope and unit of protection differ, these numbers cannot be compared directly. Distortion for small groups is another concern. Kenny and colleagues, analyzing the Bureau's 2010 demonstration data, found that the system systematically undercounted mixed-race and mixed-partisan precincts, producing unpredictable racial and partisan biases in redistricting analysis.[5] In 2021 Alabama asked a federal court to block the method; a three-judge panel denied the request for early relief and dismissed several claims, so the August 2021 data release went ahead.[6]
Three directions stand out. First, privacy during model training: DP-SGD, proposed by Abadi and colleagues in 2016, clips each example's gradient and adds noise so that a deep learning model itself carries a guarantee.[7] On MNIST it reached 97% test accuracy at ε = 8 (δ = 10⁻⁵), against a non-private baseline of 98.30%; on CIFAR-10 it reached 73% at ε = 8, against about 80% for the comparable non-private setup.[7] The accuracy cost depends heavily on how hard the task is. Second, practical guidance: NIST finalized SP 800-226 in March 2025 to help practitioners evaluate differential privacy claims.[8] Third, open-source tooling: Google produced public reports with its own open-source library.[4]
Which sources explain Differential Privacy?
- Springer (TCC 2006) — Dwork, McSherry, Nissim, Smith: Calibrating Noise to Sensitivity in Private Data Analysis (2006) — https://link.springer.com/chapter/10.1007/11681878_14
- U.S. Census Bureau — Census Bureau Sets Key Parameters to Protect Privacy in 2020 Census Results (2021-06-09) — https://www.census.gov/newsroom/press-releases/2021/2020-census-key-parameters.html
- Apple — Differential Privacy Technical Overview — https://www.apple.com/privacy/docs/Differential_Privacy_Overview.pdf
- Google (arXiv) — COVID-19 Community Mobility Reports: Anonymization Process Description v1.1 (2020-11-03) — https://arxiv.org/abs/2004.04145
- Science Advances — Kenny et al.: The use of differential privacy for census data and its impact on redistricting (2021-10-06) — https://pmc.ncbi.nlm.nih.gov/articles/PMC8494446/
- Brennan Center for Justice — Court Rejects Alabama Challenge to Census Plans for Redistricting and Privacy (2021-06-30) — https://www.brennancenter.org/our-work/analysis-opinion/court-rejects-alabama-challenge-census-plans-redistricting-and-privacy
- ACM CCS (arXiv) — Abadi et al.: Deep Learning with Differential Privacy (2016) — https://arxiv.org/abs/1607.00133
- NIST — SP 800-226: Guidelines for Evaluating Differential Privacy Guarantees (2025-03) — https://csrc.nist.gov/pubs/sp/800/226/final
Tell us what you think
Your feedback helps us improve the content.