Power Laws for Information

This chapter opens the exposition of more original research, done mostly by the author of this book. In the chapters to follow, we would like to discuss stochastic processes that satisfy certain power laws common to natural language. As we have identified in Chapter 1 , there are several such power laws possibly exhibited by texts in natural language: power‐law growth of block mutual information (1.132), power‐law logarithmic growth of maximal repetition (1.133), and power‐law decay of mutual information between individual characters (1.134). Plausibly, there may be more such laws. It is important to understand to what extent these laws are mathematical consequences of one another. For possible applications in engineering and artificial intelligence, it is also vital to understand general constructions of stochastic processes that satisfy these power laws as well as to comprehend reasons why these laws are satisfied.

We will begin, in this chapter, with a discussion of power laws that are connected to the growth of mutual information between two adjacent blocks of a random text. In the context of natural language modeling, the power‐law growth of block mutual information is called the relaxed Hilberg hypothesis, as it was discussed in Section 1.9. A large body of our research concerned relating this hypothesis to other plausible statistical patterns of natural language. Some natural candidates have been the famous Zipf law concerning the distribution of words in texts and its corollary, Herdan's law, stating a power‐law growth of the vocabulary size with the text length.

The author of this book was convinced already in 2000 that such a link should be true. However, it took him a long time as a nonprofessional mathematician to absorb enough formal knowledge to express his intuitions as sound theorems – the theorems about facts and words, which were half‐formally introduced in Section 1.12. The heuristic idea of such results was stated by Dębowski ( 2006 ), whereas fully formal proofs were presented by Dębowski ( 2011 , 2018a ). Although the general wording of the theorems about facts and words is not complicated, namely, there should be more distinct words in a text than independent facts, it was a long journey to identify and fill all gaps in the proofs. We have realized that, in order to present the whole reasoning, its motivations, and conceptual preliminaries, we need to write this book.

With the motivations described in Chapter 1 and the formal preliminaries described in Chapters 2 – 7 , we can now proceed to the core results of this book, stated as follows. In Section 8.1 , we will investigate a convenient concept of the Hilberg exponent of a real number sequence, which is the exponent of the tightest power‐law upper bound of the sequence. Hilberg exponents were mentioned in the half‐formal Section 1.9. We will formulate a few general statements concerning this concept. In particular, we will bound the Hilberg exponent for an increasing sequence of random variables with the Hilberg exponents for sequences of their medians and expectations.

In Section 8.2 , we will apply the above results to pointwise and expected mutual information between increasing blocks drawn from a stationary process. We will see that the Hilberg exponent for pointwise mutual information is almost surely constant for ergodic processes. Moreover, this exponent is less than the Hilberg exponent for expected mutual information and is equal to it if the Hilberg exponent for the variance of mutual information is sufficiently small. This statement resembles somehow the Shannon–McMillan–Breiman (SMB) theorem discussed in Chapter 6 , and for this reason, it will be called the second order SMB theorem.

Section 8.3 is a conceptual preparation for Section 8.4 . We will seek to understand the anatomy of strongly nonergodic processes, half‐formally mentioned in Section 1.11 and formally defined in Section 5.6 , and a related concept of perigraphic processes, also half‐formally analyzed in Section 1.11. It turns out that these notions can be related to the phenomenon of keywords and the topical variation of texts in natural language. We can ask what happens when the description of the topic of an infinite text is infinitely complex, necessarily describable by a sequence of algorithmically or probabilistically random bits. Let us call these bits algorithmic or probabilistic facts, respectively. It turns out that if there are infinitely many independent probabilistic facts for a text generated by a stationary probability measure, then the respective process is strongly nonergodic. We exhibit a simple example of such processes, called Santa Fe processes. These processes satisfy a stronger property, namely, the number of facts that are described in a finite text grows like a power of the text length. Motivated by this example, we define perigraphic processes as having this general property.

In Section 8.4 , we formulate and demonstrate the theorems about facts and words half‐formally mentioned in Section 1.12. These propositions link the Hilberg exponents for three sorts of quantities: the number of independent facts that are described in a finite text drawn from a stationary process, the mutual information between two adjacent text blocks of the same length, and the number of distinct words detected in the text by the prediction by partial matching (PPM) algorithm introducedin Section 6.3 . It turns out that those Hilberg exponents are dominated in order that we have named them, i.e. a random text must contain roughly more distinct words than independent facts. There are two versions of this proposition, one for algorithmic facts and another for probabilistic facts. Seen from a linguistic perspective, these theorems link the relaxed Hilberg hypothesis, introducedin Section 1.9 with some sort of Herdan's laws for words and facts, introduced in Section 1.3.

8.1 Hilberg Exponents

In this section, we will study some general properties of power‐law growth of sequences of random variables induced by stationary stochastic processes. Suppose that we have a real function of strings images and a certain stationary stochastic process images , where images . Suppose also that function images grows asymptotically linearly. To be a bit more specific, let us assume that there exist random limits

(8.1) equation

A function images that satisfies ( 8.1 ) will be called an extensive function. By a generalization of the SMB theorem noticed in Problem 6.3, some example of an extensive function is

(8.2) equation

or, by Problem 7.15, we can also put

(8.3) equation

where images is the prefix Kolmogorov complexity of string images given an object images . In both cases,

(8.4) equation

is the Shannon entropy rate of the random ergodic measure.

Knowing of the asymptotic relationship ( 8.1 ), we may be subsequently interested in characterizing the asymptotic behavior of function

(8.5) equation

which will be called the excess function. In case of ( 8.2 ) and ( 8.3 ), the excess function equals the respective pointwise mutual information. Of course, equalities ( 8.1 ) imply

(8.6) equation

Hence, the excess function images is a sublinear function of the block length images . In particular, the excess function may exhibit an asymptotic power‐law growth, the phenomenon of our present interest. However, we should be aware that the excess function images may grow by leaps and bounds so we need an appropriately general theory.

While characterizing the behavior of the excess function images , it is insightful to look first at the average case. Assume that there exist expectations

(8.7) equation

(8.8) equation

(8.9) equation

This happens both for ( 8.2 ) and ( 8.3 ). For example, for ( 8.2 ), we obtain the Shannon entropy images and the mutual information images .

By stationarity of images , the expected excess function satisfies

(8.10) equation

whereas both for ( 8.2 ) and ( 8.3 ) by the SMB theorem ( Theorem 6.9 ) we obtain the asymptotic expected rates

(8.11) equation

(8.12) equation

Let us assume that the expected extensive function images satisfies

(8.13) equation

This happens both for ( 8.2 ) and ( 8.3 ). As shown in the following proposition, in this case, it turns out that the expected excess function images must be positive for infinitely many images .


Theorem 8.1 (Excess bound)

For a function images , define images . If images for a images and images for all but finitely many images then

(8.14) equation

for infinitely many images .


is subadditive, i.e. unless the excess function is positive,

(8.15) equation

Then, condition ( 8.14 ) is, of course, satisfied for all images .


Proof of Theorem 8.1 :

We have the identity

(8.16) equation

For images tending to infinity, the above implies

(8.17) equation

Putting images , we obtain

(8.18) equation

for all but finitely many images . If images held only for finitely many images , then the sum in ( 8.18 ) would be strictly negative for all sufficiently large images . Hence, images must hold for infinitely many images .


Suppose now that the expected extensive function satisfies

(8.19) equation

for a certain images . Then, applying Theorem 8.1 to function images we obtain inequality

(8.20) equation

for infinitely many images . Thus, we have obtained an asymptotic power‐law bound for the expected excess function images . In general, the asymptotic power‐law growth may be captured by the following concept of the Hilberg exponent.


Definition 8.1 (Hilberg exponent)

The Hilberg exponent of a function images is defined as

(8.21) equation

where images for images and images for images .


. Property ( 8.12 ) implies also

(8.22) equation

Let us compare the Hilberg exponents for functions images and images . They turn out to be equal if the expected excess function images is bounded below by a constant.


Theorem 8.2 (Excess bound)

For a function images , define images . If images for a images then

(8.23) equation

with an equality if images for all but finitely many images and some images .



Proof:

Write images . Since the left hand of ( 8.23 ) side is less than 1, it is sufficient to prove this inequality for images . Observe then that images for all but finitely many images for any images . Then for images , by the telescope sum ( 8.17 ), we obtain for sufficiently large images that

(8.24) equation

Since images can be taken arbitrarily small, we obtain ( 8.23 ).

Now assume that images for all but finitely many images . By the telescope sum ( 8.17 ), we have images for sufficiently large images . Hence,

(8.25) equation

Thus, we obtain the equality in ( 8.23 ).


Subsequently, we will investigate the Hilberg exponents for some sequences of real random variables. We will present four propositions which restate some results from Dębowski ( 2015a , 2018a ) with certain modifications. They relate the Hilberg exponent for an approximately growing sequence of bounded below random variables to the Hilberg exponent for their expectations. In the following, for a probability space images , we call a measurable transformation images stationary or ergodic if the probability measure images is stationary or ergodic with respect to images , respectively.


Theorem 8.3

Consider a sequence of real random variables images . If images is a stationary ergodic transformation of the probability space and images for all images , then random variable images is almost surely constant.



Proof:

Denote random variable images . By the hypothesis images , we obtain

(8.26) equation

But images is stationary, so random variables images and images have the same distribution. Combining these two observations yields

(8.27) equation

Hence, images for images . Hence, images . But images is ergodic, so the latter means that images is almost surely constant.


To state some further results, we need to introduce the essential infimum and the essential supremum of a real random variable.


Definition 8.2 (Essential infimum and supremum)

Let images be a real random variable. We define the essential infimum and the essential supremum as

(8.28) equation

(8.29) equation



Theorem 8.4

Consider a sequence of real random variables images . If inequalities

(8.30) equation

(8.31) equation

are satisfied for all images and some images then

(8.32) equation



Proof:

For images , we have

(8.33) equation

can be almost surely defined on a sparse subsequence,

(8.34) equation

As we will show now, condition ( 8.34 ) is sufficient to obtain inequality ( 8.32 ). Denote the Hilberg exponent for images as

(8.35) equation

Now take an images . Since images hence from the Markov inequality ( Theorem 3.11 ), we have

(8.36) equation

where images . Hence, by the Borel–Cantelli lemma ( Theorem 3.12 ),

(8.37) equation

Since we can take images arbitrarily small then we obtain the claim.


We recall that images stands for the median of a real random variable images . Some generalization of this concept are quantiles

(8.38) equation

for images . We have images , images , and images , see Problem 1 .


Theorem 8.5

Consider a sequence of real random variables images such that images for some images . For any images , we have

(8.39) equation



Proof:

Let images be a sequence of real random variables such that

(8.40) equation

we have

(8.41) equation

Now denote images . Then,

(8.42) equation

Consequently, for any images , we obtain

(8.43) equation

Hence, for images we have

(8.44) equation

Since function images is strictly growing for images and images , we have

(8.45) equation

Resuming these two observations, we obtain

(8.46) equation

for any images . Thus, we have derived the claim.


For a real random variable images , we denote the variance images .


Theorem 8.6

Consider a sequence of real random variables images . We have

(8.47) equation



Proof:

Applying the median–mean inequality (3.45), we obtain inequalities

(8.48) equation

which imply the claim.


In the following sections, we will see some applications of the above results. Theorems 8.4 and 8.5 can be further strengthened, see Problem 8.3 .

8.2 Second Order SMB Theorem

In this section, we will derive a sublinear analogue of the SMB theorem ( Theorem 6.1 ) for the block mutual information. The material in this section comes from Dębowski ( 2015a ) with some modifications. The preliminaries are as follows. For an extensive function images and a stationary stochastic process images , where images , let us consider the pointwise excess function

(8.49) equation

and the random variables

(8.50) equation

Some particular extensive functions which we will consider in this section are the prefix‐free Kolmogorov complexity conditioned on an object images ,

(8.51) equation

and the pointwise entropy of the distribution of the process,

(8.52) equation

For these functions, let us denote the Hilberg exponents

(8.53) equation

(8.54) equation

(8.55) equation

Exponent images is a real random variable, whereas exponents images and images are real numbers.

First, we will prove the theorem which links the expected and the random Hilberg exponents for Kolmogorov complexity. Although the Kolmogorov complexity itself is uncomputable, the Hilberg exponents for Kolmogorov complexity can be evaluated in some cases and enjoy a few nice properties. These properties stem from the fact that function images up to an additive constant equals the algorithmic mutual information

(8.56) equation

which is a positive and growing function in some approximation.


Theorem 8.7

Consider a discrete‐valued stationary process images and the extensive function ( 8.51 ). We have

(8.57) equation

with an equality if images . Moreover, exponent images is almost surely constant for an ergodic process over a finite alphabet.



Proof:

  1. The first claim, i.e. inequality ( 8.57 ) follows by Theorems 8.4 – 8.6 since, as we will prove, we have

    (8.58) equation

    (8.59) equation

    for images . First, for strings images and images , we denote the algorithmic mutual information

    (8.60) equation

    By Theorem 7.15 , for images , we obtain

    (8.61) equation

    whereas for images , we have

    (8.62) equation

    Put images , images , images , and images . Since images , hence

    (8.63) equation

    whereas by Theorem 7.29 ,

    (8.64) equation

    It suffices now to relate images and images . In fact, using identity images from Theorem 7.20 , we can show

    (8.65) equation

    which completes the proof.

  2. . This yields

    (8.66) equation

    Thus, for the shift transformation (4.1), we obtain

    (8.67) equation

    Hence, for a finite alphabet, random variable images is invariant, i.e. images almost surely. Since the process is ergodic, it means that images must be almost surely constant.


In the following, we will show that the Hilberg exponents for the Kolmogorov complexity and the pointwise entropy are almost surely equal if we condition the Kolmogorov complexity on the probability measure of the process. The result follows by Theorem 7.32 .


Theorem 8.8

Consider a discrete‐valued stationary process images and the extensive function ( 8.51 ) with images , where images is the probability measure of the process. We have

  1. images ,
  2. images almost surely,
  3. images .


Proof:

We note that images and, in the following, we apply some partial results from Theorem 7.32.

  1. By (7.75) and (7.76), we obtain

    (8.68) equation

    Thus, images .

  2. By (7.75) and (7.78), we obtain

    (8.69) equation

    for all but finitely many images almost surely. Thus, images holds almost surely.

  3. By (7.75) and (7.77), we obtain

    (8.70) equation

    Subsequently, this yields

    (8.71) equation

    for some constants images . Hence, equality images follows by the relation

    (8.72) equation


Theorems 8.7 and 8.8 can be combined into a second‐order analogue of the SMB theorem ( Theorem 6.1 ). The original idea of the SMB theorem was to relate the asymptotic growth of the pointwise and the expected entropies for an ergodic process images . In contrast, relating the random Hilberg exponent images and the expected Hilberg exponent images means relating the rate of growth of the pointwise and expected mutual informations, which are differences of the respective entropies. This is a somewhat subtler effect than the SMB theorem, hence our “second‐order” terminology.


Theorem 8.9 (Second order SMB theorem)

Consider a discrete‐valued stationary process images and the extensive function ( 8.52 ). We have

(8.73) equation

with an equality if images . Moreover, exponent images is almost surely constant for an ergodic process over a finite alphabet.



Proof:

The claim follows by Theorems 8.7 and 8.8 .


Hilberg exponents images and images can be effectively computed for some simple processes such as Bernoulli processes or Santa Fe processes, to be discussed in the next section. The reader is referred to Dębowski ( 2015a ), see also Problem 4 .

8.3 Probabilistic and Algorithmic Facts

In Definitions 4.3, 4.5, and 4.6, we have subsequently defined ergodic processes as such that have a trivial invariant images ‐field, whereas in Definition 5.16 , we have defined strongly nonergodic processes as those whose invariant images ‐field contains a ‐field. In this section, we will present a different characterization of ergodic and strongly nonergodic processes which is based on a reflection upon natural language, sketched in the half‐formal Section 1.11. However, we will present the ideas in the opposite direction than in Section 1.11, i.e. we will discuss the probabilistic approach first and seek for its algorithmic counterpart afterward.

As a prerequisite, we recall that according to the Birkhoff ergodic theorem ( Theorem 4.6 ), a process is ergodic if and only if the relative frequency of any finite subsequence in a random sample converges to a certain constant in the long run. Consider now the following thought experiment. Suppose that we select a random book from a library. Yaglom and Yaglom ( 1983 ) observed that there is hardly any book that contains a large number of occurrences of both word lemma and word love . Simply put, there are some keywords that are specific to particular topics of texts and the relative frequencies of these keywords are higher for books concerning some topics, whereas they are lower for books concerning other topics. In other words, the relative frequencies of keywords are random variables with values depending on the particular topic of the randomly selected book. Since keywords are just some particular strings, we may conclude that the stochastic process that models arbitrary books in natural language should be nonergodic.

The above thought experiment provides another perspective onto nonergodic processes. Counting the relative frequencies of keywords, such as lemma or love , we can effectively recognize the topic of a random text. In general, we can imagine quite arbitrary methods of topic identification. According to the following Theorems 8.10 and 8.11 , a process is nonergodic exactly when we can distinguish in the limit at least two random topics in it. Functions images and images appearing in these statements serve that goal. Precisely, they assume values 0 or 1 when we can identify some partial description of the topic, whereas they take value 2 when we are not certain which partial topic description should be assigned to the text.

In the following, let images be the invariant images ‐field of the process images for the shift operation (4.1) and let images be the completion of a images ‐field images .


Theorem 8.10

Assume that images is a stationary process. A random bit images is images ‐measurable if and only if it satisfies condition

(8.74) equation

for any images and some function images .



Proof:

In the following, images denotes the shift operation (4.1), whereas images is the images ‐field generated by random variables images .

Assume first that images is images ‐measurable. Hence, by Theorem 5.34 , variable images is also images ‐measurable. Hence, by Theorem 5.37 , images for satisfies condition ( 8.74 ).

As for the converse, assume that images satisfies ( 8.74 ). By Theorem 5.37 , variable images is images ‐measurable. Consider random variables images . By condition ( 8.74 ), images , for all images , and hence images by stationarity of images . The latter implies images almost surely and thus images is images ‐measurable.


Now let us introduce this definition.


Definition 8.3 (Probabilistic fact)

A random bit images satisfying condition ( 8.74 ) will be called a probabilistic fact.


A probabilistic fact tells which of two topics the infinite text generated by the stationary process is about. It is a kind of a random switch which is preset before we start scanning the infinite text, compare this statement with a similar wording by Gray and Davisson ( 1974b ). Consequently, a process is nonergodic when there exists at least one probabilistic fact which is not constant.


Theorem 8.11

A stationary process images is nonergodic if and only if there exists a random bit images which satisfies condition ( 8.74 ) and has distribution

(8.75) equation



Proof:

By Definition 4.6 , process images is ergodic if and only if there does not exists a images ‐measurable binary random variable images with distribution ( 8.75 ). Hence, the claim follows by Theorem 8.10 .


As for books in natural language, we may have an intuition that the pool of available book topics is extremely large and contains many more topics than just two. For this reason, we may need not a single probabilistic fact images but rather a sequence of probabilistic facts images to specify the topic of a random book completely. Formally, a stationary processes requiring an infinite sequence of independent uniformly distributed probabilistic facts to describe its topic turns out to be strongly nonergodic.


Theorem 8.12

A stationary process images is strongly nonergodic if and only if condition

(8.76) equation

.



Proof:

By Definition 5.16 , process images is strongly nonergodic if and only if images contains a nonatomic sub‐ images ‐field. By Theorem 3.5 this holds if and only if there exists a images ‐measurable fair‐coin process images . Hence, the claim follows by Theorem 8.10 .


Theorem 8.12 was established by Dębowski ( 2009 ).

As we have stated above, for a strongly nonergodic process, there is an infinite number of independent probabilistic facts images with a uniform distribution on the alphabet images . Formally, these probabilistic facts can be assembled into a single real random variable images , which is uniformly distributed on the unit interval images , i.e. according to the Lebesgue measure. The value of random variable images identifies the topic of a random infinite text. Thus, for a strongly nonergodic process, we have a continuum of available topics which can be incrementally identified from any sufficiently long text.

As shown in Theorem 5.42 , the mixture Bernoulli process (5.114) is some example of a strongly nonergodic process. In this case, the random parameter images defined in Eq. (5.116) plays the role of the random variable images . As another example, we will construct now some strongly nonergodic processes for which condition ( 8.76 ) can be verified directly and easily. The example comes under an umbrella of Santa Fe processes. The first mention of Santa Fe processes appears in articles (Dębowski, 2009 , 2011 ).


Definition 8.4 (Mixture Zipfian Santa Fe process)

Let images be an independent identically distributed (IID) process assuming values in natural numbers with distribution

(8.77) equation

where images is the Riemann zeta function, and let images be a fair‐coin process independent from process images . Then, the mixture Zipfian Santa Fe process images with an exponent images is defined as

(8.78) equation



Theorem 8.13

Mixture Zipfian Santa Fe processes are strongly nonergodic.



Proof:

Mixture Zipfian Santa Fe process are strongly nonergodic since condition ( 8.76 ) holds for example for

(8.79) equation

Simply speaking, function images returns 0 or 1 when an unambiguous value of the second constituent can be read off from pairs images and returns 2 when there is some ambiguity. Condition ( 8.76 ) is satisfied since

(8.80) equation


Some property that distinguishes the mixture Zipfian Santa Fe processes from the mixture Bernoulli process (5.114) is a power‐law growth of the number of inferrable probabilistic facts, definedas follows.


Definition 8.5 (Set of inferrable probabilistic facts)

For a strongly nonergodic stationary process images , let images be a fair‐coin process that satisfies condition ( 8.76 ). The set of probabilistic facts inferrable from block images is defined as

(8.81) equation


In other words, we have images where images is the largest number such that images for all images .


Theorem 8.14

For the mixture Zipfian Santa Fe process with an exponent images and function ( 8.79 ),

(8.82) equation

(8.83) equation



Proof:

First, we obtain

(8.84) equation

. It is easy to observe that

(8.85) equation

Hence, by the Borel–Cantelli lemma ( Theorem 3.12 ), we obtain images for all but finitely many images almost surely.

Second, we obtain

(8.86) equation

where we use inequality images . Put now images . We obtain

(8.87) equation

so we obtain

(8.88) equation

Hence, the Borel–Cantelli lemma ( Theorem 3.12 ) yields images for all but finitely many images almost surely. Combining this result with the previous result yields equality ( 8.82 ).

To obtain equality ( 8.83 ), we notice that images is a positive growing function of images and we invoke Theorem 8.4 for the lower bound, whereas for the upper bound we observe that

(8.89) equation

where the last term decays according to the stretched exponential bound ( 8.87 ) for images .


As it was motivated in Section 1.11, we may ask whether the idea of the power‐law growth of the number of inferrable facts can be translated somehow to the case of ergodic processes. Some straightforward method to apply is to replace the fair‐coin process images with a certain algorithmically incompressible sequence of particular binary digits images . Subsequently, let us try to generalize condition ( 8.76 ) as

(8.90) equation

In fact, condition ( 8.90 ) is trivially satisfied for any stationary process for a certain recursive function images and an algorithmically incompressible , we recover condition ( 8.90 ).

In spite of this negative result, let us define the set of algorithmic facts inferrable from an arbitrary stationary process.


Definition 8.6 (Set of inferrable algorithmic facts)

For a strongly nonergodic stationary process images , let images be an algorithmically incompressible sequence that satisfies condition ( 8.90 ) for a certain recursive function images . The set of algorithmic facts inferrable from block images is defined as

(8.91) equation


Subsequently, we will call a process perigraphic if the expected number of algorithmic facts which can be inferred from a finite text sampled from the process grows asymptotically like a power of the text length.


Definition 8.7 (Perigraphic process)

A stationary discrete process images is called perigraphic if

(8.92) equation

for some recursive function images and an algorithmically incompressible sequence images .


The concept of a perigraphic process was introduced by Dębowski ( 2018a ).

Let us also adjust the definition of the Santa Fe process.


Definition 8.8 (Individual Zipfian Santa Fe process)

Let images be an IID process assuming values in natural numbers with the power‐law distribution ( 8.77 ), and let images be an arbitrary algorithmically incompressible sequence of binary digits. Then, the individual Zipfian Santa Fe process images with an exponent images is defined as

(8.93) equation



Theorem 8.15

Individual Zipfian Santa Fe processes are ergodic.



Proof:

Individual Zipfian Santa Feprocess are IID processes, which are mixing and ergodic by Theorem 4.14 .



Theorem 8.16

For the individual Zipfian Santa Fe process with an exponent images and function ( 8.79 ),

(8.94) equation

(8.95) equation



Proof:

We obtain the proof by plugging images instead of images in the proof of Theorem 8.14 .


According to the above proposition, individual Zipfian Santa Fe processes are perigraphic. But as we will show in the next section, not every process is perigraphic since all perigraphic processes have nonrecursive distributions.

8.4 Theorems About Facts and Words

Consider the Shannon mutual information images between two blocks of an infinite random text and let us consider its limit, the excess entropy

(8.96) equation

where the second equality was established in Theorem 5.33 . In Theorem 5.40 , we have shown that images for any strongly nonergodic process. Intuitively, we may expect this result since an infinite sequence of independent random bits images can be learned given either the infinite past or the infinite future of images .

Subsequently, Theorem 5.40 can be strengthened in form of an inequality between the mutual information and the expected number of facts that can be inferred from a finite random text. Moreover, using Theorem 6.16 for the PPM probabilities, we can demonstrate a reverse inequality between the mutual information and the expected number of PPM words detected in the random text. Chaining these two results together, we obtain statements which we call theorems about facts and words, which were mentioned half‐formally in the introductory Section 1.12. These statements say that the number of inferrable independent facts must be roughly smaller than the number of detected PPM words. The theorems hold both in a probabilistic and an algorithmic setting.

The preliminaries are as follows. Let us restrict ourselves to processes over a finite alphabet. We will compare the Shannon entropy images , the Kolmogorov complexity images , and the PPM probability of a random block images . We recall notation images . Since the PPM probability is a recursive distribution then by (7.79), we have

(8.97) equation

whereas by (7.80), we have

(8.98) equation

Hence, by Theorem 5.12 (existence of the entropy rate) and Theorem 6.7 (universality of the PPM probability), we obtain equality of rates

(8.99) equation

Moreover, for a stationary process, the mutual information satisfies

(8.100) equation

(8.101) equation

Hence,by Theorem 8.2 , we obtain a network of inequalities

(8.102) equation

We also note this auxiliary statement.


Theorem 8.17

For a random variable images with values in natural numbers,

(8.103) equation

(8.104) equation



Proof:

Let images . By the Gibbs inequality ( Theorem 3.18 ) and the Jensen inequality ( Theorem 3.14 ), we have

(8.105) equation

is computable, we obtain

(8.106) equation


Having these results, we may formulate the main statements of this section. The first one is the theorem about probabilistic facts and mutual information.


Theorem 8.18 (Probabilistic facts and mutual information)

Let images be a stationary strongly nonergodic process, where images are random variables over a finite alphabet images . We have inequality

(8.107) equation



Proof:

Let us write images . Observe that

(8.108) equation

where the last row of inequalities follows by Theorem 8.17 . Hence, by the inequality

(8.109) equation

for a measurable function images and by the chain rule for Shannon entropy (7.43), we obtain

(8.110) equation

Now we observe that

(8.111) equation

by Theorem 5.34 . Hence, we have

(8.112) equation

Chaining inequalities ( 8.110 ) and ( 8.112 ) and network ( 8.102 ), we obtain ( 8.107 ).


There is also an algorithmic version of the above theorem, which can be applied to perigraphic processes in particular. Once we replace probabilistic facts with algorithmic facts, we have to replace the Shannon mutual information with the algorithmic mutual information.


Theorem 8.19 (Algorithmic facts and mutual information)

Let images be a stationary process, where images are random variables over a finite alphabet images . We have inequality

(8.113) equation



Proof:

Let us write images . Observe that there exists a constant images depending on images such that

(8.114) equation

(8.115) equation

where the first row of inequalities follows by the algorithmic incompressibility of images , whereas the second row of inequalities follows by Theorem 8.17 . Moreover, for any a recursive function images , we have

(8.116) equation

Hence, applying the chain rule for Kolmogorov complexity (7.44), we obtain

(8.117) equation

where images is the recursive function from Definition 8.6 . Hence, by the Jensen inequality ( Theorem 3.14 ),

(8.118) equation

Now we observe that

(8.119) equation

by Theorems 3.18 and 7.24. Hence, we derive

(8.120) equation

Chaining inequalities ( 8.118 ) and ( 8.120 ) and network ( 8.102 ), we obtain ( 8.113 ).


Applying inequalities ( 8.118 ) and ( 8.119 ) from the proof of the above theorem, we can also show that perigraphic processes have nonrecursive distributions in general. This result was mentioned in the previous section.


Theorem 8.20

Any perigraphic process has a nonrecursive distribution.



Proof:

Assume that a perigraphic process images has a recursive distribution images . By inequalities ( 8.118 ) and ( 8.119 ), we have

(8.121) equation

Since for a recursive distribution images we have inequality (7.79) then

(8.122) equation

Since we have obtained a contradiction with the assumption that the process is perigraphic, measure images cannot be recursive.


Now we come back to universal semidistributions and the PPM probabilities. Using Theorem 6.16 , we can demonstrate an opposite inequality between the Shannon or algorithmic mutual information and the expected number of distinct PPM words that can be detected in a random text.


Theorem 8.21 (Mutual information and PPM words)

Let images be a stationary process, where images are random variables over a finite alphabet images . Let . There holds inequality

(8.123) equation



Proof:

By Theorem 6.17 and stationarity, we obtain

(8.124) equation

Hence, inequality ( 8.123 ) follows by network ( 8.102 ).


Combining Theorems 8.18 and 8.21 , we obtain a neat statement which links the expected number of independent facts that can be inferred from a random text with the expected number of distinct PPM words that can be detected in a random text. Namely, the number of inferred facts is roughly smaller than the number of the detected PPM words, if the PPM order does not grow too fast.


Theorem 8.22 (Probabilistic facts and PPM words)

Consider a strongly nonergodic stationary process images , where images and the alphabet images is finite. We have inequalities

(8.125) equation



Proof:

The claim follows by conjunction of Theorems 8.18 and 8.21 .


The above theorem has also an algorithmic version, for ergodic and perigraphic processes in particular.


Theorem 8.23 (Algorithmic facts and PPM words)

Consider a stationary process images , where images and the alphabet images is finite. We have inequalities

(8.126) equation



Proof:

The claim follows by conjunction of Theorems 8.19 and 8.21 .


, was stated by Dębowski ( 2011 ), see Problem 7.4. Dębowski was not aware at that time of Theorem 8.2 . Using Theorem 8.2 , his result for the minimal grammar‐based codes can be strengthened as well. We will not discuss this issue, however, since the respective minimal grammar‐based codes probably cannot be computed in a reasonable time, see Charikar et al. ( 2005 ).

Let us recall the empirical observations from Section 1.12. In Figure 1.6, we have presented the growth of the PPM order images and the number of PPM words images for Shakespeare's First Folio/35 plays and a random permutation of the text characters. For the plays of Shakespeare, we seem to have a stepwise power law growth of images with the Hilberg exponent close to 0.8, whereas for the random permutation of characters we seem to obtain the Hilberg exponent equal to 0. Noticing the difference between these observations, we might suppose that the number of inferrable probabilistic or algorithmic facts for texts in natural language also obeys a power‐law growth. Formally, however, we cannot make such a deduction since inequalities ( 8.125 ) and ( 8.126 ) can be strict.

The strictness of inequalities ( 8.125 ) and ( 8.126 ) probably can be related to the following observations, see Problem 5.6. First, the Gács–Körner common information between random variables images and images is

(8.127) equation

Gács and Körner ( 1973 ) showed that common information images satisfies inequality images , which is usually strict. In our application, expectation images may be close to the Gács–Körner common information between block images and the persistent topic images . Hence, images may be much smaller than mutual information images , which is close to mutual information images . Second, a similar idea might be possibly applied to the to the upper bound mutual information images . Namely, the modified Wyner common information between random variables images and images is

(8.128) equation

Wyner ( 1975 ) proved that common information images satisfies inequality images , which is usually strict. In our application, expectation images may be close to the modified Wyner common information between blocks images and images , which is larger than mutual information images .

Let us also note that the theorems about facts and words have been stated only for processes over a finite alphabet, whereas Santa Fe processes, our basic Chapter, we will construct some strongly nonergodic and perigraphic processes over a finite alphabet via an operation called quasiperiodic coding, to be discussed in Section 10.2 . xThis operation will be applied to Santa Fe processes in particular, so these processes are indeed convenient guiding examples in our theory.

Problems

  1. 8.1 Show that

    (8.129) equation

    (8.130) equation

  2. 8.2 Show that for images we have

    (8.131) equation

    (8.132) equation

  3. 8.3 Show that the claims of Theorems 8.4 and 8.5 hold also for images and images , images , where images .

  4. 8.4 Show that:

    1. images almost surely for the Bernoulli( images ) process.
    2. images almost surely for the mixture Zipfian Santa Fe process with an exponent images .

    Having solved the task, see Dębowski ( 2015a ) for the solution.

  5. 8.5 Let images be positive real functions of an arbitrary argument images . Suppose that for images we may define

    (8.133) equation

    (8.134) equation

    Show that:

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

    What if we replace term images in ( 8.133 ) and ( 8.134 ) with a subadditive or a superadditive function images of the argument images ? Can these observations be somehow related to the theorems about facts and words and Problem 8.4?

  6. 8.6 Consider an arbitrary infinite sequence images over a countable alphabet. Show that

    (8.135) equation

  7. 8.7 Define the Kolmogorov order of a string

    (8.136) equation

    where images is the empirical entropy. Argue that images , where images is the maximal repetition. Denote the respective Kolmogorov vocabulary as images . Consider an arbitrary infinite sequence images over a finite alphabet. Show that

    (8.137) equation

  8. 8.8 Consider a stationary ergodic images th order Markov process images . Show that

    (8.138) equation

    holds for the empirical entropy images of a string images .

  9. 8.9 Let a sequence images be Martin‐Löf random with respect to a stationary ergodic images th order Markov measure. Prove inequalities

    (8.139) equation

    for the Kolmogorov order images , the Markov order images , and the PPM order images .

    Remark : Can these inequalities be strengthened as equalities or generalized to an arbitrary stationary ergodic measure? Denote the consistent estimator of the Markov order by Morvai and Weiss ( 2005 ) as images and define the respective vocabulary images . If we could prove that

    (8.140) equation

    which is Martin‐Löf random with respect to a stationary ergodic measure over a finite alphabet then we would obtain a pointwise version of the theorem about mutual information and words, namely,

    (8.141) equation

  10. 8.10 Consider a stationary ergodic process images . Define

    (8.142) equation

    (8.143) equation

    Construct some examples of stationary ergodic processes such that:

    1. images ;
    2. images ;
    3. images ;
    4. images and images ;
    5. images and images ;
    6. images and images .

    Compare your constructions with examples of processes presented in Chapter 11 .