Entropy and Information

Language is a system of communication, whereas communication can be regarded as a process of information transmission. From this point of view, while studying language, we should be interested in understanding the notion of information. The standard mathematical theories of information are theories of the amount of information, which turns out to be a more fundamental concept than the structure of information. Namely, the amount of information is preserved by reversible operations on the data, whereas the structure of information can be distorted by them. These different properties of the amount of information and the structure of information are probably the reason for little interaction between linguists, who prefer to study the structure of information, and information theorists, who tend to investigate the amount of information.

There is one more problem with studying the amount of information in empirical data. Namely, in the standard mathematical theories of information, the amount of information is given relative to a probability distribution or a universal computer. Asymptotically, the choice of a concrete probability distribution or a universal computer does not matter much, but, if we are going to perform experiments on finite samples, the choice can influence our estimates. Of course, we can confine ourselves to studying some concrete estimators of the amount of information, but these procedures introduce another level of approximation of the theoretically absolute values. As a result, information theory is not so widely applied in language research, in our opinion, as it should be.

As we have stated in Sections 1.7 and 1.10, nowadays, there are recognized two main mathematical theories of information: one initiated by Claude Elwood Shannon applies probability, whereas another proposed by Andrey Nikolaevich Kolmogorov uses algorithms. In both the approaches, the amount of information contained in an object is roughly equal to the least number of binary digits that are needed to describe the object. Whereas this idea is directly present in Kolmogorov's algorithmic definition, Shannon's probabilistic definition is more abstract. Probably for this reason, Kolmogorov eventually came to believe that the algorithmic approach to information is more fundamental than the measure‐theoretic approach to probability – and for that reason, it should be exposed first, see Cover et al. ( 1989 ).

In this chapter and in the next two ones, we will study some ideas from information theory that will be useful to us. However, we will put Kolmogorov's vision of the correct exposition order on its head. We will begin with Shannon's probabilistic theory and some measure‐theoretic excursions in this chapter, subsequently going through asymptotic equipartition and universal distributions in Chapter 6, whereas the coding interpretation of Shannon entropy and algorithmic information theory will be relegated to Chapter 7, which will close the cycle of preliminary chapters.

Thus, Section 5.1 is devoted to the concepts of Shannon entropy and mutual information as well as their conditional variants, collectively called Shannon information measures. Usually, these measures are defined for discrete random variables, but, as it is often done in ergodic theory, we will speak of Shannon information measures for partitions of the probability space, which provides a convenient layer of abstraction and stimulates further generalizations. We will see that Shannon information measures satisfy a large number of identities, called chain rules or polymatroid identities, interacting interestingly with the concept of conditional probabilistic independence.

In Section 5.2 , we will apply Shannon information measures to discrete stationary processes. We will study the block entropy, which is the entropy of a sequence of consecutive random variables of the process. We will show that block entropy is positive, growing, and concave. As a result, we can define two asymptotic quantities, entropy rate and excess entropy, which measure the limiting unpredictability of the process and the total memory used by the process, respectively. Whereas for natural language, excess entropy seems infinite by Hilberg's hypothesis introduced in Section 1.9, we will show that this quantity is finite for finite‐state processes.

Entropy rate and excess entropy are defined as limits of conditional entropy and mutual information for block lengths tending to infinity. We may rightly ask if we can define them plugging infinitely long blocks directly into their definitions. Such operation presumes that we define Shannon information measures for arbitrary fields. This construction will be performed indeed in Section 5.3 . It turns out that Shannon information measures for fields inherit all nice properties of Shannon information measures for partitions and additionally, they enjoy continuity, which allows to define entropy rate and excess entropy using infinitely long blocks.

These generalized definitions of entropy rate and excess entropy matter not only for aesthetic reasons. In Section 5.4 , we will use them to derive ergodic decomposition formulas for entropy rate and excess entropy. According to these results, a stationary process has the zero entropy rate if all of its ergodic components have the zero entropy rate, whereas the process has the infinite excess entropy if some of its ergodic components have the infinite excess entropy or if there are uncountably many ergodic components. Hence, we arrive at a reason to suspect that natural language, possibly having an infinite excess entropy, can have uncountably many ergodic components.

Section 5.5 is devoted to understanding processes with the zero entropy rate and disproving a strong form of Hilberg's hypothesis, which demands that natural language has a zero entropy rate indeed. A convenient tool for this analysis are Fano inequalities, which are of an independent interest. Using Fano inequalities, we will show that processes with a zero entropy rate are deterministic in the sense that each random variable of the process is a measurable function of its infinite past. This condition seems intuitively implausible as applied to natural language.

In Section 5.6 , we will analyze processes that have uncountably many ergodic components. Formally, these processes will be given the name of strongly nonergodic processes. Subsequently, we will show that the mixture Bernoulli process, a simple example of a strongly nonergodic process, does not satisfy the power‐law growth of mutual information stated in the relaxed form of Hilberg's hypothesis. The power‐law growth of mutual information requires a different construction of the process, which will be postponed till Chapter 8 .

5.1 Shannon Measures for Partitions

In this section, we will discuss the basic Shannon information measures such as the Shannon entropy and the mutual information. This section develops formally the informal exposition from Section 1.7. We will begin with Shannon entropy. The Shannon entropy is the founding concept of information theory. It is usually defined as follows, assuming that images stands for the logarithm of images to the base 2.


Definition 5.1 (Shannon entropy)

For a discrete probability distribution images on a countable set images , we define the Shannon entropy of images as

(5.1) equation


Shannon entropy measures the average amount of information in the objects drawn from a discrete distribution. That is, as we will see in Chapter 7, the Shannon entropy is the average least number of binary digits that are needed to describe a random object – if we know its exact probability distribution, in advance. The concept of Shannon entropy gives rise to many interesting considerations and is highly useful. In this chapter, we will study some algebraic properties of Shannon entropy which contributes to the general utility of this concept.

To begin, by the relationship to the KL divergence ( Definition 3.14 ), we obtain that Shannon entropy is less than the following quantity, called Hartley entropy.


Definition 5.2 (Hartley entropy)

For a discrete probability distribution images on a countable set images , we define the Hartley entropy of images as

(5.2) equation



Theorem 5.1

We have images .



Proof:

images follows by images , whereas images follows by Theorem 3.18 for images .


Inparticular images if the domain of the probability distribution is finite.

In Eq. (5.1) , Shannon entropy is defined as a functional of a discrete probability distribution. Here we would like to entertain a different point of view, which leads to a useful generalization. In case of arbitrary probability spaces, the analogue of discrete distributions are discrete random variables and countable partitions of the probability space. In didactic expositions, the Shannon entropy is usually defined for discrete random variables, but speaking of entropy of countable partitions provides a certain layer of abstraction, which turns out to propel some further developments.

Thus, we will consider the definition of entropy for countable partitions as a primary one. In this setting, we will cast both the Shannon and the Hartley entropy.


Definition 5.3 (Shannon and Hartley entropy)

We define the Shannon entropy of a partition images with respect to as

(5.3) equation

Analogously, we also define the Hartley entropy

(5.4) equation


We have inequality images by Theorem 5.1 . Thus, the Shannon entropy images is finite if the partition images is finite.

What if we have two partitions? The Shannon entropy of one partition is a special case of the Shannon mutual information between two partitions. The definition of Shannon mutual information is as follows.


Definition 5.4 (Mutual information)

We define the Shannon mutual information between two partitions images and images with respect to probability measure images as

(5.5) equation


We can immediately see that mutual information is a special case of the KL divergence ( Definition 3.14 ), hence, images . Moreover, images .

What if we have three partitions? Let us observe that for images , conditional probability images is also a probability measure. Therefore, the following concepts of conditional entropy and conditional mutual information also make sense.


Definition 5.5 (Conditional entropy)

We define the conditional entropy of a partition images given a partition images as

(5.6) equation



Definition 5.6 (Conditional mutual information)

We define the conditional mutual information between two partitions images and images given a partition images as

(5.7) equation


Now we can specialize the above definitions to discrete random variables. Let us note that discrete random variables images generate unique partitions images . In this case, we will define

(5.8) equation

(5.9) equation

(5.10) equation

(5.11) equation

Sometimes we will also use a notation where we mix random variables and classes of events as arguments of these functions.

Entropy and mutual information, both conditional and unconditional, collectively called the Shannon information measures, satisfy a large number of algebraic identities, as it is generally known (Csiszár and Körner, 2011 ; Cover and Thomas, 2006 ; Yeung, 2002 ). To recall, first of all, the Shannon information measures can be all expressed as conditional mutual information or as linear combinations of Shannon entropies. The expression in terms of conditional mutual information is as follows.


Theorem 5.2

We have:

  1. 1. images .
  2. 2. images .
  3. 3. images .

The expression in terms of Shannon entropies requires an additional notation. For two partitions images and images , let us denote the join partition images .


Theorem 5.3

If the negative terms are finite, we have:

  1. 1. images .
  2. 2. images .
  3. 3. images .

The proofs of the two above theorems are left as an easy exercise. Now, we will introduce several relations on partitions. The first three ones have to do with refinements of partitions.

  1. (measurability is not an issue here – it is guaranteed by discreteness of the variables).
  2. 2. We will say that partition images is almost surely finer than images , written images , if for each event images with images we have images for all images . For discrete random variables images and partitions images , relation images holds if and only if images almost surely for a certain function images .
  3. 3. We will say that partitions images and images are almost surely equal, written images , if both images and images . For discrete random variables images and partitions images , relation images holds if and only if images almost surely for a certain bijection images .

The next few relations have to do with probabilistic independence. In general, we say that events images and images are (probabilistically) independent if images , which reduces to images for images . Analogously, we say that events images and images are conditionally independent given images , where images , if images . In particular, events images and images are independent if and only if they are conditionally independent given images . Let us generalize these concepts to partitions.

  1. 1. We will say that partitions images and images are independent, written images , if all images and images are pairwise independent, i.e. if images .
  2. 2. We will say that partitions images and images are conditionally independent given partition images , written images , if all images and images are pairwise conditionally independent given all images with images , i.e. if images . We have images if and only if images .

Extending these concepts, we will say that discrete random variables images are (conditionally) independent if the respective partitions images are (conditionally) independent.

The following four results found the algebra of the Shannon information measures. The results apply the above‐defined relations of refinement and independence. The first proposition concerns refinements of partitions.


Theorem 5.4

We have images .



Proof:

We have

  1. 1. images .
  2. 2. images .
  3. 3. images .

The second proposition provides two algebraic properties of conditional mutual information: symmetry and vanishing for conditionally independent partitions.


Theorem 5.5

We have

  1. 1. images .
  2. 2. images with equality if and only if images .


Proof:

  1. 1. Trivial.
  2. 2. By Theorem 3.18 , images with equality if and only if images . Hence, images with equality if and only if images .

The third proposition characterizes partly the conditional independence in terms of partition refinements.


Theorem 5.6

We have images .



Proof:

For each images such that images , we have images for all images if and only if images for all images . Hence, images .


The fourth proposition is called the chain rule for conditional information.


Theorem 5.7 (Chain rule)

We have images .



Proof:

The claim follows by

(5.12) equation


The above four theorems yield a large number of other useful identities. We will say that partition images is trivial if images for all images . A handful of useful corollaries of Theorems 5.2 and 5.4–5.7 is as follows:


Theorem 5.8

We have

  1. 1. images if images .
  2. 2. images if and only if images .
  3. 3. images if and only if images is trivial.
  4. 4. images for images .
  5. 5. images .
  6. 6. images if images .
  7. 7. images if images .
  8. 8. images .
  9. 9. images .
  10. 10. images if images and images .


Proof:

  1. 1. If images then images . Hence, images . Using this fact, we obtain images .
  2. 2. We have images if and only if images , which is equivalent to images .
  3. 3. We have images if and only if images , which is equivalent to images being trivial.
  4. 4. By images , images . The sequel is easy: images
  5. .
  6. 6. If images , then images . Hence images .
  7. 7. By property (4) we have images . Hence for images , being equivalent to images , we obtain images .
  8. 8. Follows from properties (5) and (7).
  9. 9. We have images by property (4).
  10. 10. By property (4) we have images . Hence images .

In particular, claim (6) of Theorem 5.8 is called the data‐processing inequality. It asserts that the amount of information as measured by entropy and mutual information does not decrease when we refine partitions. As a result, the amount of information contained in a random variable does not change when we apply a reversible operation to it. Claim (10) of Theorem 5.8 will be used to prove the ergodic decomposition of excess entropy in Section 5.4 .

Last but not least, we note this fact concerning equality of conditional mutual information for partitions that are almost surely equal.


Theorem 5.9

We have images if images , images , images .



Proof:

For events with a strictly positive probability, there is a bijection between events images and images such that images . Hence, images and images are sums over equal expressions.


The above‐discussed algebraic identities are called the polymatroid identities. It turns out that Shannon information measures also satisfy certain inequalities which cannot be reduced to the polymatroid inequalities. This topic will not be pursued here. An interested reader is referred to Yeung ( 2002 ).

5.2 Block Entropy and Its Limits

In this section, we will consider Shannon information measures for discrete stationary processes, as half‐formally sketched in Section 1.7, where we have introduced the block entropy, the entropy rate, and the excess entropy. The terminology of this section and the results are largely borrowed from Crutchfield and Feldman ( 2003 ). Primarily, we will be interested in the entropy of sequences of consecutive variables, called blocks. The blocks of random variables will be written as

(5.13) equation

by an analogy to the notation for strings images .

In the following, we will assume that images is a stationary process on a probability space images , where images and the alphabet images is countable. We observe that the entropy of a block drawn from a stationary process depends only on the block length.


Definition 5.7 (Block entropy)

The entropy of a block of variables drawn from the discrete stationary process images will be denoted as

(5.14) equation

For convenience, we also put images .


As we have mentioned in Section 1.9, Hilberg ( 1990 ) supposed that the block entropy for texts in natural language grows like a power law, say,

(5.15) equation

We will treat this hypothesis as a sufficient motivation to investigate the general behavior of the block entropy for stationary processes. In this section, we will not construct any particular process that satisfies a condition resembling hypothesis ( 5.15 ), but we will only investigate general properties of function images .

Let us observe that images if and only if images , since images by the polymatroid identities. In this case, the process will be called a finite entropy process. As we will see, by Theorem 5.3 , some differences of the block entropy of a finite entropy process equal to the conditional entropy and mutual information. Let images be the difference operator,

(5.16) equation

Using this operator, we can state a few interesting propositions. The first result states that the first difference of images is equal to conditional entropy, whereas the second difference of images is equal to conditional mutual information.


Theorem 5.10

The block entropy of a finite entropy process satisfies

(5.17) equation

(5.18) equation

where images and images .



Proof:

By Theorem 5.3 , we have

(5.19) equation

(5.20) equation


Hence, for a stationary process, block entropy images is positive, images , growing, images , and concave, images , as a function of images .

Now, we will investigate the behavior of block entropy for large arguments. First of all, we note that block entropy images is subadditive, i.e. images . The following proposition for subadditive and superadditive sequences is due to Fekete ( 1923 ).


Theorem 5.11 (Fekete lemma)

Let a sequence of real numbers images be superadditive, i.e. let it satisfy images . Then there exists limit

(5.21) equation

Conversely, if sequence images is subadditive, i.e. it satisfies images , then there exists limit

(5.22) equation



Proof:

Sequence images is subadditive if and only if images is superadditive. Without loss of generality, let us assume that images is superadditive. Fix a number images . Choose another number images such that images . For images , we may write images , where images and images are some integers. By the superadditivity, we have images . Hence,

(5.23) equation

Since images was chosen arbitrarily, we hence obtain

(5.24) equation

which is equivalent to the claim.


For sequences that are concave, the Fekete lemma can be strengthened.


Theorem 5.12

Let a sequence of real numbers images , where images , be concave, i.e. let it satisfy images . Then sequence images is subadditive and

(5.25) equation



Proof:

By the concavity, the sequence of differences images is decreasing. Hence,

(5.26) equation

so images is subadditive. Subsequently, it is sufficient to show

(5.27) equation

where limit images exists by the Fekete lemma ( Theorem 5.11 ) and limit images exists since sequence images is decreasing. By the first equality in ( 5.26 ), we also obtain

(5.28) equation

Putting images , dividing by images , and letting images yields

(5.29) equation

Hence, images .


Since the block entropy satisfies the assumptions of the above Proposition, then we may define the following limiting quantity, called the entropy rate.


Definition 5.8 (Entropy rate)

The entropy rate of a finite entropy stationary process images is defined as

(5.30) equation


We have images . By the third equivalent definition in Eq. (5.30) , the entropy rate measures how much unpredictable a single observation images is if we know the infinite past images . Thus, the entropy rate is a certain measure of asymptotic indeterminism of the process. In particular, we have images if condition ( 5.15 ) is satisfied. The case of a stationary process with a vanishing entropy rate will be given a name.


Definition 5.9 (Asymptotically deterministic process)

A finite entropy stationary process images is called asymptotically deterministic if images .


. There are four equivalent expressions for this quantity.


Theorem 5.13

Let a sequence of real numbers images , where images , be concave, i.e. let it satisfy images . Define

(5.31) equation

where images . We have

  1. 1. images and images .
  2. 2. images , images , and images are increasing.
  3. 3. images .


Proof:

Observe the chain rule images . Hence, we obtain

(5.32) equation

(5.33) equation

(5.34) equation

Since terms images are all positive, hence, the claims follow.


Since the block entropy satisfies the assumptions of the above proposition, then we may define another limiting quantity, called the excess entropy.


Definition 5.10 (Excess entropy)

The excess entropy of a finite entropy stationary process images is defined as

(5.35) equation


We have images . By the first equivalent definition in Eq. (5.35) , the excess entropy measures how much dependence there is between the infinite past images if condition ( 5.15 ) is satisfied. The case of a stationary process with an infinite excess entropy will be also given a name.


Definition 5.11 (Finitary and infinitary processes)

A finite entropy stationary process images is called finitary if images and infinitary if images .


Now, let us briefly discuss the entropy rate and the excess entropy for the three classes of processes introduced in Section 2.4 . As we will see, in typical cases, none of these processes is asymptotically deterministic or infinitary. The following propositions without proofs are left as easy exercises.


Theorem 5.14

The entropy rate and excess entropy of an IID process images are

(5.36) equation

(5.37) equation



Theorem 5.15

The entropy rate and excess entropy of a stationary Markov process images are

(5.38) equation

(5.39) equation



Theorem 5.16

The block entropy, the entropy rate, and the excess entropy of a stationary images th order Markov process images are

(5.40) equation

(5.41) equation

(5.42) equation


In particular, we can see that a images th order Markov process can be infinitary only when the alphabet is infinite. If the alphabet is finite, then a images th order Markov process is asymptotically deterministic if and only if the distribution of the process is a periodic measure.

In general, there are no closed expressions for the entropy rate and excess entropy of a hidden Markov process (Birch, 1962 ; Jacquet et al., 2008 ; Travers and Crutchfield, 2014 ). We can give, however, simple bounds. In particular, the excess entropy of a finite‐state process is finite, as the following theorem implies.


Theorem 5.17

The entropy rate and the excess entropy of a stationary hidden Markov process images with the underlying Markov process images satisfy inequalities

(5.43) equation

(5.44) equation



Proof:

Since random variables images and images are conditionally probabilistically independent given random variables images and images , we have

(5.45) equation

(5.46) equation


Concluding this section, we can see that a stationary hidden Markov process images is not infinitary or asymptotically deterministic, respectively, if the underlying Markov process images is not infinitary or asymptotically deterministic. Consequently, hidden Markov processes are finitary when the alphabet of the underlying Markov process is finite, i.e. if the process is finite‐state. Some infinitary hidden Markov processes where the alphabets of the underlying Markov processes are infinite were discussed by Travers and Crutchfield ( 2014 ) and Dębowski ( 2014 ). We consider these examples kind of artificial. In Section 8.3 and Chapter 11 , we will construct some different examples of infinitary and asymptotically deterministic processes, which are more motivated by natural language phenomena.

5.3 Shannon Measures for Fields

An interesting question arises whether the entropy rate and the excess entropy of a stationary process can be interpreted as the conditional entropy and the mutual information for infinite sequences of random variables. In other words, we ask whether we can define images and images in such a way that

(5.47) equation

(5.48) equation

Such a hypothetical representation presumes that we generalize the Shannon information measures to classes of events larger than partitions, such as arbitrary fields.

To make a historical remark, we note that generalization of Shannon information measures to arbitrary fields is a classical topic in information theory dating back to Gelfand et al. ( 1956 ). The original approach proposed by Gelfand et al. ( 1956 ) and developed later by Dobrushin ( 1959 ) and Pinsker ( 1964 ), goes through an integral over the Radon–Nikodym derivative of a conditional product measure with respect to a joint measure. This approach is doomed to fail if the regular conditional probability does not exist, since conditional product measure may fail to exist in this case either (Sazonov, 1964 ; Swart, 1996 ). A simpler and fully general approach, to be presented in this section, was essentially proposed by Wyner ( 1978 ) and Dębowski ( 2009 ) independently, with some later corrections by Dębowski ( 2020 ) concerning the proof of Theorem 2 by Dębowski ( 2009 ).

The definition proposed by Wyner ( 1978 ) and Dębowski ( 2009 ) reads:


Definition 5.12 (Shannon information measures)

Let images be a probability space. For a class images and an event images , let images be the conditional probability of images with respect to the smallest complete images ‐field containing images . Subsequently, for an arbitrary class images and countable partitions images and images , we define the pointwise conditional entropy and mutual information

(5.49) equation

Finally, for arbitrary fields images and images and a class images , we define the average conditional entropy and mutual information

(5.50) equation

where the suprema are taken over all finite partitions of images and images .


Let us note that if images , images , and images are finite fields, then the above definitions reduce to respective Shannon information measures for finite partitions:


Theorem 5.18

If images are generated by finite partitions then:

  1. 1. images .
  2. 2. images .
  3. 3. images .
  4. 4. images .


Proof:

The claims follow by monotonicity of Shannon information measures, i.e. claim (6) of Theorem 5.8 .


We also stress that Definition 5.12 , in contrast to the earlier expositions by Dobrushin ( 1959 ) and Pinsker ( 1964 ), is simpler and does not require regular is almost surely a probability distribution.

Similarly as in the discrete case, for arbitrary random variables images with image spaces images and preimages images , we will also define the Shannon information measures

(5.51) equation

(5.52) equation

(5.53) equation

(5.54) equation

As previously declared, sometimes we will apply a notation where we mix random variables and classes of events as arguments of these functions.

Shannon information measures as generalized above turn out to satisfy all generalized polymatroid identities as well as some continuity. To begin, we notice the following expression of them in terms of conditional mutual information.


Theorem 5.19

Let images and images be fields. We have

  1. 1. images .
  2. 2. images .
  3. 3. images .


Proof:

The claims follow since images almost surely and images .


Before we derive other polymatroid identities for the generalized Shannon information measures, it is necessary to discuss quite a few technical facts concerning continuity of these measures. Although conditional mutual information has usually been discussed for images ‐fields, Definition 5.12 makes sense also for fields. This point of view is convenient to prove continuity.

We will write images for a sequence images of fields such that images . (Field images need not be a  images ‐field.) By an analogy to this notation, for a sequence images of real numbers, we will also write images if images and images .


Theorem 5.20 (Continuity of mutual information)

For any fields images , images , and images , we have images .



Proof:

The claim holds by claim (6) of Theorem 5.8 since every partition of images is a partition of images for all but finitely many images .



Theorem 5.21

For finite fields images and images and any fields images , we have images .



Proof:

Finite fields are generated by finite partitions. Let images and images , where images . By monotonicity of Shannon information measures, i.e. claim (6) of Theorem 5.8 , we have images , where images by claim (8) of Theorem 5.8 . Hence, the claim follows by the Levy law (3.68) and the dominated convergence ( Theorem 3.10 ).


Recall the symmetric difference (2.32) and its properties discussed in Problem 2.4. We observe the following bound:


Theorem 5.22 (Continuity of entropy)

Fix an images and a field images . For finite partitions images and images such that images for all images , we have

(5.55) equation



Proof:

We have the expectation images . Hence, by the Markov inequality ( Theorem 3.11 ) we obtain

(5.56) equation

Denote

(5.57) equation

From the left Bonferroni inequality (2.31), we obtain images . Subsequently, we observe that images holds almost surely since the Shannon entropy of a partition is uniformly bounded by the logarithm of the partition's cardinality. Hence,

(5.58) equation

Function images is subadditive and increasing for images . In particular, we have images for images . Thus, on the event images , we obtain

(5.59) equation

Plugging ( 5.59 ) into ( 5.58 ) yields the claim.


Now we can prove the invariance of conditional mutual information with respect to extending fields to complete images ‐fields. For this aim, we will use Theorem 3.28 .


Theorem 5.23 (Invariance of completion)

Let images , images , images , and images be subfields of images . We have

(5.60) equation



Proof:

Equality images holds by Definition 5.12 . It remains to prove equality images . For this goal, it suffices to show that for any images and any finite partitions images and images there exists a finite partition images such that

(5.61) equation

Fix then some images and finite partitions images and images . Invoking Theorem 3.28 , we know that for each images there exists a class of sets images , which need not be a partition, such that

(5.62) equation

for all images . Let us put images and let us construct sets images and images for images . Subsequently, we put images for images and images . In this way, we obtain a partition images .

The next step of the proof is showing an analogue of bound ( 5.62 ) for partitions images and images . To begin, for images , we have

(5.63) equation

Now, we observe for images and images that

(5.64) equation

(5.65) equation

Hence, using the right Bonferroni inequality (2.31), we obtain

(5.66) equation

Resuming our bounds, we obtain

(5.67) equation

for all images and images . Then invoking Theorem 5.22 yields

(5.68) equation

Taking images sufficiently small, we obtain ( 5.61 ), which is the desired claim.


Let us denote the join of fields images and images as images . Some consequence of Theorem 5.23 is this approximation result proved by Dobrushin ( 1959 ) and Pinsker ( 1964 ) and used by Wyner ( 1978 ) to demonstrate a generalized chain rule. Applying the invariance of completion, we supply a different proof than Dobrushin ( 1959 ) and Pinsker ( 1964 ).


Theorem 5.24 (Split of join)

Let images , images , images , and images be fields. We have

(5.69) equation

where the supremum is taken over all finite subpartitions.



Proof:

Define class

(5.70) equation

It can be easily verified that images is a field such that images . By definition of images , for all finite partitions images and images , we have images . Moreover, for each finite partition images , there exist finite partitions images and images such that partition images is finer than images . Hence, by Theorem 5.20 , we obtain in this case

(5.71) equation

In consequence, by Theorem 5.23 , we obtain the claim

(5.72) equation


The last auxiliary technical statement we need is as follows:


Theorem 5.25 (Convergence of conditioning)

Let images be a finite partition and let images be a field. For each images , there exists a finite partition images such that for any partition images finer than images we have

(5.73) equation



Proof:

Fix an images . For each images and images , partition

(5.74) equation

is finite and belongs to images . If we consider partition images , it remains finite and still satisfies images . Let a partition images be finer than images . Then

(5.75) equation

almost surely for all images . We also have

(5.76) equation

From the proof of Theorem 5.22 , we recall that function images is subadditive and increasing for images . Applying this observation likewise, for images we obtain almost surely

(5.77) equation

Taking images so large that images yields the claim.


Once we have established continuity of generalized Shannon information measures and the series of technical results, we may inspect whether the polymatroid identities for partitions can be generalized for arbitrary fields. That is, we are going to establish some generalizations of Theorems 5.4–5.7. It would be highly convenient to establish maximally general statements. As we will see, this can be done in full generality, without assuming regular conditional probability.

In the first step of our constructions, let us generalize relations images , images , and images defined for partitions. We use the operation of completion images introduced in Section 3.7.

  1. 1. We will say that field images is finer than field images , written images , if images . For finite partitions images and images , we have images if and only if images .
  2. 2. We will say that field images is almost surely finer than field images , written images , if images . Equivalently, we have images if and only if for each event images , there exists an event images such that images . For finite partitions images and images , we have images if and only if images .
  3. 3. We will say that fields images and images are almost surely equal, written images , if images . For finite partitions images and images , we have images if and only if images .

Similarly, we may generalize the concepts of independence and conditional independence.

  1. 1. We will say that fields images and images are independent, written images , if for all images and images , we have images . For partitions images and images , we have images if and only if images .
  2. 2. We will say that fields images and images are conditionally independent given a field images , written images , if for all images and images , we have images almost surely. We have images if and only if images . For finite partitions images , images , and images , we have images if and only if images .

Extending these concepts, we will say that arbitrary random variables images with image spaces images are (conditionally) independent if the respective preimages images are (conditionally) independent. Moreover, we will say that a stochastic process images is a collection of (conditionally) independent random variables (given images ) if for all images , variables images and images are (conditionally) independent (given images ).

Now, we prove the analogues of polymatroid identities, i.e. Theorems 5.4–5.7. First, Theorem 5.4 can be generalized without a problem.


Theorem 5.26

Let images and images be fields. We have images .



Proof:

We have

  1. 1. images .
  2. 2. images .
  3. 3. images .

Theorem 5.5 can be also generalized.


Theorem 5.27

Let images , images , and images be fields. We have

  1. 1. images .
  2. 2. images with equality if and only if images .


Proof:

  1. 1. Trivial.
  2. 2. We have images if and only if images almost surely for all finite partitions images and images . The latter holds if and only if images .

The generalization of Theorem 5.6 is as follows:


Theorem 5.28

Let images , images , and images be fields. We have

(5.78) equation



Proof:

We have images for all images almost surely if and only if images for all images almost surely. The last condition is equivalent to images by the following reasoning. First, for an images , let images . If images almost surely, we have

(5.79) equation

(5.80) equation

(5.81) equation

Hence, images , so images . To prove the converse, we notice that images implies images almost almost surely. Thus, we have proved ( 5.78 ).


Theorem 5.7 , i.e. the chain rule, can be also restated in full generality.


Theorem 5.29 (Chain rule)

Let images , images , images , and images be fields. We have

(5.82) equation



Proof:

Let images , images , images , and images be arbitrary fields, and let images , images , images , and images be finite partitions. The point of our departure is the chain rule for finite partitions

(5.83) equation

demonstrated in Theorem 5.7 . By Definition 5.12 and Theorems, conditional mutual information images can be approximated by images , where we take appropriate limits of refined finite partitions with a certain care.

In particular, by Theorems 5.23 , 5.24, taking sufficiently fine finite partitions of arbitrary fields images and images , the chain rule ( 5.83 ) for finite partitions implies

(5.84) equation

where all expressions are finite. Hence, we also obtain

(5.85) equation

where all expressions are finite. Having established the above claim for finite images , we generalize it to

(5.86) equation

for an arbitrary field images , taking its appropriately fine finite partitions.


Now, we will produce some corollaries of the generalized polymatroid identities. We say that a images ‐field images is trivial if images for all images . We have this corollary of Theorems 5.19 and 5.26–5.29, which is an analogue of Theorem 5.8 .


Theorem 5.30

For any fields, we have

  1. 1. images if images .
  2. 2. images if and only if images .
  3. is trivial.
  4. 4. images for images .
  5. 5. images .
  6. 6. images if images .
  7. 7. images if images .
  8. 8. images .
  9. 9. images .
  10. 10. images if images and images .


Proof:

The proof is analogous to the proof of Theorem 5.8 .


As another exercise, we leave proving the following expressions of Shannon information measures in terms of joint entropies, which generalizes Theorem 5.3 .


Theorem 5.31

Let images be fields. If the negative terms are finite, we have

  1. 1. images .
  2. 2. images .
  3. 3. images .

Finally, we state equality of conditional mutual information for fields that are almost surely equal.


Theorem 5.32

We have images if images , images , and images .



Proof:

For images , we have images almost surely. Assume next images and images . Then for any partitions images and images , there exist partitions images and images such that images and images . Hence, by Theorem 5.9 , we obtain images almost surely. Taking expectations and suprema, we obtain the claim.


5.4 Block Entropy Limits Revisited

Let us come back to stationary processes. In view of the developments in the previous section, we can indeed interpret entropy rate and excess entropy as conditional entropy and mutual information, respectively.


Theorem 5.33

Consider a finite entropy stationary process images , where images . We have

(5.87) equation

(5.88) equation



Proof:

The claims follow by Theorems 5.20 , 5.21 , and 5.23 .


The above result matters not only for aesthetic reasons. Theorem 5.33 is the first step to prove the ergodic decomposition of the entropy rate and excess entropy. This topic requires some preparation. First, we need to denote some special images ‐fields. The first definition is just a convenient notation.


Definition 5.13 (Preimage images ‐field)

Let images be a random variable with an image space images on a measurable space images . The preimage images ‐field of images will be denoted as

(5.89) equation


Next, we define the images ‐fields of blocks, semi‐infinite past and future, and tail images ‐fields.


Definition 5.14 (Some images ‐fields of a process)

Consider a stochastic process images on a probability space images , where images . We define

  • the images ‐fields of blocks

    (5.90) equation

  • the images ‐fields of semi‐infinite past and future

    (5.91) equation

  • the tail images ‐fields of past and future

    (5.92) equation


Another simple definition we need is a concept of the random ergodic measure of a stationary process. This is just the conditional distribution of the process with respect to the invariant images ‐field.


Definition 5.15 (Random ergodic measure)

For the process as in Definition 5.14 , let images be the invariant images ‐field for the shift operation (4.1). If images ‐field images is countably generated, we define the random ergodic measure of the process as the conditional probability measure

(5.93) equation

‐field of this random variable as

(5.94) equation


Now, we will state some auxiliary proposition concerning the above defined images ‐fields. The proposition states that the invariant images ‐field is contained in the intersection of completed tail images ‐fields. For the sake of this statement, let images be the class of stationary measures on the measurable space images with the shift operation (4.1). Let images be the completion of a class of events images with respect to the class of probability measures images , defined in (3.85).


Theorem 5.34

If the images ‐field images is countably generated, then

(5.95) equation



Proof:

Let images ‐fields images be generated by countable classes images . Let images be some enumeration of sets images . We have images , where images is a countable field. Consider a stationary measure images . By Theorem 3.29 , we obtain images , where

(5.96) equation

On the other hand, by the Birkhoff ergodic theorem ( Theorem 4.6 ), we have images images ‐almost surely for each images . Since each images belongs to some images , then images is measurable with respect to images for each images . Hence, images is images ‐measurable. In this way, we obtain images . Applying the Birkhoff ergodic theorem to operation images , we obtain the complementary claim images . In this way, we derive

(5.97) equation

Applying the intersection over all images to all terms of ( 5.97 ) yields the claim.


Subsequently, we may state the main result of this section, namely, the ergodic decomposition of entropy rate and excess entropy. Continuing our earlier notation, by images and images we will denote the entropy rate and the excess entropy of the random ergodic measure, i.e. images and images are the random variables which take the values of entropy rate and excess entropy of some processes distributed according to the values of the random measure images .


Theorem 5.35 (Ergodic decomposition)

Consider a finite entropy stationary process images , where images and images is countable. We have

(5.98) equation

(5.99) equation



Proof:

Random variables images and images are measurable since they are limits of measurable random variables by the definition of entropy rate and excess entropy. In particular, by Theorem 5.33 , we have

(5.100) equation

(5.101) equation

Since images , we hence obtain

(5.102) equation

(5.103) equation

by the dominated and monotone convergence, respectively (Theorems 3.10 and 3.8) and further by Theorems 5.20 , 5.21 , and 5.23 . Consequently, the application of Theorems 5.34 and 5.32 and claim (10) of Theorem 5.30 yields

(5.104) equation

(5.105) equation


By formula ( 5.98 ), a stationary process is asymptotically deterministic, i.e. it has the zero entropy rate if and only if its random ergodic measure is asymptotically deterministic almost surely. In contrast, by ( 5.99 ), a stationary process is infinitary, i.e. it has an infinite excess entropy not only if its random ergodic measure is infinitary with a strictly positive probability but also when the invariant images ‐field has the infinite entropy. Decomposition ( 5.98 ) is a result by Gray and Davisson ( 1974a , b ). Decomposition ( 5.99 ) is a result by Dębowski ( 2009 ). Some generalization of formula ( 5.99 ) was derived by Löhr ( 2009 ) for statistical complexity, i.e. the entropy of prediction process, or so‐called images ‐machine – see Problem 8 .

In the next two sections, we will see how Theorem 5.35 combined with certain related results yields a characterization of some asymptotically deterministic and infinitary processes. These results shed some light onto a possible reason why texts in natural language should be modeled by an infinitary process, exhibiting the relaxed Hilberg hypothesis (1.71). The plausible reason can be the phenomenon of strong nonergodicity, which was introduced half‐formally in Section 1.11. We will develop these ideas further in Chapter 8 .

5.5 Convergence of Entropy

To characterize some asymptotically deterministic processes, let us link the convergence of simple random variables with inclusion of images ‐fields, via conditional entropy. The following two results provide another perspective of the Riesz theorem ( Theorem 3.27 ) and its applications, such as Theorem 3.29 .

We begin with two simple results, which we will call the Fano inequalities. The first inequality is actually due to Fano ( 1961 ), the other is a simple converse.


Theorem 5.36 (Fano inequalities)

Let function images be given by

(5.106) equation

and images to assure continuity. Let images be a simple random variable, where images . We have

  1. 1. For any images ‐measurable random variable images ,

    (5.107) equation

  2. 2. Let images be an images ‐measurable random variable such that images if images for all images . Then

    (5.108) equation



Proof:

Let images . As for statement (1), we obtain

(5.109) equation

As for statement (2), by concavity of images , we have

(5.110) equation

for images . In particular,

(5.111) equation


Now, we can show the main theorem of this section.


Theorem 5.37

Let images be a simple random variable. Consider images ‐fields images . The following statements are equivalent:

  1. 1. images for some images ‐measurable simple variables images .
  2. 2. images .
  3. 3. images .
  4. 4. images is images ‐measurable.


Proof:

Statements (1) and (2) are equivalent by the Fano inequalities ( Theorem 5.36 ). Statements (2) and (3) are equivalent by claim (3) of Theorem 5.23 , whereas statements (3) and (4) are equivalent by claim (3) of Theorem 5.30 .


It is an important assumption in the above theorem that random variable images assumes only a finite number of values. Consider a random variable images that takes values in natural numbers and has an infinite entropy images . Let images for images and images else. We have images since images and images . But images .

Theorem 5.37 gives rise to the following characterization of asymptotically deterministic processes in the finite alphabet case. Namely, a process is asymptotically deterministic if and only if each random variable is a measurable function of its infinite past.


Theorem 5.38

Consider a stationary process images , where images and images is finite. We have images if and only if there exists a measurable function images such that images almost surely for all images .



Proof:

By Theorems 5.37 and 5.33 , images if and only if each images is measurable with respect to the completion of the images ‐field generated by the infinite past images . This is equivalent to the existence of a measurable function images such that images almost surely.


The results mentioned in this section come from Dębowski ( 2009 ). Theorem 5.38 suggests that asymptotic determinism – or the zero entropy rate – should not be satisfied by natural language. It seems unlikely that we could perfectly predict the next symbol of any text given an infinite amount of previously generated texts. There should exist some hidden variables involved in the text generation which would make such a perfect prediction impossible.

5.6 Entropy as Self‐Information

The ergodic decomposition of excess entropy ( 5.99 ) illustrates that the concept of entropy as self‐information images arises naturally when the chain rule is nonatomic.


Theorem 5.39

images if images contains a nonatomic sub‐ images ‐field.



Proof:

Let images be an images ‐measurable fair‐coin process. Such a process exists by Theorem 3.5 . For any natural number images , we have images . Hence, the claim follows:


Thus, for a real random variable images , the self‐information entropy images should not be confused with the differential entropy defined as

(5.112) equation

where images is the Lebesgue measure and images is the probability density. Although the appropriate difference of differential entropies for two real random variables equals the mutual information, usually we have images .

Now let us specialize the above result to the ergodic decomposition of excess entropy ( 5.99 ). Necessarily, when the invariant images ‐field has infinite entropy, then the process is nonergodic. This observation motivates this definition.


Definition 5.16 (Strongly nonergodic process)

A process images will be called strongly nonergodic if images contains a nonatomic sub‐ images ‐field.


In the half‐formal Section 1.11, we have introduced a different definition of strongly nonergodic processes, which is more complicated but motivated by modeling semantics of texts in natural language. In Section 8.3 , we will prove formally that these two distinct definitions are equivalent.

By the ergodic decomposition of excess entropy, strongly nonergodic processes are infinitary. This gives a partial characterization of infinitary processes.


Theorem 5.40

Strongly nonergodic stationary processes satisfy images .



Proof:

By definition of a strongly nonergodic process, images contains a nonatomic sub‐ images ‐field. Hence, images by Theorems 5.39 and 5.35 .


Theorem 5.40 was noticed by Dębowski ( 2009 ). Less formalized intuitions about links between nonergodicity and infinite excess entropy were presented independently later by Crutchfield and Marzen ( 2015 ).

Now, we will present a simple example of a strongly nonergodic process. It begins with a familiar example, the Bernoulli processes.


Definition 5.17 (Bernoulli processes)

A process images , where images , is called a Bernoulli( images ) process, where images , if

(5.113) equation

A process images , where images , is called a mixture Bernoulli process if

(5.114) equation


The plain Bernoulli processes are ergodic.


Theorem 5.41

The Bernoulli( images ) processes are ergodic.



Proof:

Bernoulli( images ) processes are IID processes. They are mixing by Theorem 4.14 and hence, they are ergodic.


In contrast, the mixture Bernoulli process satisfies the desired property of strong nonergodicity.


Theorem 5.42

The mixture Bernoulli process is strongly nonergodic.



Proof:

The mixture Bernoulli process is a convex combination of uncountably many different stationary ergodic measures and hence, by the second ergodic decomposition theorem ( Theorem 4.20 ), it is nonergodic. Now, we will show it is strongly nonergodic. Let images be a Bernoulli( images ) process with respect to measure images , where images , and a mixture Bernoulli process with respect to measure images . Then by the uniqueness of the ergodic decomposition we have

(5.115) equation

Now define random variable

(5.116) equation

Random variable images is images ‐measurable. By the ergodic theorem, equality images holds images ‐almost surely. Thus,

(5.117) equation

‐field.


By Theorems 5.40 and 5.42 , the mixture Bernoulli process satisfies images . In the concluding result of this section, we will show that the block mutual information for this process grows much slower than implied by Hilberg's hypothesis ( 5.15 ).


Theorem 5.43

For the mixture Bernoulli process, images .



Proof:

Let images . Variable images is a function of images and it can be shown that images and images are conditionally independent given images . Hence,

(5.118) equation

since random variable images assumes images distinct values.


In general, a function images of a random variable images is called a sufficient statistic for predicting a random variable images if images and images are conditionally independent given images . Like in ( 5.118 ), it can be shown that inequality images holds in this case. For the mixture Bernoulli process, we have shown that the mutual information images grows quite slowly since we can construct a sufficient statistic with a relatively small entropy. In contrast, in Section 8.3 and Chapter 11 , we will formally discuss the Santa Fe processes, half‐formally mentioned in Section 1.11. Santa Fe processes are some simple strongly nonergodic processes, more motivated by the semantics of natural texts, for which the block mutual information grows at a power‐law rate, as implied for instance by the relaxed Hilberg hypothesis (1.71). The sufficient statistic for these processes takes a form which is quite different from the statistic images for the Bernoulli process.

Problems

  1. 5.1 Consider a random variable images and a number images . Show that

    (5.119) equation

  2. 5.2 Show that a stationary process images over a finite alphabet is mixing if and only if for any images we have

    (5.120) equation

  3. 5.3 , we have

    (5.121) equation

  4. 5.4 Consider a random variable images whose distribution is

    (5.122) equation

    where images and images . Show that its entropy satisfies images for images and images for images .

  5. 5.5 Let images be a stationary Markov process where variables images take values in natural numbers but 1 and have the marginal distribution of images in ( 5.122 ). Let images with images for a function images with images finite be a stationary hidden Markov process. Show that there exist constants images such that the block mutual information of process images satisfies

    (5.123) equation

    This result was shown by Dębowski ( 2014 ).

  6. 5.6 Let images and images be discrete random variables. An important problem in the interpretation of mutual information between images and images is whether this quantity is close to the Shannon entropy of a certain random variable images depending on images and images . Such entropy images is usually called common information between images and images . There are two simple choices of common information. Respectively, the Gács–Körner common information and the modified Wyner common information are defined as

    (5.124) equation

    (5.125) equation

    Show that

    (5.126) equation

    Can these inequalities be strict? The original Wyner common information is defined as the infimum of mutual information images rather than entropy images . The above results were shown by Gács and Körner ( 1973 ) and Wyner ( 1975 ).

  7. 5.7 . Show that

    (5.127) equation

  8. 5.8 Consider a stochastic process images on a probability space images , where images and the alphabet images is finite. The prediction process images , introduced by Knight ( 1975 ) and called the images ‐machine by Shalizi and Crutchfield ( 2001 ), is a sequence of random measures

    (5.128) equation

    Show that

    1. images is a stationary process.
    2. images is a nondiscrete Markov process, i.e. images .
    3. images is a nondiscrete hidden Markov process with the underlying Markov process images , i.e. images .
    4. images is unifilar given images , i.e. images .
    5. images , where images is the entropy rate of images .
    6. images , where images is called the statistical complexity of images and images is the excess entropy of images .
    7. images , where images is the invariant images ‐field, images is the random ergodic measure of images , and images is the statistical complexity of images .

    Remark : These results were formally demonstrated by Löhr ( 2009 ), based on half‐formal considerations by Shalizi ( 2001 ) and Shalizi and Crutchfield ( 2001 ). The idea of the prediction process was introduced by Knight ( 1975 ) in the more general setting of continuous time. Unifilar processes are the stochastic analogue of deterministic finite‐state automata, see Hopcroft and Ullman ( 1979 ). Recent computational experiments by Braverman et al. ( 2019 ) and Hahn and Futrell ( 2019 ) seem to show that both excess entropy and statistical complexity of natural language are large.