Home Knowledge Base Differential Privacy (DP)

Differential Privacy (DP) is the mathematical framework that provides a formal, quantifiable guarantee that an algorithm's output reveals negligibly different information whether or not any individual's data is included in the computation — enabling statistical analysis, model training, and data publishing with provable privacy protection, making it the gold standard privacy technology adopted by Apple, Google, Microsoft, and the U.S. Census Bureau.

What Is Differential Privacy?

P(M(D) ∈ S) ≤ e^ε × P(M(D') ∈ S) + δ

Why Differential Privacy Matters

The Fundamental Mechanisms

Laplace Mechanism (for numeric queries):

Gaussian Mechanism (for approximate DP):

Randomized Response (for local DP):

DP-SGD (for Machine Learning):

1. Compute per-example gradients g_i. 2. Clip: g_i ← g_i / max(1, ||g_i||₂/C) — bound L2 sensitivity. 3. Sum clipped gradients and add Gaussian noise: G = Σg_i + N(0, σ²C²I). 4. Update: θ ← θ - lr × G/|batch|.

Privacy-Utility Trade-off

Applicationε UsedUtility Cost
Census (U.S. 2020)17.14 (total)<5% accuracy loss on aggregate statistics
Apple Emoji (Local DP)4Moderate
Google Gboard~8-10Small
Medical ML (DP-SGD)1-35-15% accuracy loss
Strong ML privacyε<120-40% accuracy loss

The privacy-utility trade-off is fundamental — smaller ε means more noise means less accurate models. Current DP-SGD models on CIFAR-10 achieve ~85% accuracy at ε=3 vs ~95% without DP.

Composition Theorems

Running M₁ and M₂ on the same dataset:

Differential privacy is the mathematical guarantee that converts privacy from a vague aspiration into an engineering specification — by defining privacy loss as a precisely measurable quantity, DP enables organizations to make explicit, auditable commitments about how much individual data influences computational outputs, transforming privacy from a legal compliance checkbox into a rigorous engineering constraint.

differential privacydpnoise

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.