SECTION 01Azuma–Hoeffding Inequality
Formulation · Azuma–Hoeffding
Let Dₖ be determined by X₁ᵏ and satisfy E[Dₖ | X₁ᵏ⁻¹] = 0. Suppose there are constants aₖ ≤ bₖ such that Dₖ ∈ [aₖ, bₖ] almost surely. Then
Proof of Azuma–Hoeffding
The increments Dₖ need not be independent, so we cannot directly apply the earlier Hoeffding bound for independent sums. Instead, we control their sum’s MGF by conditioning on the past.
Write Sₙ = ∑ₖ₌₁ⁿ Dₖ and cₖ = bₖ − aₖ.
(1) Given X₁ᵏ⁻¹, the variable Dₖ still lies in [aₖ, bₖ] and has conditional mean zero. Apply the bounded-variable sub-Gaussian result to this conditional distribution:
(2) Condition on X₁ⁿ⁻¹. Since Sₙ₋₁ is already determined by these inputs,
Repeat this step for n − 1, n − 2, …, 1, ending with S₀ = 0:
(3) Hence Sₙ is sub-Gaussian with parameter squared σ²S = ¼ ∑ₖ₌₁ⁿ cₖ². Substituting this into the two-sided sub-Gaussian tail bound gives the stated result.
SECTION 02Bounded Differences and McDiarmid’s Inequality
We now apply Azuma–Hoeffding to the Doob increments of f(X). The goal is to control their conditional ranges through an easily checked property of f.
Definition · Bounded Differences
Given x, x′ ∈ ℝⁿ, let x\k be x with only coordinate k replaced by x′ₖ:
The function f satisfies the bounded differences property with parameters (L₁, …, Lₙ) if, for every coordinate k and all x, x′,
Formulation · McDiarmid’s Inequality
If f satisfies this property and X₁, …, Xₙ are independent, then
Proof of McDiarmid’s Inequality
Use the Doob increments
We show that, given X₁ᵏ⁻¹, Dₖ lies in an interval of length at most Lₖ. Fix the past inputs and write
Define the lower and upper endpoints
Since gₖ(Xₖ) lies between its infimum and supremum, Aₖ ≤ Dₖ ≤ Bₖ almost surely.
By independence, gₖ(x) averages only over the remaining inputs Xₖ₊₁, …, Xₙ. Write Eₖ₊₁ for this expectation. Then
Thus Bₖ − Aₖ ≤ Lₖ. Although Aₖ and Bₖ may depend on the past, once X₁ᵏ⁻¹ is given they are fixed. The same conditional-MGF argument used above therefore applies with interval width Lₖ, yielding McDiarmid’s inequality.
The following examples apply the bounded differences inequality by controlling the effect of changing one input.
Example · Recover the Independent-Sum Bound
Let X₁, …, Xₙ be independent and take values in [a, b], with μₖ = E[Xₖ]. Consider
Changing only coordinate k gives
Thus the bounded differences property holds with Lₖ = b − a for every coordinate. McDiarmid’s inequality gives
This recovers the classical Hoeffding bound for independent bounded variables.
Example · Concentration of a Supremum
Let ε₁, …, εₙ be independent Rademacher variables, each taking −1 and +1 with equal probability. Given a nonempty collection of vectors A ⊂ ℝⁿ with finite coordinate bounds supa∈A|aₖ|, define
Z measures how well vectors in A align with random signs. Its expectation R(A) = E[Z] is the Rademacher complexity of A.
View Z as f(ε₁, …, εₙ). To apply McDiarmid, bound the change when one sign is replaced. Since f(ε\k) ≥ ⟨a, ε\k⟩ for every a ∈ A,
Taking the supremum over a ∈ A gives
Exchanging the two sign vectors gives the reverse inequality. Hence the absolute difference is bounded by Lₖ = 2 supa∈A|aₖ|.
McDiarmid therefore yields
Equivalently, the conditional-MGF argument underlying McDiarmid shows that Z − E[Z] is sub-Gaussian with parameter at most