Concentration inequality explained

In probability theory, concentration inequalities provide mathematical bounds on the probability of a random variable deviating from some value (typically, its expected value).

The law of large numbers of classical probability theory states that sums of independent random variables, under mild conditions, concentrate around their expectation with a high probability. Such sums are the most basic examples of random variables concentrated around their mean.

Concentration inequalities can be sorted according to how much information about the random variable is needed in order to use them.

Markov's inequality

See main article: Markov's inequality. Let

X

be a random variable that is non-negative (almost surely). Then, for every constant

a>0

,

\Pr(X\geqa)\leq

\operatorname{E
(X)}{a}.

Note the following extension to Markov's inequality: if

\Phi

is a strictly increasing and non-negative function, then

\Pr(X\geqa)=\Pr(\Phi(X)\geq\Phi(a))\leq

\operatorname{E
(\Phi(X))}{\Phi

(a)}.

Chebyshev's inequality

See main article: Chebyshev's inequality. Chebyshev's inequality requires the following information on a random variable

X

:

\operatorname{E}[X]

is finite.

\operatorname{Var}[X]=\operatorname{E}[(X-\operatorname{E}[X])2]

is finite.

Then, for every constant

a>0

,

\Pr(|X-\operatorname{E}[X]|\geqa)\leq

\operatorname{Var
[X]}{a

2},

or equivalently,

\Pr(|X-\operatorname{E}[X]|\geqa\operatorname{Std}[X])\leq

1
a2

,

where

\operatorname{Std}[X]

is the standard deviation of

X

.

Chebyshev's inequality can be seen as a special case of the generalized Markov's inequality applied to the random variable

|X-\operatorname{E}[X]|

with

\Phi(x)=x2

.

Vysochanskij–Petunin inequality

See main article: Vysochanskij–Petunin inequality. Let X be a random variable with unimodal distribution, mean μ and finite, non-zero variance σ2. Then, for any \lambda > \sqrt = 1.63299\ldots,

Pr(\left|X-\mu\right|\geqλ\sigma)\leq

4
2

.

(For a relatively elementary proof see e.g.[1]).

One-sided Vysochanskij–Petunin inequality

For a unimodal random variable

X

and

r\geq0

, the one-sided Vysochanskij-Petunin inequality[2] holds as follows:

Pr(X-E[X]\geqr)\leq \begin{cases} \dfrac{4}{9}\dfrac{\operatorname{Var}(X)}{r2+\operatorname{Var}(X)}&forr2\geq\dfrac{5}{3}\operatorname{Var}(X),\\[5pt] \dfrac{4}{3}\dfrac{\operatorname{Var}(X)}{r2+\operatorname{Var}(X)}-\dfrac{1}{3}&otherwise. \end{cases}

Paley–Zygmund inequality

See main article: Paley–Zygmund inequality. In contrast to most commonly used concentration inequalities, the Paley-Zygmund inequality provides a lower bound on the deviation probability.

Cantelli's inequality

See main article: Cantelli's inequality.

Gauss's inequality

See main article: Gauss's inequality.

Chernoff bounds

See main article: Chernoff bound. The generic Chernoff bound[3] requires the moment generating function of

X

, defined as
tX
M
X(t):=\operatorname{E}\left[e

\right].

It always exists, but may be infinite. From Markov's inequality, for every

t>0

:

\Pr(X\geqa)\leq

\operatorname{E
[e

tX]}{eta

},

and for every

t<0

:

\Pr(X\leqa)\leq

\operatorname{E
[e

tX]}{eta

}.

There are various Chernoff bounds for different distributions and different values of the parameter

t

. See [4] for a compilation of more concentration inequalities.

Mill's inequality

See main article: article and Mill's Inequality. Let

Z\simN(0,1)

. Then\operatorname (|Z| > t) \le \sqrt \frac

Bounds on sums of independent bounded variables

See main article: Hoeffding's inequality, Azuma's inequality, McDiarmid's inequality, Bennett's inequality and Bernstein inequalities (probability theory). Let

X1,X2,...,Xn

be independent random variables such that, for all i:

ai\leqXi\leqbi

almost surely.

ci:=bi-ai

\foralli:ci\leqC

Let

Sn

be their sum,

En

its expected value and

Vn

its variance:

Sn:=

n
\sum
i=1

Xi

En:=\operatorname{E}[Sn]=

n
\sum
i=1

\operatorname{E}[Xi]

Vn:=\operatorname{Var}[Sn]=

n
\sum
i=1

\operatorname{Var}[Xi]

It is often interesting to bound the difference between the sum and its expected value. Several inequalities can be used.

1. Hoeffding's inequality says that:

\Pr\left[|Sn-En|>t\right]\le2\exp\left(-

2t2
n
\sum
2
c
i
i=1

\right)\le2\exp\left(-

2t2
nC2

\right)

2. The random variable

Sn-En

is a special case of a martingale, and

S0-E0=0

. Hence, the general form of Azuma's inequality can also be used and it yields a similar bound:

\Pr\left[|Sn-En|>t\right]<2\exp\left(-

2t2
n
\sum
2
c
i
i=1

\right)<2\exp\left(-

2t2
nC2

\right)

This is a generalization of Hoeffding's since it can handle other types of martingales, as well as supermartingales and submartingales. See Fan et al. (2015).[5] Note that if the simpler form of Azuma's inequality is used, the exponent in the bound is worse by a factor of 4.

3. The sum function,

Sn=f(X1,...,Xn)

, is a special case of a function of n variables. This function changes in a bounded way: if variable i is changed, the value of f changes by at most

bi-ai<C

. Hence, McDiarmid's inequality can also be used and it yields a similar bound:

\Pr\left[|Sn-En|>t\right]<2\exp\left(-

2t2
n
\sum
2
c
i
i=1

\right)<2\exp\left(-

2t2
nC2

\right)

This is a different generalization of Hoeffding's since it can handle other functions besides the sum function, as long as they change in a bounded way.

4. Bennett's inequality offers some improvement over Hoeffding's when the variances of the summands are small compared to their almost-sure bounds C. It says that:

\Pr\left[|Sn-En|>t\right]\leq 2\exp\left[-

Vnh\left(
C2
Ct
Vn

\right)\right],

where

h(u)=(1+u)log(1+u)-u

5. The first of Bernstein's inequalities says that:

\Pr\left[|Sn-En|>t\right]<2\exp\left(-

t2/2
Vn+Ct/3

\right)

This is a generalization of Hoeffding's since it can handle random variables with not only almost-sure bound but both almost-sure bound and variance bound.

6. Chernoff bounds have a particularly simple form in the case of sum of independent variables, since

tSn
\operatorname{E}[e

]=

n
\prod
i=1
tXi
{\operatorname{E}[e

]}

.

For example,[6] suppose the variables

Xi

satisfy

Xi\geqE(Xi)-ai-M

, for

1\leqi\leqn

. Then we have lower tail inequality:

\Pr[Sn-En<]\leq\exp\left(-

λ2
2(V
n
i=1
2+Mλ/3)
a
i
n+\sum

\right)

If

Xi

satisfies

Xi\leqE(Xi)+ai+M

, we have upper tail inequality:

\Pr[Sn-En>λ]\leq\exp\left(-

λ2
2(V+
n
\sum
i=1
2+Mλ/3)
a
i
n

\right)

If

Xi

are i.i.d.,

|Xi|\leq1

and

\sigma2

is the variance of

Xi

, a typical version of Chernoff inequality is:

\Pr[|Sn|\geqk\sigma]\leq

-k2/4n
2e

for0\leqk\leq2\sigma.

7. Similar bounds can be found in: Rademacher distribution#Bounds on sums

Efron–Stein inequality

The Efron–Stein inequality (or influence inequality, or MG bound on variance) bounds the variance of a general function.

Suppose that

X1...Xn

,

X1'...Xn'

are independent with

Xi'

and

Xi

having the same distribution for all

i

.

Let

X=(X1,...,Xn),X(i)=(X1,...,Xi-1,Xi',Xi+1,...,Xn).

Then

Var(f(X))\leq

1
2
n
\sum
i=1

E[(f(X)-f(X(i)))2].

A proof may be found in e.g.,.[7]

Bretagnolle–Huber–Carol inequality

Bretagnolle–Huber–Carol Inequality bounds the difference between a vector of multinomially distributed random variables and a vector of expected values.[8] [9] A simple proof appears in [10] (Appendix Section).

If a random vector

(Z1,Z2,Z3,\ldots,Zn)

is multinomially distributed with parameters

(p1,p2,\ldots,pn)

and satisfies

Z1+Z2+...+Zn=M,

then

\Pr\left(

n
\sum
i=1

|Zi-Mpi|\geq2M\varepsilon\right) \leq2n

-2M\varepsilon2
e

.

This inequality is used to bound the total variation distance.

Mason and van Zwet inequality

The Mason and van Zwet inequality[11] for multinomial random vectors concerns a slight modification of the classical chi-square statistic.

Let the random vector

(N1,\ldots,Nk)

be multinomially distributed with parameters

n

and

(p1,\ldots,pk)

such that

pi>0

for

i<k.

Then for every

C>0

and

\delta>0

there exist constants

a,b,c>0,

such that for all

n\geq1

and

λ,p1,\ldots,pk-1

satisfying

λ>Cnmin\{pi|1\leqi\leqk-1\}

and
k-1
\sum
i=1

pi\leq1-\delta,

we have

\Pr\left(

k-1
\sum
i=1
(N
2
i)
i-np
npi

>λ\right) \leqaebk-cλ.

Dvoretzky–Kiefer–Wolfowitz inequality

See main article: Dvoretzky–Kiefer–Wolfowitz inequality.

The Dvoretzky–Kiefer–Wolfowitz inequality bounds the difference between the real and the empirical cumulative distribution function.

Given a natural number

n

, let

X1,X2,...,Xn

be real-valued independent and identically distributed random variables with cumulative distribution function F(·). Let

Fn

denote the associated empirical distribution function defined by

Fn(x)=

1n
\sum
n
i=1
1
\{Xi\leqx\
},\qquad x\in\mathbb.So

F(x)

is the probability that a single random variable

X

is smaller than

x

, and

Fn(x)

is the average number of random variables that are smaller than

x

.

Then

\Pr\left(\supx\inRl(Fn(x)-F(x)r)>\varepsilon\right)\le

-2n\varepsilon2
e

forevery\varepsilon\geq\sqrt{\tfrac1{2n}ln2}.

Anti-concentration inequalities

Anti-concentration inequalities, on the other hand, provide an upper bound on how much a random variable can concentrate, either on a specific value or range of values. A concrete example is that if you flip a fair coin

n

times, the probability that any given number of heads appears will be less than
1
\sqrt{n
}. This idea can be greatly generalized. For example, a result of Rao and Yehudayoff[12] implies that for any

\beta,\delta>0

there exists some

C>0

such that, for any

k

, the following is true for at least

2n(1

values of

x\in\{\pm1\}n

:

\Pr\left(\langlex,Y\rangle=k\right)\le

C
\sqrt{n
},where

Y

is drawn uniformly from

\{\pm1\}n

.

Such inequalities are of importance in several fields, including communication complexity (e.g., in proofs of the gap Hamming problem[13]) and graph theory.[14]

An interesting anti-concentration inequality for weighted sums of independent Rademacher random variables can be obtained using the Paley–Zygmund and the Khintchine inequalities.[15]

External links

Notes and References

  1. https://www.jstor.org/stable/pdf/2684253.pdf Pukelsheim, F., 1994. The Three Sigma Rule. The American Statistician, 48(2), pp. 88–91
  2. Mercadier . Mathieu . Strobel . Frank . 2021-11-16 . A one-sided Vysochanskii-Petunin inequality with financial applications . European Journal of Operational Research . en . 295 . 1 . 374–377 . 10.1016/j.ejor.2021.02.041 . 0377-2217.
  3. Book: Probability and Computing: Randomized Algorithms and Probabilistic Analysis . Cambridge University Press . Mitzenmacher, Michael . Upfal, Eli . 2005 . 0-521-83540-2.
  4. News: One Hundred Statistics and Probability Inequalities . Slagle, N.P. . 2012. 2102.07234 .
  5. Exponential inequalities for martingales with applications. X. . Fan. I. . Grama . Q. . Liu . Electronic Journal of Probability . Electron. J. Probab. 20. 2015. 20 . 1–22. 10.1214/EJP.v20-3496. 1311.6273.
  6. Web site: Chung. Fan. Fan Chung . Linyuan . Lu . Old and new concentration inequalities. Complex Graphs and Networks . . 2010 . August 14, 2018.
  7. Boucheron . Stphane . Lugosi . Gbor . Bousquet . Olivier . Concentration inequalities . Advanced Lectures on Machine Learning: ML Summer Schools 2003, Canberra, Australia, February 2–14, 2003, Tbingen, Germany, August 4–16, 2003, Revised Lectures . 2004 . 208–240 . Springer.
  8. Book: Bretagnolle, Jean . Lois empiriques et distance de Prokhorov . Huber-Carol, Catherine . 1978 . 978-3-540-08761-8 . Lecture Notes in Mathematics . 649 . 332–341 . 10.1007/BFb0064609.
  9. Book: van der Vaart, A.W.. Wellner, J.A.. Weak convergence and empirical processes: With applications to statistics. Springer Science & Business Media. 1996.
  10. Yuto Ushioda. Masato Tanaka. Tomomi Matsui. Monte Carlo Methods for the Shapley–Shubik Power Index. Games . 13 . 3 . 44 . 2022. 10.3390/g13030044 . free . 2101.02841 .
  11. Mason, David M.. Willem R. Van Zwet . A Refinement of the KMT Inequality for the Uniform Empirical Process . The Annals of Probability . 15 . 3 . 1987 . 871–884 . 10.1214/aop/1176992070 . free .
  12. News: Anti-concentration in most directions . Electronic Colloquium on Computational Complexity . Rao, Anup . Yehudayoff, Amir . 2018.
  13. News: The Communication Complexity of Gap Hamming Distance . . Sherstov, Alexander A. . 2012.
  14. Anticoncentration for subgraph statistics . Journal of the London Mathematical Society . 99 . 3 . 757–777 . Matthew Kwan . Benny Sudakov . Tuan Tran . 2018. 10.1112/jlms.12192 . 2018arXiv180705202K . 1807.05202 . 54065186 .
  15. 0909.2586v1. Veraar. Mark. On Khintchine inequalities with a weight. math.PR. 2009.