A concentration inequality bounds the probability that a random variable differs substantially from a typical value such as its expected value or median.
Equip the symmetric group with its uniform probability measure and unnormalized Hamming distance. If has Lipschitz constant , it obeys the displayed two-sided bound, and each one-sided tail has the same exponential without the factor two. Reveal a uniform permutation one image at a time. Two possible next images have completion sets paired by swapping those two values, changing exactly two coordinates. Thus the corresponding conditional means differ by at most . Each increment of the Doob exposure martingale has conditional range length at most . Applying the conditional Hoeffding lemma gives ; optimizing the exponential Markov bound proves the bound. A mere absolute-increment bound of gives a weaker constant, so using the range length matters.
For an event in a product of finitely many probability spaces with its product measure, take the closed convex hull of the mismatch vectors , . The distance of this hull from zero is . Equivalently it is the supremum, over nonnegative coordinate weights of squared sum at most one, of their minimum mismatch sum. Averaging mismatch patterns is the feature that distinguishes this quantity from ordinary Hamming distance.
On a finite product of standard probability spaces, for any measurable event of positive probability,Consequently . Here is the Talagrand convex distance. The distance-event conclusion can be read with outer probability when necessary.
Let the largest last-coordinate section have probability , and another section probability . Mix mismatch vectors from these two sections with weights . Their squared norm is at most . Hölder's inequality and induction bound that section's exponential integral by . The scalar estimate for Talagrand product induction makes it at most . Average over sections and use with to close the induction.
For ,where the endpoint is used directly if . Put . For , choose and set . Then and , proving the bound. For , take ; the result follows from the already proved boundary case and monotonicity of . This estimate closes the section-by-section induction for the exponential Talagrand convex distance moment.
For a nonnegative integrable random variable on a probability space with probability measure , its entropy functional isusing and allowing the value . If , define the probability measure by . Substitution into the definition of relative entropy givesThus the normalization factor is essential. Jensen inequality shows that the entropy functional is nonnegative; it vanishes precisely when is constant almost surely. If , nonnegativity forces almost surely and the entropy functional is zero.
For an event of probability , take . Then and . This example connects the entropy functional to the information cost of conditioning on a rare event.
A probability measure with a Dirichlet form satisfies a logarithmic Sobolev inequality with constant iffor every in the domain of the Dirichlet form. The entropy functional measures how far is from a constant, while the Dirichlet form measures its spatial variation. For a symmetric Markov semigroup with generator , the convention is when this expression is defined.
For standard Gaussian measure, and Gaussian integration by parts gives . The Gaussian logarithmic Sobolev inequality has optimal constant two in this convention. Rescaling the Dirichlet form rescales the constant inversely, so a numerical constant needs its energy convention. The logarithmic Sobolev inequality implies hypercontractivity and also supports concentration inequalities through the Herbst argument.[ref]
// Target: analysis.bigb
Differentiate with and a changing exponent. The derivative is . Apply the logarithmic Sobolev inequality to and the power inequality for symmetric Markov energies. Choosing makes the upper bound zero.
// Target: probability-and-statistics.bigb
The Hoeffding inequality turns finite interval bounds and independence into exponentially small tail probabilities for a sum. It requires neither a normal distribution nor identical probability distributions. Let be independent essentially bounded real random variables, with deterministic finite bounds almost surely. Define the centered sum and its squared-width budget byFor and ,The union bound therefore gives . If , every is constant almost surely, so and both positive-threshold tail probabilities vanish. The equal-width version is stated in the authored Stanford notes.[ref]
The quantity is a sum of squared interval widths, not the variance of . Centering changes the endpoints to and , leaving each width unchanged. For example, independent random variables in and have , whatever their expected values or probability distributions. A deviation at least three above their total expected value has probability at most . If all widths equal , the sample mean satisfies
Independence is essential to this general guarantee. Take one Bernoulli random variable with success probability and set every . Each lies in , but for every the sample mean is either zero or one. Thus , whereas incorrectly inserting these dependent observations into the formula would give , less than one for . Some special dependent models have their own valid concentration inequalities; arbitrary statistical dependence cannot be ignored.
For the short proof, apply Markov's inequality to with , factor the expectation using independence, and apply the Hoeffding lemma to each factor:Minimizing this quadratic polynomial at gives the upper tail probability; applying it to gives the lower one. This is the Chernoff bound method. The original 1963 article is Probability Inequalities for Sums of Bounded Random Variables by Wassily Hoeffding; its publisher record identifies the article, but its full text was unavailable during this source check. The argument above is a direct derivation rather than a claim to have inspected that article's proof.
Let be even and let be independent Bernoulli variables with parameter , arranged on a circle. The probability that some consecutive half-circle has is at most . For a fixed , the variable has the binomial distribution , and the signed imbalance is . Apply Hoeffding inequality to this single binomial variable, then take a union bound over the at most intervals. Consequently suffices for uniform balance with probability tending to one whenever .
Let be independent and identically distributed Bernoulli random variables with success probability , and let be their observed frequency, a sample mean. Since every interval width is one, . Substituting into the Hoeffding inequality givesFor tolerance and failure probability , solving yields the sufficient sample sizeHere is the natural logarithm. For and , guarantees an error smaller than with probability at least , for every . The two-sided bound at this sample size is approximately . A specified single direction instead needs , or for these choices. Halving the tolerance multiplies the unrounded sufficient sample size by four; reducing the failure probability tenfold adds before rounding.
This is a conservative sufficient sample size, not a necessary minimum. For a specified , the count has a binomial distribution, whose exact upper tail probability isFor , the Hoeffding inequality bounds this by . An arbitrary frequency threshold uses ; if , the event is impossible. The discreteness of the count and its variance can make the exact tail probability substantially smaller. At , , , the exact upper tail probability is about , while the bound is . At , , the same deviation gives the same bound but an exact upper tail probability about .
Exact binomial distribution tails compared with the Hoeffding inequality
. Two original specified models, each with independent Bernoulli trials. Each dot includes its integer threshold , with horizontal coordinate . Exact finite sums are evaluated with rational arithmetic before conversion for plotting. The Hoeffding inequality uses the width one in both panels; it does not use the smaller variance at . These are model probabilities, not measured frequencies. Details.For a fixed positive sample size of independent and identically distributed Bernoulli random variables, letThe Hoeffding inequality makes a conservative confidence interval for : for every . Indeed, exclusion from the closed interval implies , an event contained in the deviation event bounded by . Clipping to retains coverage because already lies there. For , , and an observed frequency , , giving approximately .
Coverage concerns repeated independent samples: the unknown is fixed and the confidence interval is random. This fixed- guarantee does not justify repeatedly checking the same bound and stopping as soon as it looks favorable. The Hoeffding sample size for Bernoulli frequencies chooses in advance; guarantees across repeated inspection times require separate control of the additional events, for example through a union bound with an allocated failure probability at each time.
The Hoeffding lemma controls the entire centered moment-generating function using only an interval width. For an essentially bounded real random variable with finite deterministic bounds almost surely, every real satisfiesEquivalently, . This single-random variable statement needs no independence assumption; independence enters when applying it to the factors for a sum in the Hoeffding inequality. Both signs of are allowed, and equality holds at or when .[ref]
In the convention for a centered sub-Gaussian random variable , the Hoeffding lemma supplies . This upper parameter need not equal the actual variance. For a Bernoulli random variable of success probability ,The actual variance is , whereas the supplied parameter is for every . This explains part of the conservatism visible in Hoeffding sample size for Bernoulli frequencies.
A short proof exposes why the constant is . Put and define exponential tilting byThe tilted probability measure has the same interval of possible values, and differentiating the cumulant-generating function gives . Boundedness justifies these derivatives for every finite . Under any such tilted law, Popoviciu's inequality on variances gives : the variance is no larger than the expected value of the squared distance from the interval midpoint, itself at most . Since , the integral form of Taylor's theorem yieldsThis expression handles either sign of without changing the argument.
The constant cannot be reduced uniformly over all essentially bounded real random variables. Equal endpoint probabilities at and give , a scaled Rademacher random variable, andThus the sharpness is already forced near zero by the variance; the bound need not be equality at nonzero parameters for a particular probability distribution.
Let be independent random variables with zero expected value, almost surely for , and for . For , the Bennett inequality statesOnly an upper bound on each is needed for this upper tail. Apply the same result to for a lower tail when the corresponding lower bounds are available.
To see the exponent, for the pointwise boundfollows because is increasing in . Taking expected values, using , and multiplying by independence bounds the moment-generating function of the sum by . The Chernoff bound is optimized at , giving the result. The Bennett rate function is approximately quadratic for small deviations, with a stronger large-deviation shape than its quadratic approximation. If the total variance is zero, all centered variables vanish almost surely and the positive tail is zero.
For a binomial distribution with and , the Bennett inequality at standard deviations tends to , whereas the Hoeffding inequality tends to two. The raw Bennett inequality bound is eventually smaller for any fixed ; after clipping at one it is nontrivial in the limit only when .
The Bennett rate function has Taylor expansion near zero. It is the optimized exponent in the Chernoff bound based on the moment-generating function estimate for the Bennett inequality.
If each probability measure has Poincaré constant , then the product measure has Poincaré constant at most . This follows by iterating the law of total variance and applying Jensen inequality to derivatives of conditional expectations.
If has Poincaré constant and is -Lipschitz, then the pushforward measure has Poincaré constant at most . Apply the original inequality to and use the chain rule.
For the uniform distribution on ,The constant is sharp and is the mean-zero Poincare-Wirtinger inequality on the interval.
For standard one-dimensional Gaussian measure, . Thus , while . Every nonzero therefore attains ratio two, proving optimality of the Gaussian constant.
For bounded smooth positive bounded away from zero, differentiation and Gaussian integration by parts give the displayed identity. The Ornstein-Uhlenbeck gradient commutation identity and weighted Cauchy-Schwarz inequality bound its right side by . Integrating and setting proves the Gaussian logarithmic Sobolev inequality. Positive clipped approximation extends it to functions of finite Gaussian Dirichlet energy.
For every , Markov inequality applied to givesOptimizing over gives the Chernoff bound in terms of the moment-generating function of .
For a matrix of independent standard normal entries and , diagonal entries of have two-sided tails bounded by , while off-diagonal entries have tails bounded by . A union bound over diagonal entries and distinct off-diagonal entries controls their common entrywise maximum norm.
If are independent random variables and has bounded differences constants , thenand the same bound holds for the lower tail.
Give a graph on labelled vertices independent edge weights in , and let be the maximum total weight of a matching. Put each edge into the block of its lower-numbered endpoint. There are at most independent blocks. Every matching uses at most one edge from any block, since the block's edges share that endpoint. Changing a whole block therefore changes the weight of each fixed matching by at most one. Comparing the old and new maximizing matchings shows the same bound for .
The Doob exposure martingale for these blocks has increments bounded by one, so Azuma's inequality givesThe important feature is grouping independent edge coordinates into vertex-centred blocks. Exposing all edges separately would give a weaker denominator of order on a dense graph. Identical distributions are unnecessary; independence and the common range bound suffice.
For a nonempty of relative size at least , its Hamming distance function has the bounded differences property with all constants one. If , the concentration bound at gives , so for . Then , proving that the radius- neighbourhood contains at least cube points.
A useful precise version of Talagrand's one-sided bounded differences inequality assumes that independent random variables enter a measurable function for which there are nonnegative coordinate weights satisfying the global comparisonPut and . When and is integrable,The global comparison is stronger than bounding separate coordinate changes at one input. This distinction matters for a lower tail.[ref]
For a differentiable convex function on , the supporting-gradient inequality verifies the comparison with . Thus controls the lower tail. Applying the theorem to the negative of a concave function gives its upper tail. For example, has , giving as a valid, though conservative, lower-tail bound.
An integer-valued function is -certifiable when every input with has a set of at most coordinates whose values alone guarantee that .
The entropy method for certifiable functions turns short certificates into bounds on coordinate sensitivity. Suppose a nonnegative integer-valued certifiable function changes by at most when one coordinate changes and has certificates of size at most at value . Define the coordinate-deleted functionsassuming these functions are measurable. At an input of value , changing a coordinate outside a chosen certificate cannot reduce the value below . Hence outside that certificate, while on it. ConsequentlyFor independent random variables, the Efron–Stein inequality already gives . When and , the stronger bound makes a self-bounding function. Tensorization of entropy and a modified logarithmic Sobolev inequality control exponential rather than quadratic variation, producing concentration inequalities. The certificate size alone needs this coordinate-change bound; an arbitrarily large change in one coordinate is not controlled by a short certificate.
A nonnegative function of independent coordinates is self-bounding when there are coordinate-deleted versions such that andThese inequalities make the natural variance proxy no larger than the function itself.
A nonnegative function is weakly self-bounding when coordinate-deleted functions satisfy andThe squared coordinate sensitivity is then controlled by the observed value of the function itself.
For a weakly self-bounding function of independent random variables, the coordinatewise variance inequality giveswhere .
For a nonnegative weakly self-bounding function of independent random variables, a Gaussian lower-tail conclusion requires a further coordinate-increment hypothesis in the standard theorem. Suppose and the measurable coordinate-deleted functions satisfyThenThis is the weakly self-bounding lower-tail theorem with . The bound on each increment is a separate hypothesis and must not be dropped when invoking that theorem.[ref]
On concentration of self-bounding functions by Stéphane Boucheron and others. Theorem 1, third conclusion, printed p. 1887
For example, for with independent Bernoulli distribution variables, deleting coordinate changes by . Both displayed hypotheses hold since . With , a downward deviation of has probability at most . If , nonnegativity gives almost surely; if , the lower-tail event is empty.
For a nonnegative function of independent random variables, entropy is at most the sum of its conditional coordinate entropies. This tensorization is a basic step of the entropy method.
The Efron–Stein inequality bounds the variance of a complicated output by the effect of replacing one input at a time. Let be mutually independent random variables, not necessarily identically distributed, and for a measurable function , with . Take with having the same probability distribution as , all inputs mutually independent. DefineUse the same function , keeping every other input fixed. ThenThe expected value averages over both the original inputs and their replacements. An infinite right side gives a trivial bound; under the stated square-integrable condition every term is finite.[ref]
Lecture 7a: Efron Stein inequality by Purnamrita Sarkar. Lecture 7a: Efron Stein inequality, slides 1–2 and 7, PDF pp. 2–3 and 8: independent inputs, conditional-variance bound and independent-copy form
For a concrete four-state example, take independent Bernoulli random variables with and , and set . This output records whether either input is one. The states have respective probabilities , soReplacing changes only when and . A fresh Bernoulli draw can repeat the old value: the replacement is not a forced flip. By independence, the expected value of the squared change isSimilarly,Thus Efron–Stein inequality gives . The larger second contribution reflects both its replacement probability and how often the other input leaves the output sensitive to it.
Four weighted states explain the Efron–Stein inequality resampling contributions
. Original constructed model: independent Bernoulli random variables with parameters and , and . Each node shows its joint probability. Directed arrow labels are joint probabilities of the original state and replacement value, rather than conditional transition probabilities. Only solid edges change ; same-state replacements and the dashed edges contribute zero. Both directions count before the factor . Details.For the same inputs, consider instead . The variance of a sum of independent random variables givesHere and , so the Efron–Stein inequality is exact: . More generally, for with square-integrable summands, each contribution equals and these variances add exactly.
Independence is essential. Let for a single Bernoulli random variable with parameter , and take . Its variance is one. If each coordinate is nevertheless replaced by an independent draw from its marginal Bernoulli distribution, each squared-change expected value is , giving the false proposed upper bound . Replacement now creates off-diagonal states and that the original input never visits. The original coordinates fail the hypothesis of Efron–Stein inequality.
The Efron–Stein inequality can be loose, exact, or inapplicable when independence fails
. Exact enumeration in three constructed models: the four-state maximum has variance and bound ; the weighted sum on the same independent inputs has variance and bound ; the dependent model has variance one but marginal replacement produces , which is not a valid bound. Stacked contributions are half the squared-change expected values. The third panel deliberately violates the theorem's assumption. Details.The attraction is local calculation: a function may involve many inputs, yet changing one can have a simple effect. Each half squared-change expected value supplies a coordinate's contribution to an upper budget for the total variance. Applying Chebyshev's inequality then bounds a tail probability using that budget. These contributions need not partition the actual variance, as the maximum example shows.
The name commemorates Bradley Efron and Charles M. Stein. Their 1981 paper The Jackknife Estimate of Variance appeared in The Annals of Statistics, volume 9, issue 3, pp. 586–596.[ref]
Bradley Efron's Profile, Stanford University. Publications: The Jackknife Estimate of Variance, Efron and Stein, 1981, 9(3), 586–596
Write for all inputs except . Under the Efron–Stein inequality hypotheses, variance tensorization is the equivalent conditional variance formConditioning freezes the other inputs. Then are independent with the same conditional probability distribution, givingTaking expected values explains the factor .[ref]
Lecture 7a: Efron Stein inequality by Purnamrita Sarkar. Lecture 7a: Efron Stein inequality, slides 2 and 7, PDF pp. 3 and 8: conditional variances and the independent-copy identity
For Bernoulli input with parameter , let be the value of with coordinate set to one minus its value with that coordinate set to zero, keeping fixed. The two-point conditional variance isFor the maximum example, and . The two averaged conditional variances are and , precisely half the respective resampling terms. In the dependent example , each other coordinate already determines , so both conditional variances vanish; variance tensorization also fails without independence.
For a short induction proof, separate the last input using the law of total variance. Apply the smaller-dimensional statement to the conditional expectation; Jensen's inequality for the square bounds its coordinate contributions by the original ones. One input gives equality, starting the induction.[ref]
Lecture 7a: Efron Stein inequality by Purnamrita Sarkar. Lecture 7a: Efron Stein inequality, slides 3–6, PDF pp. 4–7: variance decomposition and conditional Jensen step; the induction outline here reorganizes those ingredients
A modified logarithmic Sobolev inequality controls an entropy functional by an energy adapted to exponentials. For independent random variables , let be any measurable coordinate-deleted functions, and put . Where the displayed expected values are finite, tensorization of entropy givesIndeed, the one-coordinate entropy functional obeys for every positive comparison value independent of that coordinate. Taking and produces the displayed integrand, and then tensorization of entropy sums it.
If the sum of terms is bounded by pointwise, the result becomes . The Herbst argument integrates this to a moment-generating function bound. The energy bound must retain its dependence on ; a bare statement that an unspecified energy is at most does not determine the normalization.
The Herbst argument converts an exponential entropy functional bound into a concentration inequality. Let be a random variable whose moment-generating function is finite in a neighborhood of zero, and write . Suppose for thatDividing by gives . Since and at zero, integration yieldsThe Chernoff bound gives whenever the optimizing value lies below . A modified logarithmic Sobolev inequality is one way to supply the initial hypothesis. Applying the same calculation to controls the lower tail; an upper-tail hypothesis alone does not imply it.
A transport-entropy inequality compares the cost of moving one probability measure to another with their relative entropy. For a nonnegative transport cost function and reference probability measure , definewhere consists of couplings with those marginals. One common convention is for every probability measure ; the orientation of the relative entropy matters.
For a metric , with the measures having finite first moments, the convention is Wasserstein distance , while replaces by the second Wasserstein distance . The first convention bounds fluctuations of all 1-Lipschitz functions: . The choice of a squared distance or an unsquared transport cost function is part of the statement, rather than a universal normalization.[ref]
A precise sum-cost form of tensorization of a transport-entropy inequality is as follows. Let be probability measures on Polish spaces and nonnegative continuous transport cost functions. Suppose for every probability measure thatThen for the product measure and sum cost ,To understand the mechanism first for finite spaces, reveal the coordinates under in order. Given the previous coordinates , couple the conditional law to . Choosing these couplings successively preserves the product measure as the second marginal. The total expected cost is at most , which equals by the chain rule for relative entropy. Approximate optimal couplings give the infimum. This statement spells out the cost and constant; it does not identify every different distance-based normalization with the same formula.[ref]
A centered random variable is sub-Gamma in the right tail with variance parameter and scale parameter whenfor .
Suppose independent centered sub-exponential random variables satisfy for , and put . independence adds the log moment-generating functions. The Chernoff bound with gives the displayed two-sided tail. If each variable has common scale , one may take and , giving . This form of Bernstein's inequality allows unbounded variables with factorial moment control, including the centered square of a sub-Gaussian random variable.
For independent centered variables and , the th moment of their sum is bounded, up to a constant depending only on , by the sum of their th moments plus the power of their total variance.
Talagrand's concentration inequality gives strong concentration in product spaces using convex distance. If has positive product probability, its convex-distance enlargement has Gaussian tails. A Talagrand concentration inequality for certifiable functions follows by bounding this distance using bounded differences and small certificates.
For a nonnegative integer-valued certifiable function of independent random variables, suppose changing one coordinate changes by at most and a value has a certificate involving at most coordinates, with . Then for ,For a high-value input , every low-value input must disagree with its certificate on at least coordinates: replacing its certificate positions by those of would change the low value by less than but force a value at least . Uniform weights on certificate positions therefore give Talagrand convex distance at least from the low-value event. Apply Talagrand's convex distance inequality to that event.
The bound is useful when one of the two events has known nonnegligible probability, for example at a median. A certificate alone supplies no coordinate-change constant ; both hypotheses are used in the proof. The two-threshold concentration for certifiable functions article develops the resulting mean-median comparison.
Suppose an integer-valued certifiable function is -Lipschitz under one-coordinate changes and a value at least has a certificate of at most coordinates. Any input with value at most must differ on at least certificate positions. Equal weights on those positions bound its Talagrand convex distance from the low-value event. Applying Talagrand's convex distance inequality gives the displayed product bound. For , median tails integrate to , and deviations of order have exponentially small probability.
For the longest increasing subsequence length on a product space of independent coordinates, a witness of length uses only coordinates. Any point with subsequence length at most must differ on at least witness positions. Weights on those positions show . Thus for ,At a median , this gives upper tail and lower tail . Integrating the tails places the mean within of the median, so the natural concentration scale near the mean is . A random permutation is represented by the ranks of independent continuous variables; arbitrary dependent sequences need not obey this conclusion.
Articles by others on the same topic
Concentration inequalities are mathematical inequalities that provide bounds on how a random variable deviates from a certain value (typically its mean). These inequalities are essential in probability theory and statistics, particularly in the fields of machine learning, information theory, and statistical learning, because they help analyze the behavior of sums of random variables, as well as the performance of estimators and algorithms. There are several well-known concentration inequalities, each suitable for different types of random variables and different settings.



