ArticleslgStudy

science

Chernoff bound

Chernoff bound 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 Chernoff bound rather than just read about it. In short: In probability theory, a Chernoff bound is an exponentially decreasing upper bound on the tail of a random variable based on its moment generating function. The minimum of all such exponential bounds forms the Chernoff or Chernoff-Cramér bound, which may decay faster than exponential (e.g. sub-Gaussian).

Chernoff bound — main illustration
Chernoff bound — illustration

Key takeaways

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

Reference excerpt

In probability theory, a Chernoff bound is an exponentially decreasing upper bound on the tail of a random variable based on its moment generating function. The minimum of all such exponential bounds forms the Chernoff or Chernoff-Cramér bound, which may decay faster than exponential (e.g. sub-Gaussian). It is especially useful for sums of independent random variables, such as sums of Bernoulli random variables. The bound is commonly named after Herman Chernoff who described the method in a 1952 paper, though Chernoff himself attributed it to Herman Rubin. In 1938 Harald Cramér had published an almost identical concept now known as Cramér's theorem. It is a sharper bound than the first- or second-moment-based tail bounds such as Markov's inequality or Chebyshev's inequality, which only yield power-law bounds on tail decay. However, when applied to sums the Chernoff bound requires the random variables to be independent, a condition that is not required by either Markov's inequality or Chebyshev's inequality. The Chernoff bound is related to the Bernstein inequalities. It is also used to prove Hoeffding's inequality, Bennett's inequality, and McDiarmid's inequality.

Generic Chernoff bounds

The generic Chernoff bound for a random variable X is attained by applying Markov's inequality to etX (which is why it is sometimes called the exponential Markov or exponential moments bound). For positive t this gives a bound on the right tail of X in terms of its moment-generating function M(t)=E⁡(etX):

P⁡(X≥a)=P⁡(etX≥eta)≤M(t)e−ta(t>0) Since this bound holds for every positive t, we may take the infimum:

P⁡(X≥a)≤inft>0M(t)e−ta Performing the same analysis with negative t we get a similar bound on the left tail:

P⁡(X≤a)=P⁡(etX≥eta)≤M(t)e−ta(t<0) and

P⁡(X≤a)≤inft<0M(t)e−ta The quantity M(t)e−ta can be expressed as the expected value E⁡(etX)e−ta, or equivalently E⁡(et(X−a)).

Properties The exponential function is convex, so by Jensen's inequality E⁡(etX)≥etE⁡(X). It follows that the bound on the right tail is greater or equal to one when a≤E⁡(X), and therefore trivial; similarly, the left bound is trivial for a≥E⁡(X). We may therefore combine the two infima and define the two-sided Chernoff bound:C(a)=inftM(t)e−tawhich provides an upper bound on the folded cumulative distribution function of X (folded at the mean, not the median). The logarithm of the two-sided Chernoff bound is known as the rate function (or Cramér transform) I=−log⁡C. It is equivalent to the Legendre–Fenchel transform or convex conjugate of the cumulant generating function K=log⁡M, defined as: I(a)=suptat−K(t)The moment generating function is log-convex, so by a property of the convex conjugate, the Chernoff bound must be log-concave. The Chernoff bound attains its maximum at the mean, C(E⁡(X))=1, and is invariant under translation: CX+k(a)=CX(a−k). The Chernoff bound is exact if and only if X is a single concentrated mass (degenerate distribution). The bound is tight only at or beyond the extremes of a bounded random variable, where the infima are attained for infinite t. For unbounded random variables the bound is nowhere tight, though it is asymptotically tight up to sub-exponential factors ("exponentially tight"). Individual moments can provide tighter bounds, at the cost of greater analytical complexity. In practice, the exact Chernoff bound may be unwieldy or difficult to evaluate analytically, in which case a suitable upper bound on the moment (or cumulant) generating function may be used instead (e.g. a sub-parabolic CGF giving a sub-Gaussian Chernoff bound).

Bounds from below from the MGF Using only the moment generating function, a bound from below on the tail probabilities can be obtained by applying the Paley-Zygmund inequality to etX, yielding: P⁡(X>a)≥supt>0∧M(t)≥eta(1−etaM(t))2M(t)2M(2t)(a bound on the left tail is obtained for negative t). Unlike the Chernoff bound however, this result is not exponentially tight. Theodosopoulos constructed a tight(er) MGF-based bound from below using an exponential tilting procedure. For particular distributions (such as the binomial) bounds from below of the same exponential order as the Chernoff bound are often available.

Sums of independent random variables When X is the sum of n independent random variables X1, ..., Xn, the moment generating function of X is the product of the individual moment generating functions, giving that:

and:

Pr⁡(X≤a)≤inft<0e−ta∏iE⁡[etXi] Specific Chernoff bounds are attained by calculating the moment-generating function E⁡[e−t⋅Xi] for specific instances of the random variables Xi. When the random variables are also identically distributed (iid), the Chernoff bound for the sum reduces to a simple rescaling of the single-variable Chernoff bound. That is, the Chernoff bound for the average of n iid variables is equivalent to the nth power of the Chernoff bound on a single variable (see Cramér's theorem).

Sums of independent bounded random variables

Chernoff bounds may also be applied to general sums of independent, bounded random variables, regardless of their distribution; this is known as Hoeffding's inequality. The proof follows a similar approach to the other Chernoff bounds, but applying Hoeffding's lemma to bound the moment generating functions (see Hoeffding's inequality).

Hoeffding's inequality. Suppose X1, ..., Xn are independent random variables taking values in [a,b]. Let X denote their sum and let μ = E[X] denote the sum's expected value. Then for any t>0, Pr⁡(X≤μ−t)<e−2t2/(n(b−a)2), Pr⁡(X≥μ+t)<e−2t2/(n(b−a)2).

Sums of independent Bernoulli random variables The bounds in the following sections for Bernoulli random variables are derived by using that, for a Bernoulli random variable Xi with probability p of being equal to 1,

E⁡[et⋅Xi]=(1−p)e0+pet=1+p(et−1)≤ep(et−1). One can encounter many flavors of Chernoff bounds: the original additive form (which gives a bound on the absolute error) or the more practical multiplicative form (which bounds the error relative to the mean).

Multiplicative form (relative error) Multiplicative Chernoff bound. Suppose X1, ..., Xn are independent random variables taking values in {0, 1}. Let X denote their sum and let μ = E[X] denote the sum's expected value. Then for any δ > 0,

Pr⁡(X≥(1+δ)μ)≤(eδ(1+δ)1+δ)μ. A similar proof strategy can be used to show that for 0 < δ < 1

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Chernoff bound

Start with the simplest possible case. Write down what Chernoff bound 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 Chernoff bound 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 Chernoff bound 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 Chernoff bound

In research
Chernoff bound 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 Chernoff bound 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
Chernoff bound is common in secondary-school and first-year university syllabi. It links to neighbouring topics Probabilistic inequalities, so understanding it makes those chapters shorter.
In everyday life
Look for Chernoff bound 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 “Chernoff bound” →

How to study Chernoff bound in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Chernoff bound 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 Chernoff bound out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Chernoff bound in simple terms?

In probability theory, a Chernoff bound is an exponentially decreasing upper bound on the tail of a random variable based on its moment generating function. The minimum of all such exponential bounds forms the Chernoff or Chernoff-Cramér bound, which may decay faster than exponential (e.g. sub-Gaus…

Why does Chernoff bound 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 Chernoff bound?

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 Chernoff bound.

Tags

  • Probabilistic inequalities

Keep exploring