Lably
Skip to content

Large deviations theory

  • 6 min read
  • 4 chapters

Related on Lably

Through Harald Cramér, Central limit theorem and Bernoulli trial

Roughly speaking, large deviations theory concerns itself with the exponential decline of the probability measures of certain kinds of extreme or tail events.

Introductory examples

Any large deviation is done in the least unlikely of all the unlikely ways!

— Frank den Hollander, Large Deviations, p. 10

An elementary example

Consider a sequence of independent tosses of a fair coin. The possible outcomes could be heads or tails. Let us denote the possible outcome of the i-th trial by Xi, where we encode head as 1 and tail as 0. Now let MN denote the mean value after N trials, namely

MN=1N∑i=1NXi.

Then MN lies between 0 and 1. From the law of large numbers it follows that as N grows, the distribution of MN converges to 0.5=E⁡[X] (the expected value of a single coin toss).

Moreover, by the central limit theorem, it follows that MN is approximately normally distributed for large N. The central limit theorem can provide more detailed information about the behavior of MN than the law of large numbers. For example, we can approximately find a tail probability of MN – the probability that MN is greater than some value x – for a fixed value of N. However, the approximation by the central limit theorem may not be accurate if x is far from E⁡[Xi] and N is not sufficiently large. Also, it does not provide information about the convergence of the tail probabilities as N→∞. However, the large deviation theory can provide answers for such problems.

Let us make this statement more precise. For a given value 0.5<x<1, let us compute the tail probability P(MN>x). Define

I(x)=xln⁡x+(1−x)ln⁡(1−x)+ln⁡2.

Note that the function I(x) is a convex, nonnegative function that is zero at x=12 and increases as x approaches 1. It is the negative of the Bernoulli entropy with p=12; that it's appropriate for coin tosses follows from the asymptotic equipartition property applied to a Bernoulli trial. Then by Chernoff's inequality, it can be shown that P(MN>x)<exp⁡(−NI(x)). This bound is rather sharp, in the sense that I(x) cannot be replaced with a larger number which would yield a strict inequality for all positive N. (However, the exponential bound can still be reduced by a subexponential factor on the order of 1/N; this follows from the Stirling approximation applied to the binomial coefficient appearing in the Bernoulli distribution.) Hence, we obtain the following result:

P(MN>x)≈exp⁡(−NI(x)).

The probability P(MN>x) decays exponentially as N→∞ at a rate depending on x. This formula approximates any tail probability of the sample mean of i.i.d. variables and gives its convergence as the number of samples increases.

Large deviations for sums of independent random variables

In the above example of coin-tossing we explicitly assumed that each toss is an independent trial, and the probability of getting head or tail is always the same.

Let X,X1,X2,… be independent and identically distributed (i.i.d.) random variables whose common distribution satisfies a certain growth condition. Then the following limit exists:

limN→∞1Nln⁡P(MN>x)=−I(x).

Here

MN=1N∑i=1NXi,

as before.

Function I(⋅) is called the "rate function" or "Cramér function" or sometimes the "entropy function".

The above-mentioned limit means that for large N,

P(MN>x)≈exp⁡[−NI(x)],

which is the basic result of large deviations theory.

If we know the probability distribution of X, an explicit expression for the rate function can be obtained. This is given by a Legendre–Fenchel transformation,

I(x)=supθ>0[θx−λ(θ)],

where

λ(θ)=ln⁡E⁡[exp⁡(θX)]

is called the cumulant generating function (CGF) and E denotes the mathematical expectation.

If X follows a normal distribution, the rate function becomes a parabola with its apex at the mean of the normal distribution.

If {Xi} is an irreducible and aperiodic Markov chain, the variant of the basic large deviations result stated above may hold.

Moderate deviations for sums of independent random variables

The previous example controlled the probability of the event [MN>x], that is, the concentration of the law of MN on the compact set [−x,x]. It is also possible to control the probability of the event [MN>xaN] for some sequence aN→0. The following is an example of a moderate deviations principle:

Theorem — Let X1,X2,… be a sequence of centered i.i.d variables with finite variance σ2 such that ∀λ∈R,ln⁡E[eλX1]<∞. Define MN:=1N∑n≤NXN. Then for any sequence 1≪aN≪N:

limN→+∞aN2Nln⁡P[aNMN≥x]=−x22σ2

In particular, the limit case aN=N is the central limit theorem.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Statistics