Skip to main content
KetQat

Appearance

Theorem · intermediate

Chernoff bound

The probability that an average of independent samples exceeds a level a decays exponentially in n with rate given by the Legendre transform of the cumulant generating function. For 0/1 variables the rate is the binary relative entropy D(q||p), and the bound survives correlations that suppress joint occurrences.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

1. General form. Let X1,…,XnX_1, \dots, X_n be i.i.d. copies of XX with empirical mean Xˉ\bar X, and let a≥EXa \ge \mathbb{E}X. Then

Pr⁡[Xˉ≥a]  ≤  e−nΛ∗(a),Λ∗(a)=sup⁡s≥0(sa−ln⁡E esX).\Pr[\bar X \ge a] \;\le\; e^{-n \Lambda^{*}(a)}, \qquad \Lambda^{*}(a) = \sup_{s \ge 0} \big( s a - \ln \mathbb{E}\, e^{sX} \big) .

2. Relative-entropy form for 0/1 variables. Let X1,…,Xn∈{0,1}X_1, \dots, X_n \in \{0, 1\} and 0<p≤q≤10 < p \le q \le 1, and suppose

Pr⁡[Xi=1 for all i∈T]  ≤  p∣T∣for every T⊆{1,…,n},\Pr\big[X_i = 1 \text{ for all } i \in T\big] \;\le\; p^{\abs{T}} \qquad \text{for every } T \subseteq \{1, \dots, n\},

which holds in particular if the XiX_i are independent with Pr⁡[Xi=1]≤p\Pr[X_i = 1] \le p. Then

Pr⁡[∑i=1nXi≥qn]  ≤  e−nDe(q∥p)=2−nD(q∥p),De(q∥p)=qln⁡qp+(1−q)ln⁡1−q1−p,\Pr\Big[\sum_{i=1}^{n} X_i \ge q n\Big] \;\le\; e^{-n D_e(q \Vert p)} = 2^{-n D(q \Vert p)}, \qquad D_e(q \Vert p) = q \ln\frac{q}{p} + (1 - q) \ln\frac{1 - q}{1 - p},

the relative entropy between Bernoulli distributions with parameters qq and pp in nats (DD is the same quantity in bits). Applied to 1−Xi1 - X_i the same bound controls the lower tail of independent variables, since De(1−q∥1−p)=De(q∥p)D_e(1 - q \Vert 1 - p) = D_e(q \Vert p).

Part 1 is the exponential-moment method of Chernoff; for i.i.d. variables the exponent Λ∗(a)\Lambda^{*}(a) is the best possible rate (Cramér's theorem). Part 2 for independent variables is in Hoeffding; the extension to the correlated hypothesis is due to Panconesi and Srinivasan and is stated in this form by Impagliazzo and Kabanets. The correlated version is the form needed for local stochastic noise in fault tolerance, where the probability that a given set of locations is faulty decays geometrically in its size but faults need not be independent. Its quantum counterpart for distinguishing two states is the quantum Chernoff bound.

Holds when

  • Part 1 needs i.i.d. samples whose moment generating function is finite for the s used.
  • Part 2 needs 0/1-valued variables with the stated bound on joint occurrences, which independence with means at most p implies; 0 < p <= q <= 1.
  • Natural logarithms in the exponent; the relative entropy in bits is the nats value divided by ln 2.

Proof

Proof of the Chernoff boundMachine-checked

Part 1. For s≥0s \ge 0, by Markov's inequality applied to the nonnegative variable esnXˉe^{s n \bar X} and independence,

Pr⁡[Xˉ≥a]=Pr⁡[esnXˉ≥esna]≤e−sna (E esX)n=e−n(sa−ln⁡EesX).\Pr[\bar X \ge a] = \Pr\big[e^{s n \bar X} \ge e^{s n a}\big] \le e^{-sna}\, \big(\mathbb{E}\, e^{sX}\big)^n = e^{-n (s a - \ln \mathbb{E} e^{sX})} .

This holds for every s≥0s \ge 0; take the infimum of the right-hand side.

Part 2. Fix s≥0s \ge 0. Because Xi∈{0,1}X_i \in \{0, 1\}, esXi=1+(es−1)Xie^{s X_i} = 1 + (e^s - 1) X_i. Expanding the product over ii and using ∏i∈TXi=1[Xi=1 ∀i∈T]\prod_{i \in T} X_i = \mathbf{1}[X_i = 1\ \forall i \in T],

E es∑iXi=∑T⊆{1..n}(es−1)∣T∣Pr⁡[Xi=1 ∀i∈T]≤∑T((es−1)p)∣T∣=(1−p+pes)n,\mathbb{E}\, e^{s \sum_i X_i} = \sum_{T \subseteq \{1..n\}} (e^s - 1)^{\abs{T}} \Pr\big[X_i = 1\ \forall i \in T\big] \le \sum_{T} \big( (e^s - 1) p \big)^{\abs{T}} = (1 - p + p e^s)^n ,

where the inequality uses the hypothesis and es−1≥0e^s - 1 \ge 0. Markov's inequality gives

Pr⁡[∑iXi≥qn]≤exp⁡ ⁣(−n[sq−ln⁡(1−p+pes)]).\Pr\Big[\sum_i X_i \ge q n\Big] \le \exp\!\Big( -n \big[ s q - \ln(1 - p + p e^s) \big] \Big) .

If q<1q < 1, choose es=q(1−p)p(1−q)e^s = \frac{q (1 - p)}{p (1 - q)}, which is ≥1\ge 1 because q≥pq \ge p. Then 1−p+pes=1−p1−q1 - p + p e^s = \frac{1 - p}{1 - q} and

sq−ln⁡(1−p+pes)=qln⁡q(1−p)p(1−q)−ln⁡1−p1−q=qln⁡qp+(1−q)ln⁡1−q1−p=De(q∥p).s q - \ln(1 - p + p e^s) = q \ln\frac{q (1 - p)}{p (1 - q)} - \ln\frac{1 - p}{1 - q} = q \ln\frac{q}{p} + (1 - q) \ln\frac{1 - q}{1 - p} = D_e(q \Vert p) .

If q=1q = 1 the event is {Xi=1 ∀i}\{X_i = 1\ \forall i\}, whose probability is at most pnp^n by the hypothesis with T={1,…,n}T = \{1, \dots, n\}, and pn=e−nDe(1∥p)p^n = e^{-n D_e(1 \Vert p)}. For independent XiX_i with Pr⁡[Xi=1]≤p\Pr[X_i = 1] \le p the hypothesis holds because the joint probability factors. The lower-tail identity De(1−q∥1−p)=De(q∥p)D_e(1 - q \Vert 1 - p) = D_e(q \Vert p) is immediate from the formula. This is the standard exponential-moment argument, written out in full; Impagliazzo and Kabanets give an alternative, combinatorial proof of part 2.

Part of
Mentioned in
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Herman Chernoff (1952). A Measure of Asymptotic Efficiency for Tests of a Hypothesis Based on the sum of Observations. The Annals of Mathematical Statistics 23, 493-507. doi:10.1214/aoms/1177729330
  2. Wassily Hoeffding (1963). Probability Inequalities for Sums of Bounded Random Variables. Journal of the American Statistical Association 58, 13-30. doi:10.1080/01621459.1963.10500830
  3. Alessandro Panconesi, Aravind Srinivasan (1997). Randomized Distributed Edge Coloring via an Extension of the Chernoff–Hoeffding Bounds. SIAM Journal on Computing 26, 350-368. doi:10.1137/S0097539793250767
  4. Russell Impagliazzo, Valentine Kabanets (2010). Constructive Proofs of Concentration Bounds. APPROX/RANDOM 2010, Lecture Notes in Computer Science 6302, 617-631, Springer. doi:10.1007/978-3-642-15369-3_46

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Part 1 compared with Durrett 5th ed. section 2.7, eq. (2.7.2) and the identification of the optimal rate (open PDF). Part 2 hypothesis, the range 0 < p <= q <= 1, natural-log relative entropy and the bound e^(-n D) compared with Impagliazzo and Kabanets (ECCC TR10-072 full text), Theorem 1.1 and section 2, which attributes the correlated version to Panconesi and Srinivasan (1997); the independent case as Hoeffding's Theorem 1 corroborated by Bentkus (arXiv math/0410159) eqs. (1.17)-(1.18). Symmetry D(1-q||1-p) = D(q||p) re-derived; bound checked numerically against exact binomial tails. Crossref metadata for Chernoff 1952, Hoeffding 1963, Panconesi-Srinivasan 1997 and Impagliazzo-Kabanets 2010 match the entries. Chernoff's and Hoeffding's papers themselves not readable here (publisher bot check / JSTOR).

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision 679481a6dd9d1fcd. Source file knowledge/records/theorem/chernoff-bound.md in the content repository (readable there once it is public).