ArticleslgStudy

science

Azuma's inequality

Azuma's inequality is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Azuma's inequality rather than just read about it. In short: In probability theory, Azuma's inequality or 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 |Xk−Xk−1|≤ck, almost surely.

Key takeaways

  • Azuma's inequality belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Azuma's inequality to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Azuma's inequality from memory before moving on to harder problems.

Reference excerpt

In probability theory, Azuma's inequality or 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

|Xk−Xk−1|≤ck, almost surely. Then for all positive integers N and all positive reals ϵ,

P(XN−X0≥ϵ)≤exp⁡(−ϵ22∑k=1Nck2). And symmetrically (when Xk is a sub-martingale):

P(XN−X0≤−ϵ)≤exp⁡(−ϵ22∑k=1Nck2). If X is a martingale, using both inequalities above and applying the union bound allows one to obtain a two-sided bound:

P(|XN−X0|≥ϵ)≤2exp⁡(−ϵ22∑k=1Nck2).

Proof The proof shares similar idea of the proof for the general form of Azuma's inequality listed below. Actually, this can be viewed as a direct corollary of the general form of Azuma's inequality.

A general form of Azuma's inequality

Limitation of the vanilla Azuma's inequality Note that the vanilla Azuma's inequality requires symmetric bounds on martingale increments, i.e. −ct≤Xt−Xt−1≤ct. So, if a known bound is asymmetric, e.g. at≤Xt−Xt−1≤bt, to use Azuma's inequality, one needs to choose ct=max⁡(|at|,|bt|) which might be a waste of information on the boundedness of Xt−Xt−1. However, this issue can be resolved and one can obtain a tighter probability bound with the following general form of Azuma's inequality.

Statement Let {X0,X1,⋯} be a martingale (or supermartingale) with respect to filtration {ℱ0,ℱ1,⋯}. Assume there are predictable processes {A0,A1,⋯} and {B0,B1,…} with respect to {ℱ0,ℱ1,⋯}, i.e. for all t, At,Bt are ℱt−1-measurable, and constants 0<c1,c2,⋯<∞ such that

At≤Xt−Xt−1≤BtandBt−At≤ct almost surely. Then for all ϵ>0,

P(Xn−X0≥ϵ)≤exp⁡(−2ϵ2∑t=1nct2). Since a submartingale is a supermartingale with signs reversed, we have if instead {X0,X1,…} is a martingale (or submartingale),

P(Xn−X0≤−ϵ)≤exp⁡(−2ϵ2∑t=1nct2). If {X0,X1,…} is a martingale, since it is both a supermartingale and submartingale, by applying union bound to the two inequalities above, we could obtain the two-sided bound:

P(|Xn−X0|≥ϵ)≤2exp⁡(−2ϵ2∑t=1nct2).

Proof We will prove the supermartingale case only as the rest are self-evident. By Doob decomposition, we could decompose supermartingale {Xt} as Xt=Yt+Zt where {Yt,ℱt} is a martingale and {Zt,ℱt} is a nonincreasing predictable sequence (Note that if {Xt} itself is a martingale, then Zt=0). From At≤Xt−Xt−1≤Bt, we have

−(Zt−Zt−1)+At≤Yt−Yt−1≤−(Zt−Zt−1)+Bt Applying Chernoff bound to Yn−Y0, we have for ϵ>0,

P(Yn−Y0≥ϵ)≤mins>0 e−sϵ𝔼[es(Yn−Y0)]=mins>0 e−sϵ𝔼[exp⁡(s∑t=1n(Yt−Yt−1))]=mins>0 e−sϵ𝔼[exp⁡(s∑t=1n−1(Yt−Yt−1))𝔼[exp⁡(s(Yn−Yn−1))∣ℱn−1]] For the inner expectation term, since (i) 𝔼[Yt−Yt−1∣ℱt−1]=0 as {Yt} is a martingale; (ii) −(Zt−Zt−1)+At≤Yt−Yt−1≤−(Zt−Zt−1)+Bt; (iii) −(Zt−Zt−1)+At and −(Zt−Zt−1)+Bt are both ℱt−1-measurable as {Zt} is a predictable process; (iv) Bt−At≤ct; by applying Hoeffding's lemma, we have

𝔼[exp⁡(s(Yt−Yt−1))∣ℱt−1]≤exp⁡(s2(Bt−At)28)≤exp⁡(s2ct28). Repeating this step, one could get

P(Yn−Y0≥ϵ)≤mins>0 e−sϵexp⁡(s2∑t=1nct28). Note that the minimum is achieved at s=4ϵ∑t=1nct2, so we have

P(Yn−Y0≥ϵ)≤exp⁡(−2ϵ2∑t=1nct2). Finally, since Xn−X0=(Yn−Y0)+(Zn−Z0) and Zn−Z0≤0 as {Zn} is nonincreasing, so event {Xn−X0≥ϵ} implies {Yn−Y0≥ϵ}, and therefore

P(Xn−X0≥ϵ)≤P(Yn−Y0≥ϵ)≤exp⁡(−2ϵ2∑t=1nct2).◻

Remark Note that by setting At=−ct,Bt=ct, we could obtain the vanilla Azuma's inequality. Note that for either submartingale or supermartingale, only one side of Azuma's inequality holds. We can't say much about how fast a submartingale with bounded increments rises (or a supermartingale falls). This general form of 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 Xi=∑j=1iFj yields a martingale with |Xk − Xk−1| ≤ 1, allowing us to apply Azuma's inequality. Specifically, we get

P⁡(Xn>t)≤exp⁡(−t22n). 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 t=2nln⁡n we get:

P⁡(Xn>2nln⁡n)≤1n, which means that the probability of deviating more than 2nln⁡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 9 of his 1963 paper).

See also Concentration inequality - a summary of tail-bounds on random variables.

Notes

References Alon, N.; Spencer, J. (1992). The Probabilistic Method. New York: Wiley. Azuma, K. (1967). "Weighted Sums of Certain Dependent Random Variables" (PDF). Tôhoku Mathematical Journal. 19 (3): 357–367. doi:10.2748/tmj/1178243286. MR 0221571. Bernstein, Sergei N. (1937). О некоторых модификациях неравенства Чебышёва [On certain modifications of Chebyshev's inequality]. Doklady Akademii Nauk SSSR (in Russian). 17 (6): 275–277. (vol. 4, item 22 in the collected works) McDiarmid, C. (1989). "On the method of bounded differences". Surveys in Combinatorics. London Math. Soc. Lectures Notes 141. Cambridge: Cambridge Univ. Press. pp. 148–188. MR 1036755. Hoeffding, W. (1963). "Probability inequalities for sums of bounded random variables". Journal of the American Statistical Association. 58 (301): 13–30. doi:10.2307/2282952. JSTOR 2282952. MR 0144363. Godbole, A. P.; Hitczenko, P. (1998). "Beyond the method of bounded differences". Microsurveys in Discrete Probability. DIMACS Series in Discrete Mathematics and Theoretical Computer Science. Vol. 41. pp. 43–58. doi:10.1090/dimacs/041/03. ISBN 9780821808276. MR 1630408.

Worked examples

Example 1 — a first encounter with Azuma's inequality

Start with the simplest possible case. Write down what Azuma's inequality claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Azuma's inequality before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Azuma's inequality ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Azuma's inequality

In research
Azuma's inequality appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Azuma's inequality in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Azuma's inequality is common in secondary-school and first-year university syllabi. It links to neighbouring topics Martingale theory, Probabilistic inequalities, so understanding it makes those chapters shorter.
In everyday life
Look for Azuma's inequality outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Azuma's inequality” →

How to study Azuma's inequality in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Azuma's inequality means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Azuma's inequality out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Azuma's inequality in simple terms?

In probability theory, Azuma's inequality or 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 |Xk−Xk−1|≤ck, al…

Why does Azuma's inequality matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Azuma's inequality?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Azuma's inequality.

Tags

  • Martingale theory
  • Probabilistic inequalities

Keep exploring