Doob martingale
Doob martingale: a simple, step-by-step idea
What it is
A Doob martingale is a mathematical tool that turns a random outcome into a sequence of best guesses as more information becomes available. If you start with a random variable Y that depends on some underlying inputs, the Doob martingale gives you the evolving “best estimate” of Y given what you have learned up to each moment. It’s named after Joseph L. Doob and is built from the idea of taking conditional expectations.
How it’s built (a simple setup)
- Imagine independent inputs X1, X2, ..., Xn.
- Let Y be a function of all inputs: Y = f(X1, X2, ..., Xn).
- Build a filtration (information flow): F0 is the trivial information, and Ft is the information generated by the first t inputs, i.e., Ft = sigma(X1, X2, ..., Xt).
- Define the Doob martingale as Zt = E[Y | Ft], the expected value of Y given what you know up to time t.
Key properties
- Start and end: Z0 = E[Y], and Zn = Y (the last step reveals all inputs, so the expectation becomes the actual value).
- Martingale property: For each t, E[Zt+1 | Ft] = Zt. In other words, once you know Ft, the best next-step prediction is just the current prediction.
- Integrability: If E[|Y|] is finite, then E[|Zt|] is finite for all t.
- Intuition: Zt tracks the evolving best guess of Y as you learn more about the inputs X1 through Xt.
Why it matters: concentration and inequalities
The Doob martingale helps prove concentration results, which say that a function of many independent inputs doesn’t wander too far from its average behavior. A famous example is McDiarmid’s inequality.
McDiarmid’s inequality (short version)
- Suppose X1, X2, ..., Xn are independent, and f is a real-valued function with bounded differences: changing the i-th input can change f by at most ci (for all i).
- Let Y = f(X1, X2, ..., Xn) and ε > 0.
- Then the probability that Y deviates from its mean by at least ε is bounded by:
P(|Y − E[Y]| ≥ ε) ≤ 2 exp(−2 ε^2 / (c1^2 + c2^2 + ... + cn^2)).
How the Doob martingale helps
- You form the Doob martingale Zt = E[Y | Ft].
- The increments Zt − Zt−1 can be controlled using the bounded differences ci.
- Azuma/Hoeffding-type arguments applied to this martingale yield the exponential concentration bound above.
Intuition in one paragraph
Think of Y as a final result determined by many inputs. As you reveal inputs one by one, your best guess of Y updates to Zt. If each input can only change the final answer by a limited amount (the bounded differences), then the Doob martingale framework shows that the final outcome is tightly concentrated around its average. This is why Doob martingales are a foundational tool for proving concentration inequalities like McDiarmid’s bound.
In short
- Doob’s construction turns a variable Y into a sequence Zt = E[Y | Ft], a martingale that tracks the best prediction of Y as information grows.
- It underpins important results in probability, including McDiarmid’s inequality, by linking incremental information to controlled deviations of a function of independent inputs.
This page was last edited on 29 January 2026, at 01:11 (CET).