ArticleslgStudy

mathematics

Large deviations theory

Large deviations theory is a mathematics 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 Large deviations theory rather than just read about it. In short: In probability theory, the theory of large deviations concerns the asymptotic behaviour of remote tails of sequences of probability distributions. The large deviation theory is simply a generalization of the Einstein fluctuation theory, first proposed by Albert Einstein in 1907.

Key takeaways

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

Reference excerpt

In probability theory, the theory of large deviations concerns the asymptotic behaviour of remote tails of sequences of probability distributions. The large deviation theory is simply a generalization of the Einstein fluctuation theory, first proposed by Albert Einstein in 1907. While some basic ideas of the mathematics can be traced to Laplace, the mathematical formalization of Einstein's theory was initiated by Cramér and Lundberg. A unified formalization of large deviation theory was developed in 1966, in a paper by S. R. Srinivasa Varadhan. Large deviations theory formalizes the heuristic ideas of concentration of measures and widely generalizes the notion of convergence of probability measures. 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!

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:

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

Formal definition Given a Polish space 𝒳 let {ℙN} be a sequence of Borel probability measures on 𝒳, let {aN} be a sequence of positive real numbers such that limNaN=∞, and finally let I:𝒳→[0,∞] be a lower semicontinuous functional on 𝒳. The sequence {ℙN} is said to satisfy a large deviation principle with speed {an} and rate I if, and only if, for each Borel measurable set E⊂𝒳,

−infx∈E∘I(x)≤lim―NaN−1log⁡(ℙN(E))≤lim―NaN−1log⁡(ℙN(E))≤−infx∈E‾I(x), where E‾ and E∘ denote respectively the closure and interior of E.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Large deviations theory

Start with the simplest possible case. Write down what Large deviations theory claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, 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 Large deviations theory 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 Large deviations theory 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 Large deviations theory

In research
Large deviations theory appears in mathematics 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 Large deviations theory 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
Large deviations theory is common in secondary-school and first-year university syllabi. It links to neighbouring topics Asymptotic analysis, Asymptotic theory (statistics), Large deviations theory, so understanding it makes those chapters shorter.
In everyday life
Look for Large deviations theory 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 “Large deviations theory” →

How to study Large deviations theory in 20 minutes

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

Frequently asked questions

What is Large deviations theory in simple terms?

In probability theory, the theory of large deviations concerns the asymptotic behaviour of remote tails of sequences of probability distributions. The large deviation theory is simply a generalization of the Einstein fluctuation theory, first proposed by Albert Einstein in 1907.

Why does Large deviations theory matter?

Because it connects several mathematics 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 Large deviations theory?

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 Large deviations theory.

Tags

  • Asymptotic analysis
  • Asymptotic theory (statistics)
  • Large deviations theory

Keep exploring