Asymptotic equipartition property

From HandWiki
Short description: Topic in mathematics

In information theory, the asymptotic equipartition property (AEP) is a general property of the output samples of a stochastic source. It is fundamental to the concept of typical set used in theories of data compression.

Roughly speaking, the theorem states that although there are many series of results that may be produced by a random process, the one actually produced is most probably from a loosely defined set of outcomes that all have approximately the same chance of being the one actually realized. (This is a consequence of the law of large numbers and ergodic theory.) Although there are individual outcomes which have a higher probability than any outcome in this set, the vast number of outcomes in the set almost guarantees that the outcome will come from the set. One way of intuitively understanding the property is through Cramér's large deviation theorem, which states that the probability of a large deviation from mean decays exponentially with the number of samples. Such results are studied in large deviations theory; intuitively, it is the large deviations that would violate equipartition, but these are unlikely.

In the field of pseudorandom number generation, a candidate generator of undetermined quality whose output sequence lies too far outside the typical set by some statistical criteria is rejected as insufficiently random. Thus, although the typical set is loosely defined, practical notions arise concerning sufficient typicality.

Definition

Given a discrete-time stationary ergodic stochastic process [math]\displaystyle{ X }[/math] on the probability space [math]\displaystyle{ (\Omega, B, p) }[/math], the asymptotic equipartition property is an assertion that, almost surely, [math]\displaystyle{ -\frac{1}{n} \log p(X_1, X_2, \dots, X_n) \to H(X) \quad \text{ as } \quad n\to\infty }[/math] where [math]\displaystyle{ H(X) }[/math] or simply [math]\displaystyle{ H }[/math] denotes the entropy rate of [math]\displaystyle{ X }[/math], which must exist for all discrete-time stationary processes including the ergodic ones. The asymptotic equipartition property is proved for finite-valued (i.e. [math]\displaystyle{ |\Omega| \lt \infty }[/math]) stationary ergodic stochastic processes in the Shannon–McMillan–Breiman theorem using the ergodic theory and for any i.i.d. sources directly using the law of large numbers in both the discrete-valued case (where [math]\displaystyle{ H }[/math] is simply the entropy of a symbol) and the continuous-valued case (where [math]\displaystyle{ H }[/math] is the differential entropy instead). The definition of the asymptotic equipartition property can also be extended for certain classes of continuous-time stochastic processes for which a typical set exists for long enough observation time. The convergence is proven almost sure in all cases.

Discrete-time i.i.d. sources

Given [math]\displaystyle{ X }[/math] is an i.i.d. source which may take values in the alphabet [math]\displaystyle{ \mathcal{X} }[/math], its time series [math]\displaystyle{ X_1,\ldots,X_n }[/math] is i.i.d. with entropy [math]\displaystyle{ H(X) }[/math]. The weak law of large numbers gives the asymptotic equipartition property with convergence in probability, [math]\displaystyle{ \lim_{n\to\infty}\Pr\left[\left|-\frac{1}{n} \log p(X_1, X_2, \ldots, X_n) - H(X)\right|\gt \varepsilon\right]=0 \qquad \forall \varepsilon \gt 0. }[/math] since the entropy is equal to the expectation of [1] [math]\displaystyle{ -\frac{1}{n} \log p(X_1, X_2, \ldots , X_n). }[/math]

The strong law of large numbers asserts the stronger almost sure convergence, [math]\displaystyle{ \Pr\left[\lim_{n\to\infty} - \frac{1}{n} \log p(X_1, X_2,\ldots, X_n) = H(X)\right]=1. }[/math]Convergence in the sense of L1 asserts an even stronger[math]\displaystyle{ \mathbb{E} \left[\left|\lim_{n\to\infty} - \frac{1}{n} \log p(X_1, X_2,\ldots, X_n) - H(X)\right|\right]= 0 }[/math]

Discrete-time finite-valued stationary ergodic sources

Consider a finite-valued sample space [math]\displaystyle{ \Omega }[/math], i.e. [math]\displaystyle{ |\Omega| \lt \infty }[/math], for the discrete-time stationary ergodic process [math]\displaystyle{ X:=\{X_n\} }[/math] defined on the probability space [math]\displaystyle{ (\Omega, B, p) }[/math]. The Shannon–McMillan–Breiman theorem, due to Claude Shannon, Brockway McMillan, and Leo Breiman, states that we have convergence in the sense of L1.[2] Chung Kai-lai generalized this to the case where [math]\displaystyle{ X }[/math] may take value in a set of countable infinity, provided that the entropy rate is still finite.[3]


Non-stationary discrete-time source producing independent symbols

The assumptions of stationarity/ergodicity/identical distribution of random variables is not essential for the asymptotic equipartition property to hold. Indeed, as is quite clear intuitively, the asymptotic equipartition property requires only some form of the law of large numbers to hold, which is fairly general. However, the expression needs to be suitably generalized, and the conditions need to be formulated precisely.

We assume that the source is producing independent symbols, with possibly different output statistics at each instant. We assume that the statistics of the process are known completely, that is, the marginal distribution of the process seen at each time instant is known. The joint distribution is just the product of marginals. Then, under the condition (which can be relaxed) that [math]\displaystyle{ \mathrm{Var}[\log p(X_i)]\lt M }[/math] for all i, for some M > 0, the following holds (AEP): [math]\displaystyle{ \lim_{n\to\infty}\Pr\left[\,\left|-\frac{1}{n} \log p(X_1, X_2, \ldots, X_n) - \overline{H}_n(X)\right|\lt \varepsilon\right]=1\qquad \forall \varepsilon \gt 0 }[/math] where [math]\displaystyle{ \overline{H}_n(X)=\frac{1}{n}H(X_1,X_2,\ldots,X_n) }[/math]

Applications

The asymptotic equipartition property for non-stationary discrete-time independent process leads us to (among other results) the source coding theorem for non-stationary source (with independent output symbols) and noisy-channel coding theorem for non-stationary memoryless channels.

Measure-theoretic form

[math]\displaystyle{ T }[/math] is a measure-preserving map on the probability space [math]\displaystyle{ \Omega }[/math].

If [math]\displaystyle{ P }[/math] is a finite or countable partition of [math]\displaystyle{ \Omega }[/math], then its entropy is [math]\displaystyle{ H(P) := -\sum_{p \in P} \mu(p) \ln\mu(p) }[/math] with the convention that [math]\displaystyle{ 0\ln 0 = 0 }[/math].

We only consider partitions with finite entropy: [math]\displaystyle{ H(P) \lt \infty }[/math].

If [math]\displaystyle{ P }[/math] is a finite or countable partition of [math]\displaystyle{ \Omega }[/math], then we construct a sequence of partitions by iterating the map:[math]\displaystyle{ P^{(n)} := P \vee T^{-1}P \vee \dots \vee T^{-(n- 1)}P }[/math]where [math]\displaystyle{ P \vee Q }[/math] is the least upper bound partition, that is, the least refined partition that refines both [math]\displaystyle{ P }[/math] and [math]\displaystyle{ Q }[/math]:[math]\displaystyle{ P\vee Q := \{p \cap q: p \in P, q \in Q\} }[/math]Write [math]\displaystyle{ P(x) }[/math] to be the set in [math]\displaystyle{ P }[/math] where [math]\displaystyle{ x }[/math] falls in. So, for example, [math]\displaystyle{ P^{(n)}(x) }[/math] is the [math]\displaystyle{ n }[/math] -letter initial segment of the [math]\displaystyle{ (P, T) }[/math] -name of [math]\displaystyle{ x }[/math].

Write [math]\displaystyle{ I_{P}(x) }[/math] to be the information (in units of nats) about [math]\displaystyle{ x }[/math] we can recover, if we know which element in the partition [math]\displaystyle{ P }[/math] that [math]\displaystyle{ x }[/math] falls in:[math]\displaystyle{ I_{P} := -\ln \mu(P(x)) }[/math]Similarly, the conditional information of partition [math]\displaystyle{ P }[/math], conditional on partition [math]\displaystyle{ Q }[/math], about [math]\displaystyle{ x }[/math], is[math]\displaystyle{ I_{P|Q}(x) := -\ln \frac{P\vee Q(x)}{Q(x)} }[/math][math]\displaystyle{ h_T(P) }[/math] is the Kolmogorov-Sinai entropy[math]\displaystyle{ h_T(P) := \lim_n \frac 1n H(P^{(n)}) = \lim_n E_{x\sim \mu}\left[\frac 1n I_{P^{(n)}}(x)\right] }[/math]In other words, by definition, we have a convergence in expectation. The SMB theorem states that when [math]\displaystyle{ T }[/math] is ergodic, we have convergence in L1.[4]

Theorem (ergodic case) — If [math]\displaystyle{ T }[/math] is ergodic, then [math]\displaystyle{ x \mapsto \frac 1n I_{P^{(n)}}(x) }[/math] converges in L1 to the constant function [math]\displaystyle{ x \mapsto h_T(P) }[/math].

In other words, [math]\displaystyle{ E_{x\sim \mu}\left[ \left|\lim_n \frac 1n I_{P^{(n)}}(x) - h_T(P)\right|\right] = 0 }[/math]

In particular, since L1 convergence implies almost sure convergence, [math]\displaystyle{ h_T(P) = \lim_n \frac 1n I_{P^{(n)}}(x) }[/math] with probability 1.

Corollary (entropy equipartition property) — [math]\displaystyle{ \forall \epsilon \gt 0, \exists N, \forall n \geq N }[/math], we can partition the partition [math]\displaystyle{ \vee_{k=0}^{n-1} T^{-k}P }[/math] into two parts, the “good” part [math]\displaystyle{ G }[/math] and the “bad” part [math]\displaystyle{ B }[/math].

The bad part is small: [math]\displaystyle{ \sum_{b \in B}\mu(b) \lt \epsilon }[/math]

The good part is almost equipartitioned according to entropy: [math]\displaystyle{ \forall g\in G, \quad -\frac 1n \ln \mu(g) \in h_T(P) \pm \epsilon }[/math]

If [math]\displaystyle{ T }[/math] is not necessarily ergodic, then the underlying probability space would be split up into multiple subsets, each invariant under [math]\displaystyle{ T }[/math]. In this case, we still have L1 convergence to some function, but that function is no longer a constant function.[5]

Theorem (general case) — Let [math]\displaystyle{ \mathcal I }[/math] be the sigma-algebra generated by all [math]\displaystyle{ T }[/math] -invariant measurable subsets of [math]\displaystyle{ \Omega }[/math], - [math]\displaystyle{ x \mapsto \frac 1n I_{P^{(n)}}(x) }[/math] converges in L1 to
[math]\displaystyle{ x \mapsto E\left[\lim_n I_{P | \vee_{k = 1}^n T^{-k}P} \big|\; \mathcal I \right] }[/math]

When [math]\displaystyle{ T }[/math] is ergodic, [math]\displaystyle{ \mathcal I }[/math] is trivial, and so the function[math]\displaystyle{ x \mapsto E\left[ \lim_n I_{P | \vee_{k = 1}^n T^{-k}P} \big|\; \mathcal I \right] }[/math]simplifies into the constant function [math]\displaystyle{ x\mapsto E\left[ \lim_n I_{P | \vee_{k = 1}^n T^{-k}P} \right] }[/math], which by definition, equals [math]\displaystyle{ \lim_n H(P | \vee_{k = 1}^n T^{-k}P) }[/math], which equals [math]\displaystyle{ h_T(P) }[/math] by a proposition.

Continuous-time stationary ergodic sources

Discrete-time functions can be interpolated to continuous-time functions. If such interpolation f is measurable, we may define the continuous-time stationary process accordingly as [math]\displaystyle{ \tilde{X}:=f\circ X }[/math]. If the asymptotic equipartition property holds for the discrete-time process, as in the i.i.d. or finite-valued stationary ergodic cases shown above, it automatically holds for the continuous-time stationary process derived from it by some measurable interpolation. i.e. [math]\displaystyle{ -\frac{1}{n} \log p(\tilde{X}_0^\tau) \to H(X) }[/math] where n corresponds to the degree of freedom in time τ. nH(X)/τ and H(X) are the entropy per unit time and per degree of freedom respectively, defined by Shannon.

An important class of such continuous-time stationary process is the bandlimited stationary ergodic process with the sample space being a subset of the continuous [math]\displaystyle{ \mathcal{L}_2 }[/math] functions. The asymptotic equipartition property holds if the process is white, in which case the time samples are i.i.d., or there exists T > 1/2W, where W is the nominal bandwidth, such that the T-spaced time samples take values in a finite set, in which case we have the discrete-time finite-valued stationary ergodic process.

Any time-invariant operations also preserves the asymptotic equipartition property, stationarity and ergodicity and we may easily turn a stationary process to non-stationary without losing the asymptotic equipartition property by nulling out a finite number of time samples in the process.

Category theory

A category theoretic definition for the equipartition property is given by Gromov.[6] Given a sequence of Cartesian powers [math]\displaystyle{ P^N=P\times \cdots \times P }[/math] of a measure space P, this sequence admits an asymptotically equivalent sequence HN of homogeneous measure spaces (i.e. all sets have the same measure; all morphisms are invariant under the group of automorphisms, and thus factor as a morphism to the terminal object).

The above requires a definition of asymptotic equivalence. This is given in terms of a distance function, giving how much an injective correspondence differs from an isomorphism. An injective correspondence [math]\displaystyle{ \pi: P\to Q }[/math] is a partially defined map that is a bijection; that is, it is a bijection between a subset [math]\displaystyle{ P'\subset P }[/math] and [math]\displaystyle{ Q'\subset Q }[/math]. Then define [math]\displaystyle{ |P-Q|_\pi = |P \setminus P'| + |Q \setminus Q'|, }[/math] where |S| denotes the measure of a set S. In what follows, the measure of P and Q are taken to be 1, so that the measure spaces are probability spaces. This distance [math]\displaystyle{ |P-Q|_\pi }[/math] is commonly known as the earth mover's distance or Wasserstein metric.

Similarly, define [math]\displaystyle{ |\log P:Q|_\pi = \frac{\sup_{p\in P'}|\log p - \log \pi(p)|}{\log \min \left(|\operatorname{set}(P')|,|\operatorname{set}(Q')|\right)}. }[/math] with [math]\displaystyle{ |\operatorname{set}(P)| }[/math] taken to be the counting measure on P. Thus, this definition requires that P be a finite measure space. Finally, let [math]\displaystyle{ \text{dist}_\pi(P,Q) = |P-Q|_\pi +|\log P:Q|_\pi. }[/math]

A sequence of injective correspondences [math]\displaystyle{ \pi_N:P_N\to Q_N }[/math] are then asymptotically equivalent when [math]\displaystyle{ \text{dist}_{\pi_N}(P_N,Q_N) \to 0 \quad\text{ as }\quad N\to\infty. }[/math]

Given a homogenous space sequence HN that is asymptotically equivalent to PN, the entropy H(P) of P may be taken as [math]\displaystyle{ H(P) = \lim_{N\to\infty}\frac{1}{N} |\operatorname{set}(H_N)|. }[/math]

See also

Notes

  1. Cover & Thomas (1991), p. 51.
  2. Hawkins, Jane (2021). Ergodic dynamics: from basic theory to applications. Graduate texts in mathematics. Cham, Switzerland: Springer. pp. 204. ISBN 978-3-030-59241-7. 
  3. 3.0 3.1 Algoet, Paul H.; Cover, Thomas M. (1988). "A Sandwich Proof of the Shannon-McMillan-Breiman Theorem". The Annals of Probability 16 (2): 899–909. http://www-isl.stanford.edu/~cover/papers/paper83.pdf. 
  4. Petersen, Karl E. (1983). "6.2. The Shannon—McMillan—Breiman Theorem". Ergodic Theory. Cambridge Studies in Advanced Mathematics. Cambridge: Cambridge University Press. ISBN 978-0-521-38997-6. https://www.cambridge.org/core/books/ergodic-theory/4F50E2830B2812125F24D4A2CE7318D0. 
  5. Pollicott, Mark; Yuri, Michiko (1998). "12.4. The Shannon-McMillan-Brieman theorem". Dynamical Systems and Ergodic Theory. London Mathematical Society Student Texts. Cambridge: Cambridge University Press. ISBN 978-0-521-57294-1. https://www.cambridge.org/core/books/dynamical-systems-and-ergodic-theory/3C1AA7BE85F5D2EE027D60CC72FDBEB8. 
  6. Misha Gromov, (2012) "In a Search for a Structure, Part 1: On Entropy". (See page 5, where the equipartition property is called the 'Bernoulli approximation theorem'.)

References

Journal articles

  • Claude E. Shannon. "A Mathematical Theory of Communication". Bell System Technical Journal, July/October 1948.
  • Sergio Verdu and Te Sun Han. "The Role of the Asymptotic Equipartition Property in Noiseless Source Coding." IEEE Transactions on Information Theory, 43(3): 847–857, 1997.

Textbooks