Inferensys

Glossary

(ε, δ)-Differential Privacy

(ε, δ)-Differential privacy is a relaxation of pure differential privacy (ε-DP) that allows a small, quantifiable probability δ of the privacy guarantee being violated, enabling more practical noise addition mechanisms like the Gaussian mechanism.
Legal team reviewing EU AI Act compliance documents on laptop in modern office, coffee cups and papers on table, casual meeting.
GLOSSARY

What is (ε, δ)-Differential Privacy?

(ε, δ)-Differential privacy is a formal, mathematical relaxation of pure differential privacy that provides a quantifiable, probabilistic privacy guarantee.

(ε, δ)-Differential privacy is a probabilistic privacy definition stating that for any two adjacent datasets differing by one individual, the probability of any output from a mechanism M is at most e^ε times the probability of that output plus a small additive factor δ. The parameter ε (epsilon) bounds the multiplicative privacy loss, while δ (delta) represents an allowable probability of the guarantee failing entirely. This relaxation enables the use of more practical noise-addition mechanisms, such as the Gaussian mechanism, which are central to private machine learning algorithms like DP-SGD and DP-FedAvg.

The δ term is typically set to a cryptographically small value, often less than the inverse of the dataset size. This framework is governed by composition theorems that track cumulative privacy loss across multiple queries. In federated learning, (ε, δ)-DP is applied at the client-level, where noise is added to individual model updates before secure aggregation. This provides a rigorous guarantee that an adversary cannot confidently infer any single client's participation or data from the final trained model, a cornerstone of privacy-preserving machine learning.

(ε, δ)-DIFFERENTIAL PRIVACY

Key Parameters and Mechanisms

(ε, δ)-Differential privacy is a relaxation of pure ε-differential privacy that allows a small, quantifiable probability δ of the privacy guarantee being violated, enabling the use of more practical noise-addition mechanisms like the Gaussian mechanism.

01

The Epsilon (ε) Privacy Parameter

Epsilon (ε) is the primary privacy loss parameter. It quantifies the maximum allowable multiplicative difference in the probability of any output, with or without any single individual's data. A smaller ε indicates a stronger privacy guarantee.

  • Interpretation: For ε=1, the likelihood of any output can change by a factor of ~2.718 (e^1). For ε=0.1, the factor is ~1.105.
  • Practical Range: Values like 0.1, 1, or 8 are common, where ε < 1 is considered strong privacy and ε > 10 offers weaker protection.
  • Role in (ε, δ)-DP: It defines the core, high-probability privacy bound.
02

The Delta (δ) Failure Probability

Delta (δ) is the secondary parameter representing a small probability that the strict ε guarantee fails. It accounts for a negligible chance of a catastrophic privacy breach.

  • Typical Setting: δ is set to a cryptographically small value, significantly less than the inverse of the dataset size (e.g., δ < 10^-5). This makes a meaningful privacy violation extremely unlikely.
  • Purpose: Introducing δ > 0 enables the use of the Gaussian mechanism, which adds noise from a normal distribution. This is often more analytically and practically favorable than the Laplace mechanism required for pure ε-DP.
  • Risk Interpretation: A δ of 10^-5 means there is a 1 in 100,000 probability the privacy loss exceeds ε.
03

The Gaussian Mechanism

The Gaussian mechanism is the canonical algorithm for achieving (ε, δ)-differential privacy. It adds noise drawn from a normal distribution to the true output of a function.

  • Noise Scale: The standard deviation σ of the Gaussian noise is scaled by the function's L2 sensitivity (Δ₂) and the desired (ε, δ) parameters: σ = (Δ₂ * √(2 log(1.25/δ))) / ε.
  • Key Advantage: Gaussian noise is often preferable in machine learning (e.g., for gradients) as it is unbounded and symmetric, and it composes more tightly under advanced accounting methods like Rényi DP.
  • Contrast with Laplace: The Laplace mechanism, used for pure ε-DP, adds noise from a Laplace distribution scaled by L1 sensitivity.
04

Sensitivity: L1 vs. L2

Sensitivity is the maximum possible change in a function's output when a single data point is added or removed. It determines how much noise must be added.

  • L1 Sensitivity (Δ₁): The maximum absolute change, measured by the L1 norm. It directly scales the noise for the Laplace mechanism.
  • L2 Sensitivity (Δ₂): The maximum Euclidean distance change, measured by the L2 norm. It directly scales the noise for the Gaussian mechanism.
  • Example: For a counting query ("how many records satisfy property P?"), both L1 and L2 sensitivity are 1. For a gradient vector, the L2 sensitivity is controlled via gradient clipping to a threshold C.
05

Composition & Privacy Accounting

When a dataset is analyzed multiple times, privacy loss accumulates. Composition theorems and privacy accounting track the total (ε, δ) across all operations.

  • Basic Composition: The ε parameters sum linearly, and δ parameters sum linearly. This is simple but pessimistic.
  • Advanced Composition: Provides tighter bounds, especially for many iterations. Methods like the Moment Accountant, Rényi DP (RDP), and Zero-Concentrated DP (zCDP) give far more favorable ε for the same δ after many queries.
  • Privacy Budget: A total allowable (ε_total, δ_total) is set. Each analysis consumes part of this budget; accounting ensures it is not exceeded.
06

Application in Federated Learning (DP-FedAvg)

In Federated Learning, (ε, δ)-DP is applied at the client level to protect a user's entire local dataset. The standard algorithm is Differentially Private Federated Averaging (DP-FedAvg).

  • Process: Each client clips their local model update (gradients or weight delta) to a maximum L2 norm C (controlling sensitivity). They then add Gaussian noise scaled to (ε, δ) and send the noised update to the server.
  • Server-Side Aggregation: The server averages the noised client updates. Due to post-processing immunity, the final global model inherits the (ε, δ) guarantee.
  • Key Trade-off: Higher noise (lower ε) increases privacy but reduces model accuracy and slows convergence. The clip threshold C and noise multiplier are critical hyperparameters.
MECHANISM OVERVIEW

How the Gaussian Mechanism Achieves (ε, δ)-DP

The Gaussian mechanism is a core algorithm for achieving the relaxed (ε, δ)-differential privacy guarantee by adding calibrated noise from a normal distribution to query outputs.

The Gaussian mechanism achieves (ε, δ)-differential privacy by adding noise drawn from a normal distribution (N(0, σ²)) to the true output of a function. The critical parameter is the noise scale σ, which is set proportionally to the function's L2 sensitivity and inversely to the desired privacy parameters ε and δ. This calibrated noise masks the contribution of any single individual's data, providing a formal, quantifiable privacy guarantee that holds with probability at least (1 - δ).

In practice, the mechanism is defined as M(x) = f(x) + N(0, (Δ₂f)² · σ²), where Δ₂f is the L2 sensitivity. The standard deviation σ is calculated using a tight analytical formula involving ε and δ. Compared to the Laplace mechanism for pure ε-DP, Gaussian noise often provides better utility for high-dimensional queries like gradients in DP-SGD or DP-FedAvg, as the L2 norm of added noise grows more slowly with dimensionality, making it the preferred choice for private machine learning.

COMPARISON

(ε, δ)-DP vs. Pure ε-Differential Privacy

A technical comparison of the relaxed (ε, δ)-differential privacy guarantee and the stricter pure ε-differential privacy guarantee, focusing on their mechanisms, guarantees, and suitability for federated learning.

Feature / MetricPure ε-Differential Privacy(ε, δ)-Differential Privacy

Core Definition

A strict guarantee that the probability of any output changes by at most a multiplicative factor of e^ε when a single data point is altered.

A relaxation that allows the pure ε guarantee to fail with a small probability δ, formalized as Pr[M(D) ∈ S] ≤ e^ε Pr[M(D') ∈ S] + δ.

Typical Noise Mechanism

Laplace Mechanism (adds noise scaled to L1 sensitivity).

Gaussian Mechanism (adds noise scaled to L2 sensitivity).

Noise Distribution Tails

Heavy-tailed (exponential decay).

Light-tailed (subgaussian decay).

Composition Behavior

Simple linear composition (ε sums directly).

Tighter composition, especially under advanced accounting (e.g., RDP, zCDP).

Common Use Case

Releasing a small number of exact query answers or counts.

Iterative algorithms like DP-SGD and DP-FedAvg with many training steps.

Privacy Parameter δ

Always zero (δ = 0).

A small, non-zero probability, typically << 1/n (where n is dataset size).

Interpretation of δ

Not applicable; guarantee is absolute.

Interpreted as the probability of a catastrophic privacy failure.

Utility at Fixed ε

Generally lower utility due to larger noise from Laplace distribution.

Generally higher utility for high-dimensional vectors (e.g., gradients) due to Gaussian noise's lighter tails.

PRACTICAL IMPLEMENTATIONS

Primary Use Cases and Applications

(ε, δ)-Differential Privacy enables practical, formal privacy guarantees where a small, quantifiable probability δ of failure is acceptable. This relaxation is critical for deploying privacy-preserving systems at scale, particularly in federated and collaborative learning.

03

Privacy-Preserving Analytics & Census Data

National statistical agencies (e.g., U.S. Census Bureau) use (ε, δ)-DP to release aggregate demographic statistics while preventing reconstruction of individual records. Queries on the dataset (counts, averages, histograms) have noise added via the Gaussian mechanism. The δ parameter allows for the use of Gaussian noise, which has lighter tails than the Laplace noise required for pure ε-DP, often leading to better utility for the same privacy cost. This application relies heavily on privacy accounting across thousands of queries.

04

Large-Scale Recommendation Systems

Companies like Google and Apple apply (ε, δ)-DP to collect aggregate usage statistics for model improvement without learning about any specific user. For example, learning popular emojis or detecting trending websites. The δ value is set extremely low (e.g., 10^-10) to make the probability of a privacy failure negligible. Techniques like the sparse vector technique and report noisy max (built on the exponential mechanism) are used to identify top items privately. Local DP is often used at the device level, with further (ε, δ)-DP guarantees applied during central aggregation.

05

Healthcare & Genomic Data Collaboration

In vertical federated learning or multi-institutional studies, (ε, δ)-DP enables the release of summary statistics—like allele frequencies, disease association metrics, or aggregated model updates—from sensitive genomic or patient health datasets. Researchers can perform genome-wide association studies (GWAS) with formal privacy guarantees. The δ parameter is crucial here, as the Gaussian mechanism's analytical tractability allows for precise control over the trade-off between data utility for medical discovery and the very low probability of privacy violation.

06

Financial Fraud Detection & Risk Modeling

Banks and financial institutions can collaboratively train fraud detection models on transaction data from multiple sources using (ε, δ)-DP in a federated setting. The δ allowance permits the use of more efficient mechanisms, making it feasible to train complex models like gradient-boosted trees or neural networks with formal guarantees. This ensures that patterns indicative of fraud are learned without leaking information about any individual customer's specific transactions. Client-level DP protects the entire data contribution of a single bank or user.

(ε, δ)-DIFFERENTIAL PRIVACY

Frequently Asked Questions

This FAQ addresses common technical questions about (ε, δ)-differential privacy, a relaxed privacy definition that enables more practical noise-addition mechanisms for federated learning and other sensitive data applications.

(ε, δ)-differential privacy is a relaxation of pure ε-differential privacy that allows a small, quantifiable probability δ of the strict privacy guarantee being violated. It is formally defined as: for any two adjacent datasets D and D' differing by one record, and for any output set S, a randomized mechanism M satisfies (ε, δ)-DP if Pr[M(D) ∈ S] ≤ e^ε * Pr[M(D') ∈ S] + δ. The key difference from pure DP (where δ=0) is the additive term δ, which represents the probability of a catastrophic privacy failure. This relaxation is crucial because it enables the use of the Gaussian mechanism, which adds noise scaled to the L2 sensitivity of a function, a more natural and analytically tractable noise distribution for many machine learning operations like gradient descent than the Laplace noise required for pure DP.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.