# Azuma's inequality

(Redirected from Azuma–Hoeffding inequality)

In probability theory, the Azuma–Hoeffding inequality (named after Kazuoki Azuma and Wassily Hoeffding) gives a concentration result for the values of martingales that have bounded differences.

Suppose { Xk : k = 0, 1, 2, 3, ... } is a martingale (or super-martingale) and

${\displaystyle |X_{k}-X_{k-1}|

almost surely. Then for all positive integers N and all positive reals t,

${\displaystyle P(X_{N}-X_{0}\geq t)\leq \exp \left({-t^{2} \over 2\sum _{k=1}^{N}c_{k}^{2}}\right).}$

And symmetrically (when Xk is a sub-martingale):

${\displaystyle P(X_{N}-X_{0}\leq -t)\leq \exp \left({-t^{2} \over 2\sum _{k=1}^{N}c_{k}^{2}}\right).}$

If X is a martingale, using both inequalities above and applying the union bound allows one to obtain a two-sided bound:

${\displaystyle P(|X_{N}-X_{0}|\geq t)\leq 2\exp \left({-t^{2} \over 2\sum _{k=1}^{N}c_{k}^{2}}\right).}$

Azuma's inequality applied to the Doob martingale gives McDiarmid's inequality which is common in the analysis of randomized algorithms.

## Simple example of Azuma's inequality for coin flips

Let Fi be a sequence of independent and identically distributed random coin flips (i.e., let Fi be equally likely to be −1 or 1 independent of the other values of Fi). Defining ${\displaystyle X_{i}=\sum _{j=1}^{i}F_{j}}$ yields a martingale with |Xk − Xk−1| ≤ 1, allowing us to apply Azuma's inequality. Specifically, we get

${\displaystyle \Pr[X_{n}>t]\leq \exp \left({\frac {-t^{2}}{2n}}\right).}$

For example, if we set t proportional to n, then this tells us that although the maximum possible value of Xn scales linearly with n, the probability that the sum scales linearly with n decreases exponentially fast with n.

If we set ${\displaystyle t={\sqrt {2n\ln n}}}$ we get:

${\displaystyle \Pr[X_{n}>{\sqrt {2n\ln n}}]\leq 1/n,}$

which means that the probability of deviating more than ${\displaystyle {\sqrt {2n\ln n}}}$ approaches 0 as n goes to infinity.

## Remark

A similar inequality was proved under weaker assumptions by Sergei Bernstein in 1937.

Hoeffding proved this result for independent variables rather than martingale differences, and also observed that slight modifications of his argument establish the result for martingale differences (see page 18 of his 1963 paper).