Quant Memo
Advanced

Bernstein's Inequality

A concentration bound that says a sum of bounded, independent random variables is unlikely to stray far from its expected value, with the bound tightening once you account for how much variance the variables actually have.

If you flip a fair coin a thousand times, common sense says the number of heads should land close to 500 — Bernstein's inequality is one of the tools that makes "close to" mathematically precise, and does a better job of it than a cruder bound like Chebyshev's inequality when the individual variables are well-behaved (bounded and not too spread out).

For independent, mean-zero random variables X1,,XnX_1, \dots, X_n, each bounded by XiM|X_i| \le M, and with total variance σ2=iVar(Xi)\sigma^2 = \sum_i \mathrm{Var}(X_i), Bernstein's inequality bounds the chance the sum strays past a threshold tt:

P(i=1nXi>t)exp(t2/2σ2+Mt/3).P\left(\sum_{i=1}^n X_i > t\right) \le \exp\left(-\frac{t^2/2}{\sigma^2 + Mt/3}\right).

In plain English: for small deviations tt relative to σ2\sigma^2, the bound behaves like a Gaussian tail (decaying as et2e^{-t^2}), but as tt grows large the Mt/3Mt/3 term takes over and the decay softens to ete^{-t} — a compromise between the fast Gaussian-like decay you'd hope for and the slower decay that a single large, bounded term can actually produce.

For 1,000 independent $1-or-$0 bets with a 50% edge each (σ2=250\sigma^2 = 250, M=1M=1), the inequality bounds the probability the total sum exceeds its mean by more than 100: plugging in t=100t=100 gives an exponent of roughly 10000/2/(250+33)35.3-10000/2 / (250 + 33) \approx -35.3, an astronomically small probability — confirming that large deviations from a well-diversified sum of small, bounded bets are genuinely rare.

Bernstein's inequality bounds how far a sum of bounded, independent random variables can stray from its mean, using both the total variance and the largest possible single term — giving a tighter, more realistic tail bound than variance-only inequalities whenever the variables are known to be bounded.

Practice in interviews

Further reading

  • Boucheron, Lugosi, Massart, Concentration Inequalities, ch. 2
ShareTwitterLinkedIn