Asymptotic equipartition property Created 2026-09-24 Updated 2026-10-14
The asymptotic equipartition property explains why a long message from a source can usually be described using its information entropy per symbol. Individual messages can have very different probabilities, but the messages carrying almost all the total probability have similar logarithmic costs per symbol. The Bernoulli typical-set example makes the distinction between an individual message and a large collection explicit.
For independent and identically distributed random variables on a finite alphabet, let be their probability mass function and . Then
Here means the probability mass of the realized word, evaluated under the source law. The product rule for independent random variables turns its information content into a sum:
The strong law of large numbers gives the limit. Zero-probability symbols do not occur; on the positive-probability support of a finite alphabet, these information costs are finite. The corresponding typical set consists of words whose cost per symbol is within a chosen tolerance of .
For a strictly stationary process with a finite alphabet, the constant-limit extension requires ergodicity. The Shannon-McMillan-Breiman theorem then replaces the one-symbol information entropy with the information rate. Stationarity without ergodicity in an information source shows why stationarity alone is insufficient.[ref]
The independent and identically distributed hypothesis factors the joint probability mass function:
Symbols outside the support of a probability distribution never occur, almost surely. On its finite positive probability support, is bounded, so the strong law of large numbers applies:
This is the asymptotic equipartition property with the sign appropriate to a logarithm of a probability mass.
For fixed , the asymptotic equipartition property gives . The strong law of large numbers applied to , which are bounded because their numerical alphabet is finite, gives . The union bound therefore yields
Since , eventually . Each word in has probability mass at most , so
Rearranging proves
for sufficiently large . The key is that the factor is a fixed number below one, however small is. This is an instance of typical sets with an additional high-probability constraint.
Use base-two logarithms and put , with . Zero-probability letters can be omitted. The random variables are self-information values, are IID, and have finite mean because the alphabet is finite. Independence gives
For an arbitrary , define the typical set
The weak law of large numbers implies . Every string in this set satisfies
This is the asymptotic equipartition property for the given finite IID source, here obtained directly from the weak law of large numbers.
For the upper bound, summing the lower bound on typical-string probabilities yields . For sufficiently large , its probability is at least , so it is an admissible set in the definition of . Hence
For the lower bound, let be any admissible set and write . Then
Each member of this intersection has probability at most . Therefore, for all sufficiently large ,
This applies in particular to a minimum-size admissible set, giving a liminf at least . Letting proves both existence and the value of the minimal high-probability source-set exponent:
For a deterministic source, and , consistent with the formula.
For coding, label the strings in an admissible set with distinct binary indices of length . A decoder reconstructs those strings exactly and may fail outside the set. Thus asymptotically bits per source symbol describe any fixed fraction of the probability mass. More strongly, every rate permits block codes with error tending to zero: choose , encode the typical strings individually and reserve one index for all other strings. The required number of indices is at most for large .
Conversely, a block encoder with at most outputs can reconstruct at most that many distinct input strings correctly. If , choose . Its success probability is at most
This gives the strong converse for fixed-rate source coding. It is the operational significance of the information entropy limit for reliable source encoding at a rate. The allowance of a small reconstruction error matters: a fixed-length code that must encode every possible string without error generally needs the larger rate .
Let . Since the alphabet is finite, these independent and identically distributed random variables are finite almost surely, have mean , and have finite variance . Also
The weak law of large numbers says that this average converges in probability to . Thus
One can also state the quantitative Chebyshev inequality bound . If , every word of positive probability is in the typical set. This is the finite-alphabet asymptotic equipartition property.
Fix and . By the asymptotic equipartition property, all sufficiently large satisfy . For any epsilon-sufficient set ,
Each word in this intersection has probability at most . Hence
which gives the minimum size of a sufficient set for an IID source:
The Chebyshev inequality used above supplies the sufficient quantitative condition . No assumption that itself is a typical set is needed; its intersection with one provides the bound.
Let
Here has the binomial distribution with parameters . Part a, now with independent coordinates, gives
By Pinsker's inequality, the probability mass functions therefore converge in total variation, and in particular converges in distribution to .
The joint probability of the observed row depends only on :
Taking logarithms in any fixed base and choosing gives
where
The convergence lemma supplied in the question now yields
This sparse triangular array therefore has a random limiting normalized self-information rather than the constant limit in the usual asymptotic equipartition property.
The asymptotic equipartition property is in probability. For an i.i.d. source this is the weak law applied to , and independence gives . Thus its information rate and AEP constant are both .
For a typical set of probability at least ,
The upper bound sums the lower probability bound for each word; the lower bound sums the upper probability bound and uses the set's total probability. These bounds turn the asymptotic equipartition property into exponential estimates of source-coding dimension.
Let be the weak typical set of a finite alphabet independent and identically distributed source with Shannon entropy , and let be any sets with . The asymptotic equipartition property and union bound give . Every word in the intersection has probability mass between and . Summing these bounds gives
For every fixed , the first probability eventually exceeds , proving the title bound. A sample mean within a fixed positive tolerance of the expected value supplies by the strong law of large numbers.