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]
Conditional entropy rate 2026-10-14
For a strictly stationary process on a finite alphabet, put and for . Each is the average remaining uncertainty in the next symbol after its history is known. More history can improve prediction, so this sequence is nonincreasing:
The inequality uses conditioning reduces entropy; the last equality uses strict stationarity. Nonnegative therefore have a limit. By the chain rule for information entropy,
The Cesàro mean converges to the same limit, proving the equality with the entropy rate. This is a statement about average information entropy. A constant almost-sure limit of the realized information content requires the further hypotheses in the Shannon-McMillan-Breiman theorem; stationarity without ergodicity in an information source explains the distinction.
Let denote the join of measurable partitions recording the first observations, and set , with . The entropy of a countable measurable partition is , using natural logarithms and . Null atoms can be discarded. Throughout, is a probability measure.
The stronger property needed for monotonicity of normalized block entropy is that its increments decrease. Define
Since conditioning reduces entropy, . The conditional entropy chain rule and measure preservation give
It follows that , and consequently
This uses stationarity as well as the entropy chain rule; subadditivity alone would not establish monotonicity of every successive ratio.
The entropy rate of a measurable partition and the Kolmogorov-Sinai entropy are, respectively,
One may equivalently take the supremum over countable finite-entropy measurable partitions.
The Shannon-McMillan-Breiman theorem states that for a countable measurable partition with , the normalized information
converges almost everywhere and in to a invariant function with integral . Here is the atom containing . If is an ergodic transformation, then almost everywhere. We prove the general form, including an explicit formula for its limit.
Let be the sigma-algebra generated by , let be trivial, and put . For every atom , the probabilities
form a bounded conditional-expectation martingale. The martingale convergence theorem gives almost everywhere and in . Each of these probabilities is positive almost everywhere on : for example, integrating over the measurable set gives zero. Countability of lets us choose a common full-measure set for every atom.
The conditional information functions
therefore converge almost everywhere to . We need an integrable bound on this sequence; convergence of the probabilities alone would not supply one after taking logarithms. The allowed maximal inequality for conditional information functions gives, for ,
Combining this with the bound by and the tail integral formula for moments yields
Thus , and the dominated convergence theorem gives in . In particular,
because is the average of the decreasing sequence .
The information chain rule, applied from the final observation backwards, gives the exact identity
Indeed, the symbol at time is conditioned on times ; pulling that conditional probability back by gives . Measure preservation is sufficient for this pullback identity.
We now prove the required triangular ergodic averaging lemma in this instance. Put . Then almost everywhere, , and . Split the difference between the displayed triangular sum and . Terms whose index is at least are bounded by . The remaining terms are at most
After division by , each of these finitely many end terms tends to zero almost everywhere by the linear growth bound for integrable observables proved in Question 1. Applying the Birkhoff ergodic theorem to , for every fixed , therefore gives
These conditional expectations decrease to zero almost everywhere: they decrease, and their integrals tend to zero. Letting , then applying the Birkhoff ergodic theorem to , proves
For convergence, measure preservation gives the direct estimate
Combine this with convergence of the ergodic averages of . Finally, . In the ergodic case the invariant sigma-algebra is trivial, completing the familiar form of the theorem: