Toy Examples

In this chapter, we will discuss some toy examples of stochastic processes that can or cannot model some particular statistical phenomena possibly exhibited by natural texts, i.e. texts in natural language. As mentioned in Section 1.15, there are four phenomena pertaining to natural texts which we may consider first:

  • The strictly positive Shannon entropy rate:

    (11.1) equation

  • The power‐law growth of block mutual information:

    (11.2) equation

  • The power‐law logarithmic growth of maximal repetition:

    (11.3) equation

  • The power‐law decay of mutual information between individual symbols:

    (11.4) equation

Respectively, the above laws have been proposed by Shannon ( 1951 ), Hilberg ( 1990 ), Dębowski ( 2012b ), and Lin and Tegmark ( 2017 ).

Intentionally, we have mentioned above only those statistical phenomena that can be expressed using purely information‐theoretic concepts, such as entropy, mutual information, or maximal repetition. It should be noted that quantitative linguists have identified a few other laws, see Köhler et al. ( 2005 ). Potentially, for the approach developed in our book, the most interesting of these omitted laws is the Menzerath–Altmann law, which states that the longer a given linguistic construction is, the shorter its parts are on average (Menzerath, 1928 ; Altmann, 1980 ). Dębowski ( 2007b ) tried to relate the Menzerath–Altmann law to minimal grammar‐based codes, which also exhibit hierarchical constructions. Thus, in principle, minimal grammar‐based codes could allow to discuss the Menzerath–Altmann law for arbitrary stochastic processes, but Dębowski ( 2007b ) did not succeed in observing any particular pattern for an independent identically distributed (IID) process in a simple numerical simulation. In consequence, we have concentrated our efforts on providing mathematical examples for statistical laws that are simpler to analyze and model.

The present chapter is divided into five sections discussing progressively more complicated examples of processes and relating them to laws ( 11.1 )–( 11.4 ). In Section 11.1 , we will discuss finite and ultrafinite energy processes. Finite and ultrafinite energy processes are defined by a condition that the probability of a block of random variables is an exponentially decaying function of the block length. Finite and ultrafinite energy processes have a strictly positive Shannon entropy rate ( 11.1 ) but they do not satisfy either a power‐law growth of mutual information ( 11.2 ) or a power‐law logarithmic growth of maximal repetition ( 11.3 ). Since typical hidden Markov processes are finite energy then we should treat these results as an indication that natural texts cannot be accurately modeled by hidden Markov processes, although these processes were quite successfully used in computational linguistics.

In Section 11.2 , we will exhibit a few variations of Santa Fe processes, introduced informally in Section 1.11 and defined formally in Section 8.3 . As motivated in Section 1.11, a Santa Fe process is a series of abstract random propositions making assertions about an infinite random reality. In particular, we may split a Santa Fe process into a static description of a time‐independent reality and a narration process which chooses which facts about the reality are described by texts. Tampering further, we may generalize the definition of a Santa Fe process so that the reality described texts becomes slowly evolving rather then time‐independent.

Whereas the original definition of a Santa Fe process makes use of a countably infinite alphabet, the process can be successfully encoded into a finite alphabet using the quasiperiodic coding introduced in Chapter 10 . This construction will be performed in Section 11.3 , and we will show that it preserves all vital properties of a Santa Fe process. Given simple conditions, the encoded Santa Fe processes are strongly nonergodic, perigraphic, or none of them, which provides simple examples and counterexamples for theorems about facts and words demonstrated in Chapter 8 . The examples of Santa Fe processes considered in Sections 11.2 and 11.3 enjoy both a strictly positive Shannon entropy rate ( 11.1 ) and power‐law growing block mutual information ( 11.2 ). However, the considered encodings of Santa Fe processes into a finite alphabet seem to be finite energy and fail to satisfy power‐law logarithmic growth of maximal repetition ( 11.3 ). Maybe there exist other encodings of Santa Fe processes which do not have this drawback.

In Section 11.4 , we will present a class of random hierarchical association (RHA) processes, which were mentioned without definition in Section 1.13 and which will be analyzed to a lesser extent. RHA processes are constructed by forming an Chapter 10 . We can show that for a simple choice of parameters, called perplexities, which control the number of random texts in the pool, RHA processes satisfy both a power‐law growth of mutual information resembling ( 11.2 ) and a power‐law logarithmic bound for maximal repetition resembling ( 11.3 ). Unfortunately, these RHA processes do not have a strictly positive Shannon entropy rate ( 11.1 ). However, as mentioned in Section 1.14, we suppose that exactly these RHA processes satisfy the power‐law decay of mutual information between individual symbols ( 11.4 ). The exact calculation is left as an open problem.

In Section 11.5 , we will recapitulate the above results and put them in context of statistical language modeling. We will discuss advantages and disadvantages of the toy examples of processes presented in the preceding sections and we will sketch some further research ideas. In our opinion, there is an important open problem whether the power‐law logarithmic growth of maximal repetition ( 11.3 ) and the power‐law decay of mutual information between individual symbols ( 11.4 ) imply the power‐law growth of block mutual information ( 11.2 ). The motivating idea inspired by our thinking about natural language is that the complex reality repeatedly described in natural texts may emerge as a result of our tendency to repeat previously encountered text chunks.

11.1 Finite and Ultrafinite Energy

In this section we will study finite and ultrafinite energy processes. The finite energy condition is more general than that of ultrafinite energy. Some examples of ultrafinite energy processes are hidden Markov processes with bounded emission probabilities and a finite number of hidden states, whereas some examples of finite energy processes are also Zipfian Santa Fe processes. We will show that ultrafinite energy processes have a finite excess entropy and a strictly positive Shannon entropy rate ( 11.1 ) whereas finite energy processes have a strictly positive conditional min‐entropy rate. Therefore, all ultrafinite energy processes fail to satisfy the power‐law growth of block mutual information ( 11.2 ), whereas all finite energy processes fail to satisfy the power‐law logarithmic growth of maximal repetition ( 11.3 ).

To begin, we consider these definitions.


Definition 11.1 (Finite energy process)

A discrete process images , where images or images and images , is called a finite energy process if

(11.5) equation

.



Definition 11.2 (Ultrafinite energy process)

A discrete process images , where images or images and images , is called an ultrafinite energy process if

(11.6) equation

(11.7) equation

for all images , all images , all images , and certain constants images and images .


We have already encountered condition ( 11.7 ) written as condition (9.31).

The following fact can be easily seen.


Theorem 11.1

Any ultrafinite energy process is a finite energy process.


Before we discuss some general properties of finite energy and ultrafinite energy processes, let us present some examples of these processes. In fact, a large subclass of IID, Markov, and hidden Markov processes are both finite energy and ultrafinite energy processes.


Theorem 11.2

For a stationary hidden Markov process images denote the underlying Markov process images . Process images is finite energy if

(11.8) equation



Proof:

We observe that random variables images and images are conditionally independent given images . Hence,

(11.9) equation

In consequence, we obtain

(11.10) equation

Hence, process images is finite energy.



Theorem 11.3

For a stationary hidden Markov process images denote the underlying Markov process images . Process images is ultrafinite energy if we have ( 11.8 ) and

(11.11) equation


Condition ( 11.11 ) is satisfied if the hidden alphabet images is finite.


Proof:

By Theorem 11.2 , conditions ( 11.5 ) and ( 11.6 ) are satisfied if ( 11.8 ) holds true. It remains to prove ( 11.7 ). We observe that random variables images and images are conditionally independent given images . Thus

(11.12) equation

Hence, process images is ultrafinite energy.


Since all IID processes and all Markov processes are instances of hidden Markov processes, they are also finite energy and ultrafinite energy given some versions of conditions ( 11.8 ) and ( 11.11 ). Moreover, nonergodic processes made by averaging the distributions of such processes are also finite energy processes, as it can be asserted in the following result.


Theorem 11.4

A stationary process is finite energy if the process is finite energy with fixed constants images and images with respect to the random ergodic measure images almost surely, where images is the invariant images ‐field.



Proof:

If images holds almost surely then images holds for images .


Recall now Zipfian Santa Fe processes defined in Definitions 8.4 and 8.8.


Theorem 11.5

The mixture and individual Zipfian Santa Fe processes are finite energy processes.



Proof:

We have images almost surely where images is a finite energy IID process. Hence, process images is finite energy by Theorem 11.4 .


Another subclass of finite energy processes are uniformly dithered processes.


Definition 11.3 (Uniformly dithered process)

Let images be a group, i.e. a pair of a set images and a binary operation images which is associative, that is, images , has an identity element images , that is, images , and for each images there exists the inverse element images , that is, images . A discrete stochastic process images is called uniformly dithered if it satisfies

(11.13) equation

where images is an arbitrary discrete process and images is an independent IID process with

(11.14) equation


Information theorists may regard uniformly dithered processes as stochastic processes passed through a special noisy channel which distorts symbols of the process in quite a symmetric way. We have this result.


Theorem 11.6

Any uniformly dithered process is a finite energy process.



Proof:

Consider process images . Then,

(11.15) equation

Let us denote images and images . Using the fact that images and images are independent, we can further write

(11.16) equation

since

(11.17) equation

Hence, images is a finite energy process.


We suppose that uniformly dithered processes need not be ultrafinite energy.

Let us observe that for a stationary process images , the finite energy condition ( 11.5 ) is equivalent to

(11.18) equation

by the Levy law (3.68). There are two related Doeblin conditions

(11.19) equation

(11.20) equation

for some images and images , see Gao et al. ( 2008 ) and Kontoyiannis et al. ( 1998 ). The first condition can be satisfied for a finite alphabet only. It turns out that both Doeblin conditions are stronger than finite energy.


Theorem 11.7

If a process assuming more than one value satisfies condition ( 11.19 ) then it satisfies condition ( 11.20 ). Moreover, if a stationary process satisfies condition ( 11.20 ) then it is finite energy.



Proof:

First, assume condition ( 11.19 ). Then obviously

(11.21) equation

so we obtain condition ( 11.20 ). Next, assume condition ( 11.20 ). Then

(11.22) equation

and, by stationarity, images , so ( 11.18 ) follows.


Now let us review some general properties of finite energy and ultrafinite energy processes. We have three basic facts.


Theorem 11.8

No stationary finite energy process is asymptotically deterministic.



Proof:

For a stationary finite energy process images , we have images . Hence, the Shannon entropy rate is images .



Theorem 11.9

No stationary ultrafinite energy process is infinitary.



Proof:

For a stationary ultrafinite energy process images , we have images . Hence, the excess entropy is images .



Theorem 11.10

For a finite energy process images , we have

(11.23) equation

for sufficiently large images almost surely, for some images .



Proof:

We have images . Thus the claim follows by Theorems 9.22 and 9.25.


The results discussed in this section come mostly from Dębowski ( 2015b , 2018b ). Finite energy processes were introduced by Shields ( 1997 ) for a study of the maximal repetition. The condition of ultrafinite energy is our invention for the purpose of this book. Let us note that Ko ( 2012 ) introduced a slightly more general class of processes, which he called simple mixing processes. The condition for a simple mixing process is just ( 11.7 ), in contrast to mixing processes defined in Definition 4.8 . Related concepts of mixing have been known in the literature, see Szpankowski ( 1993b ) and Bradley ( 2005 ). Uniformly dithered processes were introduced by Dębowski ( 2015b ). These processes generalize a construction by Shields ( 1997 ), who only considered binary processes and addition modulo 2.

Finite and ultrafinite energy processes have a strictly positive Shannon entropy rate by Theorem 11.8 , probably like the natural language. Yet in view of Theorems 11.9 and 11.10 , finite and ultrafinite energy processes do not satisfy either a power‐law logarithmic growth of maximal repetition or a power‐law growth of mutual information, in contrast to the natural language. Since a large subclass of hidden Markov processes are finite energy processes then we should treat the above facts as an indication that texts in natural language cannot be faithfully modeled by hidden Markov processes. – In fact, hidden Markov processes were widely used in natural language engineering until they were replaced by artificial neural networks. – The same remark applies to Zipfian Santa Fe processes discussed at length in the next two sections. It was also supposed by Kontoyiannis ( 1997 ) that natural language satisfies the Doeblin condition, but we have shown that this condition is stronger than the finite energy condition, whereas natural language does not seem to be finite energy.

11.2 Santa Fe Processes and Alike

In this section, we will study some generalizations of Zipfian Santa Fe processes, introduced half‐formally in Section 1.11 and formally defined in Section 8.3 . A general Santa Fe process can be interpreted a series of random propositions making assertions about an infinite random reality. In particular, we may split a Santa Fe process into a complete description of the reality and a narration process which selects which facts about the reality are described in a given text. As we will see, we can choose the described reality to be static or to evolve in time. Respectively, we obtain strongly nonergodic or mixing processes with a power‐law growth of mutual information ( 11.2 ). These constructions, combined with a stationary coding into a finite alphabet – to be discussed in Section 11.3 , provide conceptually simple examples for theorems about facts and words proved in Chapter 8 .

First, we will study such a generalization of Definition 8.4 .


Definition 11.4 (Mixture Santa Fe process)

Process images of form

(11.24) equation

will be called a mixture Santa Fe process when:

  1. Process images is a fair‐coin process.
  2. Process images is a stationary process with a probability distribution images almost surely for any images , where images is the invariant images ‐field.

For so defined mixture Santa Fe processes, we can generalize Theorem 8.13 .


Theorem 11.11

Mixture Santa Fe processes are strongly nonergodic.



Proof:

Consider functions images of form (8.79). Then,

(11.25) equation

Now, the process images is assumed to be stationary with images . Hence, by the ergodic theorem ( Theorem 4.6 ),

(11.26) equation

holds almost surely. Hence, by the monotone convergence ( Theorem 3.8 ),

(11.27) equation

To complete the proof, we apply Theorem 8.12 .


The above construction of the mixture Santa Fe processes can be motivated linguistically. If images is a random infinite text in natural language, then we can imagine that it consists from some propositions images which assert in particular that the images th fact equals images . Consequently, we may split the process images into a static description of some time‐independent facts images and a narration process images . Theorem 11.11 asserts that under mild condition on the narration process images , the resulting process images is strongly nonergodic.

In particular, if we choose the process images to be an IID process with the power‐law distribution (8.77), we obtain the mixture Zipfian Santa Fe process with an exponent images . A salient feature of the mixture Zipfian Santa Fe processes is a power‐law growth of the number of inferrable facts (8.14). Now, if we could apply the theorem about facts and mutual information ( Theorem 8.18 ), then we would obtain that the mutual information between blocks for the mixture Zipfian Santa Fe process must grow at least as fast as the expected number of inferrable facts,

(11.28) equation

In fact, we should be cautious with such a statement since Santa Fe processes in general are not processes over a finite alphabet, so they do not satisfy an important assumption of Theorem 8.18 .

Nevertheless, using a different method, we are able to show that the block mutual information for a Zipfian Santa Fe process follows an asymptotic power‐law growth with the same exponent as the number of inferrable facts.


Theorem 11.12

For the mixture Zipfian Santa Fe process with an exponent images ,

(11.29) equation



Proof:

In the following, two simple corollaries of the chain rule

(11.30) equation

will be used:

  1. images for the entropies images , where we define the interaction information

    (11.31) equation

  2. images for images and images independent and conditionally independent given images .

The second identity follows from

(11.32) equation

where both images and images .

Now, notice that random variables images , images , are independent and conditionally independent given any finite block images . Hence,

(11.33) equation

Also blocks images and images are conditionally independent given images . Hence, images . Both results yield

(11.34) equation

Computing simple expressions

(11.35) equation

(11.36) equation

we obtain the interaction information

(11.37) equation

and the block mutual information

(11.38) equation

where images .

The summation in the right‐hand side of ( 11.38 ) equals up to an additive constant images to the integral

(11.39) equation

where we use substitution

(11.40) equation

and functions

(11.41) equation

We have the limit

(11.42) equation

with the upper bound

(11.43) equation

Moreover, function images is integrable on images . Hence,

(11.44) equation

follows by the dominated convergence ( Theorem 3.10 ).

It remains to compute images . Putting images yields

(11.45) equation

where integral

(11.46) equation

can be integrated by parts for the considered images .


Theorem 11.12 was established by Dębowski ( 2012a ). As we have seen in the above proof, the calculation of limit ( 11.29 ) is eased by a decomposition of mutual information between blocks images and images into a series of interaction information among blocks images and images and variables images . This decomposition is a particular property of Zipfian Santa Fe processes.

By the construction of individual Zipfian Santa Fe processes, we may suppose that a power‐law growth of algorithmic mutual information between blocks can occur also for ergodic processes. We may also ask whether strong nonergodicity of a process is a necessary condition for a power‐law growth of the Shannon mutual information between blocks. To answer this question, we will tamper with the definition of Zipfian Santa Fe processes to obtain some mixing processes that satisfy a power‐law growth of the block Shannon mutual information. Since mixing processes are ergodic then the answer to our question is negative.

The idea is quite simple. We will consider a modified Santa Fe process, where the probabilistic facts images are replaced by some Markov processes images . In the forthcoming definition of a pseudo Santa Fe process, processes images describe the time evolution of the images th probabilistic fact, where images is the state of the images th fact at instant images and the probability that the images th bit flips at a given instant equals some cross‐over probability images . For vanishing cross‐over probabilities, images , the pseudo Santa Fe processes collapse to the mixture Santa Fe processes.


Definition 11.5 (Zipfian pseudo Santa Fe process)

A process images consisting of random variables

(11.47) equation

is called a Zipfian pseudo Santa Fe process with an exponent images and cross‐over probabilities images , when processes images and images , where images , are probabilistically independent, images is an IID process with distribution (8.77), and each process images is a Markov process with the marginal distribution

(11.48) equation

and the cross‐over probabilities

(11.49) equation


The Zipfian pseudo Santa Fe processes are not strongly nonergodic if all cross‐over probabilities are different from 0 or 1. In fact, we can show that these processes are mixing, and hence, they are ergodic by Theorem 4.11 .


Theorem 11.13

Zipfian pseudo Santa Fe processes are mixing for images .



Proof:

Introduce an auxiliary process images , where images . Process images is a product of independent processes images , images , images , which are all mixing for images by Theorem 4.15 . Hence, process images is mixing by Theorem 4.17 . Having established the mixing property for process images , we notice that images for some measurable function images . Hence, process images is mixing by Theorem 4.16 .


Although the Zipfian pseudo Santa Fe processes are not strongly nonergodic, we can show that the block mutual information grows like a power law if the cross‐over probabilities are sufficiently small, e.g. images . Thus, we may generalize Theorem 11.12 .


Theorem 11.14

The block mutual information images for a Zipfian pseudo Santa Fe process obeys

(11.50) equation

The lower limits in particular cases are as follows:

  1. If images , then

    (11.51) equation

    where

    (11.52) equation

    Above, we apply the entropy images of a two‐point distribution, defined in (5.106).

  2. If   images then images obeys ( 11.29 ).



Proof:

Observe that processes images , where images , are independent and conditionally independent given any finite block images . Also, blocks images and images are conditionally independent given images . Thus, we obtain

(11.53) equation

by replacing images with images in derivation ( 11.34 ) from the proof of Theorem 11.12 .

By the assumed Markov property, process images is independent from images given images . This yields

(11.54) equation

The expressions on the right‐hand side can be analyzed as

(11.55) equation

because images is independent from images given images and images . Moreover,

(11.56) equation

To evaluate the conditional entropies, put images and images . Notice that by the Markovianity of images , we have

(11.57) equation

Similarly, since images , we obtain

(11.58) equation

Thus, we may reconstruct

(11.59) equation

(11.60) equation

and

(11.61) equation

For a fixed images , we see that images is minimized for images . This case arises when images and images are sequences of independent random . In this way, we have proved that

(11.62) equation

On the other hand, images is maximized for images . This holds if images or images . We recall that for images , the process images collapses to a Zipfian Santa Fe process.

Continuing the calculations, by equality ( 11.62 ), we obtain

(11.63) equation

if images for images . To bound coefficients images , observe

(11.64) equation

Hence, images for images if images . Thus we obtain

(11.65) equation

The most tedious part of the proof is completed.

The limiting behavior of the upper bound in ( 11.65 ) has been analyzed in the proof of Theorem 11.12 , and by that reasoning ( 11.50 ) holds. Now we will consider the limit of the lower bound in ( 11.65 ). As in the previous proof, we will approximate the respective sum with an integral. Recall that images with images . Let us define images for real images in the same way.

  1. For images : notice that images implies images . Thus images is greater than

    (11.66) equation

    where we use substitution ( 11.40 ) and functions ( 11.41 ). This yields ( 11.51 ) by the dominated convergence ( Theorem 3.10 ).

  2. For images : let images be the largest number images such that images or put images if there is no such number. Then, images is greater than

    (11.67) equation

    . Thus, the dominated convergence ( Theorem 3.10 ) in both cases yields

    (11.68) equation

    Taking images yields ( 11.29 ).


Theorem 11.14 was established by Dębowski ( 2012a ).

Theorem 11.14 shows that there exist mixing processes which obey a power‐law growth of the block mutual information. Since these processes are ergodic in particular, this demonstrates that in general we do not have equality in inequality (8.107), which links the power‐law growth of the block mutual information and the number of inferrable facts. To make a historical remark, the first example of a mixing process with infinite excess entropy was exhibited by Bradley ( 1980 ).

The Zipfian Santa Fe and pseudo Santa Fe processes are obviously a huge idealization with respect to natural language. They were proposed as very simple models of the power‐law growth of the block mutual information and its possible links to nonergodicity. Yet these processes seem to capture, in an idealized form, some phenomena that may actually take place in natural language. Confronted with a text in natural language we have an impression that it consists of a description of some unchanging reality images or evolving reality images which is controlled by some narration process images . The unchanging reality referred to in the texts may concern objects that do not change in time, like mathematical or physical constants. The evolving reality referred to in the texts may concern objects that evolve with a varied speed, like various facts about culture, language, or geography. It is important to notice that the distinction between the unchanging reality and the evolving reality may be a matter of some modeling approximation since some of the referred objects may evolve so slowly that practically they may be considered constant.

11.3 Encoding into a Finite Alphabet

The topic which we would like to address in this section concerns finite alphabet versions of Santa Fe processes and their generalizations. This topic, albeit technical, is important, since a few interesting theorems, such as the theorems about facts and words (Theorems 8.22 and 8.23), assume that the considered stochastic process is over a finite alphabet. A natural solution of the problem is to encode a process over a countably infinite alphabet, such as a Santa Fe process, into a process over a finite alphabet, using an operation to be called stationary coding. In the stationary coding, we will replace individual symbols from the larger alphabet by sequences over the smaller alphabet and we will concatenate the result, subsequently taking a stationary mean of the process distribution. In fact, this operation is a special case of quasiperiodic coding introduced in Section 10.2 , see also Problem 10.5.

Formally, let a code images , called here a variable length code, map symbols from alphabet images , say countably infinite, into sequences over another alphabet images , say finite. We define the extension images of a variable length code images to doubly infinite sequences as

(11.69) equation

where images and the bold‐face dot separates the zeroth and the first symbol. Then, for a stochastic process images on images , where images , we introduce process

(11.70) equation

with random variables images .

Some drawback of this simple construction is that, even when process images is stationary, the process images need not be stationary. In our applications, however, it is often assumed that the process of interest is stationary. To solve this problem, we notice that transformation images preserves a weaker property. Let

(11.71) equation

be the length of the encoding of symbol images . Suppose that the average length of a symbol encoding tends to some real random variable images , i.e. limit

(11.72) equation

exists almost surely. By the generalized ergodic theorem (see Theorem 10.4 ), this condition is satisfied with images for any asymptotically mean stationary (AMS) process images . Now, by Theorem 10.7 , if images is almost surely strictly positive and finite, that is images , and process images is AMS then process images is also AMS. By definition, process images is AMS if there exists a stationary process images , called the stationary mean, with distribution

(11.73) equation

for all events images measurable with respect to process images . In particular, all stationary processes images are AMS and their stationary means images have the same distributions as processes images .

.


Definition 11.6 (Stationary coding)

The above construction of process images , if it exists, will be called the stationary coding of process images using the variable length code images .


We are interested in a stationary coding which preserves some interesting properties of the encoded process. The first such property is (non)‐ergodicity. It has been shown in Chapter 10 that (non)‐ergodicity of the encoded process is preserved for some nice variable length codes, called synchronizable coding, see Definition 10.4 and Theorem 10.11 . A particular application of Theorem 10.11 is as follows.


Theorem 11.15

Put images and let images be the stationary coding of the Zipfian pseudo Santa Fe process ( 11.47 ) using the variable length code

(11.74) equation

where images is the binary representation of a natural number images , i.e. images , images , images , images , and so on. Then, process images exists and we have:

  1. Process images is ergodic if and only if process images is ergodic.
  2. Process images is strongly nonergodic if and only if process images is strongly nonergodic.


Proof:

Process images is stationary and ergodic since

(11.75) equation

Hence, by the Birkhoff ergodic theorem ( Theorem 4.6 ), we have almost surely that

(11.76) equation

Hence, process images exists by Theorem 10.7 . Moreover, the variable length code images is a comma‐separated code (see Definition 7.5 ) and thus it constitutes a synchronizable coding. Hence, claims (1) and (2) follow by Theorem 10.11 .


is stationary and the average length of a symbol encoding tends to its expectation,

(11.77) equation

This condition is strictly weaker than ergodicity of the process images . As we have observed in the proof of Theorem 11.15 , for the variable length code ( 11.74 ) and a Santa Fe process images , condition ( 11.77 ) holds if the narration process images is ergodic. It turns out that it is exactly the case when we can do some computations for process images .

Formally, let process images be stationary and let condition ( 11.77 ) hold true. Then, we may apply Theorem 10.8 . According to this proposition, as it was shown in Problem 10.5, we may construct process images in the following way. First, we construct a random variable images , called a random shift, and a nonstationary process images where images . Precisely, random variable images and process images are conditionally independent given variable images and their joint distribution is

(11.78) equation

(11.79) equation

In the sequel, process images , being the stationary coding of process images using function images , can be obtained as

(11.80) equation

where images is the shift operation. Construction ( 11.80 ) does not yield the distribution of process images explicitly, but it is sufficiently simple to provide interesting bounds for some statistics of process images .

In case of the Zipfian pseudo Santa Fe processes, there are some further simplifications. For this goal, we define first

(11.81) equation

(11.82) equation

and we observe the following.


Theorem 11.16

Denote blocks images with images removed as images . For a Zipfian pseudo Santa Fe process images and the variable length code ( 11.74 ), variables images and images have the same distribution, whereas variables images and images are probabilistically independent.



Proof:

Notice that images does not depend on images and variable images is independent of block images . Hence,

(11.83) equation

Similarly,

(11.84) equation


Let us continue writing images and images . In the discussed case, variables images are IID. For these variables, we define indices

(11.85) equation

(11.86) equation

where images . For the given distribution of images , we have images for sufficiently small images . By the Jensen Inequality, images is a growing function of images and images is a decreasing function of images . Jensen inequality implies also images .


Theorem 11.17

Consider a Zipfian pseudo Santa Fe process and the variable length code ( 11.74 ). We have

(11.87) equation



Proof:

Consider function images . For images , it is a growing function of images . Consider next such a images that images . For images , we obtain

(11.88) equation

This yields

(11.89) equation

On the other hand, for images , we have

(11.90) equation

Hence,

(11.91) equation


Subsequently, we will derive a special case of the Chernoff bounds.


Theorem 11.18 (Chernoff  bounds)

Consider a Zipfian pseudo Santa Fe process and the variable length code ( 11.74 ). For images , we have

(11.92) equation

(11.93) equation



Proof:

Because variables images are IID, using Markov inequality ( Theorem 3.11 ) we observe

(11.94) equation


Now we can easily check that the number of inferrable facts for the stationary coding of the mixture Zipfian Santa Fe process (i.e. a strongly nonergodic Zipfian pseudo Santa Fe process) is bounded below in the similar fashion as for the unencoded mixture Zipfian Santa Fe process (see Theorem 8.14 ). In the following, we write images when string images is a substring of sequence images .


Theorem 11.19

Put images and let images be the stationary coding of the mixture Zipfian Santa Fe process with an exponent images using the variable length code ( 11.74 ). Consider functions

(11.96) equation

.

  1. Define random variables images . Process images is a fair‐coin process measurable with respect to the invariant images ‐field of process images and it satisfies condition

    (11.97) equation

    for all images and images .

  2. Define the sets of inferrable facts

    (11.98) equation

    We have

    (11.99) equation

    (11.100) equation



Proof:

  1. Let images be the mixture Zipfian Santa Fe process. For the process images given by ( 11.70 ), we have images , where images are independent random bits measurable with respect to the invariant images ‐field of process images . Since process images is AMS, its stationary mean images has the same distribution on the invariant images ‐field, by Theorem 10.1 . Hence, process images is a fair‐coin process measurable with respect to the invariant images ‐field of process images . Using the technique from the proof of Theorem 8.10 , we can show that variables images satisfy condition ( 11.97 ).

  2. First, we will prove ( 11.99 ). Denote images . Observe that

    (11.101) equation

    whereas

    (11.102) equation

    where

    (11.103) equation

    for the function images given in (8.79). Hence, we obtain

    (11.104) equation

    almost surely if the last limit exists. But by Theorem 11.16 and the Birkhoff ergodic theorem ( Theorem 4.6 ), we have

    (11.105) equation

    Thus, applying Theorem 11.16 and (8.82), we obtain ( 11.99 ).

    To obtain equality ( 11.100 ), 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 the following. First, by ( 11.101 ) and ( 11.102 ), we obtain

    (11.106) equation

    Hence, since images is positive and images , we obtain

    (11.107) equation

    By the Chernoff bound ( Theorem 11.18 ), we obtain that images for images and any images . Thus, plugging in images into ( 11.107 ) and noticing that images , we obtain

    (11.108) equation

    Thus, applying Theorem 11.16 and (8.83), we obtain ( 11.100 ).


To the above process images , since it is a process over a finite alphabet, we may apply the theorem about facts and mutual information ( Theorem 8.18 ). By this proposition, the mutual information between blocks for process images must grow at least as fast as the expected number of inferrable facts,

(11.109) equation

In the following, we will show that the mutual information does not grow faster. The theorem will be a bit more general since it will concern the stationary coding of Zipfian pseudo Santa Fe processes.

Before we prove the main theorem, we will demonstrate an auxiliary statement. For an event images , we introduce conditional entropy images and mutual information images , which are respectively the entropy of a random variable images and mutual information between random variables images and images taken with respect to probability measure images .


Theorem 11.20

Let images be the Zipfian pseudo Santa Fe process and consider the variable length code ( 11.74 ). If images , where images , then

(11.110) equation

for certain coefficients images and images .



Proof:

Write images . We have

(11.111) equation

. Hence,

(11.112) equation

Function images is decreasing for images . Put images . Thus by Theorem 11.18 , for images , we obtain

(11.113) equation

Putting images and images yields the claim.


Now let us consider block mutual information for the stationary coding of the Zipfian pseudo Santa Fe process. We will show this fact.


Theorem 11.21

Let images be the stationary coding of the Zipfian pseudo Santa Fe process with an exponent images using the variable length code ( 11.74 ). The block mutual information images for process images satisfies

(11.114) equation

The lower limits in particular cases are as follows:

  1. If images , then

    (11.115) equation

    where images is defined in ( 11.52 ).

  2. If images , then

    (11.116) equation



Proof:

For an images and images , define events

(11.117) equation

(11.118) equation

(11.119) equation

(11.120) equation

(11.121) equation

(11.122) equation

(11.123) equation

as well as for each of the above events images we define the event images by substituting variables images with variables images .

Let us recall the conditional data processing inequality

(11.124) equation

which holds if equalities images and images are satisfied on event images . Hence, by equality ( 11.80 ), for images we have

(11.125) equation

whereas for images we have similarly

(11.126) equation

The above inequalities will be used to bound the block mutual information images in terms of the block mutual information images .

There is an additional fact that we shall use. Let images be the characteristic function of an event images . Observe that

(11.127) equation

where images .

. Then, applying subsequently ( 11.127 ), ( 11.125 ), ( 11.83 ), and ( 11.127 ), we obtain

(11.128) equation

The term images is asymptotically negligible since by Theorem 11.20 , we have

(11.129) equation

Now assume that images . Observe that images . Then, applying subsequently ( 11.83 ), ( 11.127 ), ( 11.126 ), and ( 11.127 ), we obtain

(11.130) equation

The term images is asymptotically negligible since images by Theorem 11.18 and images .

Write

(11.131) equation

(11.132) equation

From bounds ( 11.128 ) and ( 11.130 ) we obtain

(11.133) equation

(11.134) equation

If we consider images , images , and images , then by Eq. (11.87) we obtain

(11.135) equation

(11.136) equation

Consequently, the requested claims follow by Theorem 11.14 .


Theorem 11.21 was proved by Dębowski ( 2012a ).

In Section 11.1 , we have shown that the unencoded Zipfian Santa Fe processes are finite energy, and hence, they do not satisfy a power‐law growth of maximal repetition. This property need not translate to the Zipfian Santa Fe processes encoded into a finite alphabet provided we choose some special stationary coding, different to ( 11.74 ). We leave the construction of such a code as an exercise for the reader. It would be also interesting to check how enforcing the power‐law growth of maximal repetition for the encoded Zipfian Santa Fe process influences the rate of growth of the block mutual information. Are there some nontrivial interactions or inevitable bounds?

11.4 Random Hierarchical Association

In this section, we will construct some processes that satisfy the power‐law logarithmic growth of maximal repetition ( 11.3 ). The processes, called the RHA processes, were enigmatically mentioned in the introductory Section 1.13. The construction of RHA processes is more general than we need and we will only consider some special case which obeys both the power‐law logarithmic growth of maximal repetition ( 11.3 ) and the power‐law logarithmic growth of mutual information ( 11.2 ). Simultaneously, the considered case of an RHA process does not render a strictly positive Shannon entropy rate ( 11.1 ). Maybe one could modify the construction a bit to enforce also this condition without breaking conditions ( 11.2 ) and ( 11.3 ). As an open problem, it would be also interesting to verify whether the power‐law decay of mutual information between individual symbols ( 11.4 ) holds for some RHA processes.

Differently than elsewhere in this book, in this section, we will denote blocks of consecutive symbols as

(11.137) equation

since we need the superscript for additional notations.

Let us recall that in view of Theorems 9.22 and 9.23, a power‐law upper bound for the Hartley entropy of an infinite sequence images implies a power‐law logarithmic lower bound for the maximal repetition images . Thus, looking for examples of sequences that satisfy the power‐law logarithmic growth of maximal repetition ( 11.3 ), we may inspect first sequences with a vanishing Hartley entropy rate

(11.138) equation

Unfortunately, stationary processes consisting of such sequences are asymptotically deterministic, as asserted by the following proposition.


Theorem 11.22

Stationary processes images such that images holds almost surely have the Shannon entropy images .



Proof:

The reasoning involves the random ergodic measure images , where images is the invariant images ‐field. By the first ergodic decomposition theorem ( Theorem 4.19 ), Theorem 9.18 and Theorem 9.2 , we obtain almost surely

(11.139) equation

where images is the block Shannon entropy of measure images . Thus, the Shannon entropy rate of this measure is images by the assumption images , whereas by Theorem 5.35 , we obtain images .


We recall from Section 9.5 that processes with a power‐law logarithmic growth of maximal repetition need not have the Shannon entropy rate images in general. Some example of processes with a strictly positive Shannon entropy rate and the maximal repetition growing faster than any sublinear function was exhibited by Shields ( 1992 ).

We will present now a simple example of a process with the Hartley entropy images upper bounded by a power‐law growth. The example will be called a RHA process. The RHA process is parameterized by certain free parameters which we will call perplexities (a name borrowed from computational linguistics, where it denotes a similar concept). Approximately, perplexity images is the number of distinct blocks of length images that appear in the process realization. It turns out that controlling perplexities, we can control the value of the Hartley entropy and force the Hartley entropy rate to be zero almost surely.

The RHA processes can be viewed as a stochastic variation on theme of context‐free grammars. Whereas some standard stochastic model of context‐free grammars is known in computational linguistics as probabilistic context‐free grammars (PCFGs) or branching processes (Harris, 1963 ; Miller and O'Sullivan, 1992 ; Chi and Geman, 1998 ), we will develop quite a different approach. PCFGs construct a finite hierarchical structure in a top‐down fashion, which results in defining discrete probabilities over finite sequences or trees. In contrast, RHA processes build a hierarchical structure in a bottom‐up fashion – with the infinite height – which results in defining a probability measure over infinite sequences.

Before we introduce a stationary RHA process, let us discuss its nonstationary version, which is simpler. The nonstationary RHA process is constructed in two natural steps. In the first step, for each images iteratively, we construct a pool of images distinct blocks of length images which are either defined as the natural numbers images for images or formed by concatenation of randomly selected pairs chosen from the pool of images distinct blocks of length images for images . In the second step, we obtain an infinite sequence of random numbers by concatenating blocks of lengths images , randomly chosen from the respective pools. As a result there are no more that images distinct blocks of length images that appear in the process realization – which provides a simple upper bound for the Hartley entropy. The selection of these blocks is, however, random and we do not know them a priori. To obtain the stationary RHA process, we take the stationary mean of the nonstationary RHA process, where the stationary mean exists since the nonstationary RHA process turns out to be pseudo AMS.

Now we will write down the construction using symbols.


Definition 11.7 (Nonstationary RHA process)

Let a sequence of natural numbers images satisfy

(11.140) equation

The nonstationary RHA process images with perplexities images is defined as

(11.141) equation

where images and random variables images and images are defined as follows.

First, for each images , let images be a probabilistically independent random combination of images pairs of numbers from the set images drawn without repetition. That is, we assume that each pair images is different, the elements of the pairs may be identical, and the sequence images is sorted lexicographically. Formally, we assume that random variables images and images have the uniform distribution

(11.142) equation

Subsequently, we define random variables

(11.143) equation

(11.144) equation

Finally, let process images be an IID process with the uniform distribution

(11.145) equation

probabilistically independent from process images .


Let us define a few more notations which will be used further. The collection of random variables images will be denoted as

(11.146) equation

We will also use notations

(11.147) equation

(11.148) equation

Let us observe that collection images fully determines variables images for a fixed images . Moreover, sequence images can be parsed into a sequence of random natural numbers images ,

(11.149) equation

and we will denote blocks of consecutive random natural numbers as

(11.150) equation

Generalizing parsing ( 11.149 ), sequence images will be also parsed into a sequence of blocks images of length images , where

(11.151) equation

Let us observe that images , images and in general there exist unique random variables images such that

(11.152) equation

Moreover, generalizing notation ( 11.150 ), we also denote blocks of length images starting at any position as

(11.153) equation

Let us prove this useful property.


Theorem 11.23

Variables images are independent from images and satisfy

(11.154) equation



Proof:

Each random number images is a function of the random number images for some images and the random pool images . Hence, images are independent from images . Now we will show by induction on images that equality ( 11.154 ) is satisfied.

The induction begins with images and images . These two variables are independent by definition and by definition images is uniformly distributed on images . It remains to show that so is images . Observe that images are independent of images . Hence, for images we obtain

(11.155) equation

so images is uniformly distributed on images .

The inductive step is as follows: (i) if images is uniformly distributed on images then

(11.156) equation

is uniformly distributed on images , and (ii) if images is uniformly distributed on images then

(11.157) equation

is uniformly distributed on images . Now observe that images are independent of images . Hence, for images we obtain

(11.158) equation

we obtain

(11.159) equation

Hence,

(11.160) equation

which proves claim (ii).


In view of the above theorem, blocks images are identically distributed. Thus, although the RHA processes defined in Definition 11.7 are not stationary, as we will see in the next assertion, they have the stationary mean, i.e. they are pseudo AMS processes (see Definitions 10.2 and 10.6). Let

(11.161) equation

be the shift operation.


Theorem 11.24

RHA processes are pseudo AMS. In particular, for an RHA process images , let us denote a stationary process images distributed according to the stationary mean

(11.162) equation

For any images , we have

(11.163) equation



Proof:

Block images is a substring of block images for images and images . In particular, there exist functions images such that

(11.164) equation

Hence, by Theorem 11.23 , probabilities images are periodic functions of images with period images . This implies that limits ( 11.162 ) exist and satisfy ( 11.163 ) for any block images , so process images is pseudo AMS.



Definition 11.8 (Stationary RHA process)

Process images from Theorem 11.24 will be called the stationary mean of the respective RHA process, or briefly, the stationary RHA process.


It is easier to analyze the behavior of blocks drawn from the RHA process than the behavior of its stationary mean, but we can provide some links between functionals of an RHA process and its stationary mean. First, we will compare the Shannon block entropies for these two processes.


Theorem 11.25

For any images we have

(11.165) equation



Proof:

By the Jensen inequality for function images and Theorem 11.24 , we obtain

(11.166) equation

Now, we observe that for each images and images there exists a images such that images is a substring of and Theorem 11.24 , we obtain

(11.167) equation

Now, we observe that for each images and images there exists a images such that images is a substring of images . Thus, we have images . This combined with inequality ( 11.167 ) yields images .


Analogously, we can bound other increasing functions of the stationary mean. We will say that a function images is increasing if for images being a substring of images , we have images . Examples of increasing functions include the maximal repetition images , the Hartley entropy images , and the indicator function images , where images is increasing.


Theorem 11.26

For an increasing function images and any images , we have

(11.168) equation



Proof:

By Theorem 11.24 ,

(11.169) equation

Now we observe that for each images and images there exists a images such that images is a substring of images . Thus we have images . This combined with equality ( 11.169 ) yields images . On the other hand, for each images and images there exists a images such that images is a substring of images . Thus we have images . This combined with equality ( 11.169 ) yields images .


In view of Theorems 11.25 and 11.26 , it suffices to investigate the distribution of blocks images to obtain some bounds for the stationary mean. In the next theorem, we will state a simple upper bound for the Hartley entropy of the nonstationary RHA process. From this bound, we can obtain a lower bound for the maximal repetition via Theorems 9.22 and 9.23.


Theorem 11.27

For the RHA process,

(11.170) equation



Proof:

For a given realization of the RHA process (i.e. for fixed blocks images ), there are at most images different values of blocks images . Therefore, there are at most images different values of blocks images in sequence images .


Similarly, we will bound the Shannon entropies of the nonstationary RHA process. The first result is a corollary of Theorem 11.23 , which says that conditional entropy of blocks images given the entire pool of admissible blocks of the same length images is exactly equal to the logarithm of perplexity.


Theorem 11.28

We have

(11.171) equation

(11.172) equation



Proof:

Given images , the correspondence between images and images is one‐to‐one. Hence, images . From Theorem 11.23 , we further obtain images and images .


The second result is an exact expression for the entropy of the pool of admissible blocks images , also in term of perplexities.


Theorem 11.29

We have

(11.173) equation



Proof:

The claim follows by the chain rule images from images and images .


Combining the above two results, we can provide an upper bound for the unconditional entropy of blocks images .


Theorem 11.30

We have

(11.174) equation



Proof:

For images we have images , whereas images .


Let us observe that inequality images gives a certain lower bound for the block entropy of the RHA process. Quite often, this lower bound is orders of magnitude smaller than the upper bound 11.174 .

Given Theorems 11.28 and 11.30 , we may introduce an important parameter of the RHA process, which we will call the combinatorial entropy rate.


Definition 11.9 (Combinatorial entropy rate)

The combinatorial entropy rate of the RHA process is defined as

(11.175) equation



Theorem 11.31

We have

(11.176) equation



Proof:

On the one hand, by Theorem 11.28 ,

(11.177) equation

On the other hand, by Theorem 11.30 ,

(11.178) equation


Theorem 11.31 combined with Theorem 11.25 yields a bound for the entropy rate of the stationary mean of the RHA process.


Theorem 11.32

We have

(11.179) equation



Proof:

Divide the sides of inequality ( 11.165 ) by images and take the infimum.


In particular, the combinatorial entropy rate is zero if and only if the entropy rate of the stationary mean is zero as well.

Finally, we will demonstrate that the stationary RHA process with suitable perplexities constitutes a regular Hilberg process.


Theorem 11.33

Let images . For perplexities

(11.180) equation

the stationary RHA process images satisfies the following:

  1. The Shannon entropy rate is

    (11.181) equation

  2. The Shannon block entropy is sandwiched by inequalities

    (11.182) equation

  3. The Hartley entropy is upper bounded by inequality

    (11.183) equation

  4. The maximal repetition is lower bounded by inequality

    (11.184) equation



Proof:

  1. For perplexities ( 11.180 ), the combinatorial entropy rate is images . Hence,the Shannon entropy rate is zero by Theorem 11.32 .

  2. By ( 11.173 ), entropy images can be bounded as

    (11.185) equation

    Hence, from ( 11.174 ), for images we obtain an upper bound

    (11.186) equation

    If we choose images , then for perplexities ( 11.180 ) we obtain

    (11.187) equation

    On the other hand, by images we obtain

    (11.188) equation

    By ( 11.187 ) and ( 11.188 ), from Theorem 11.25 , we obtain the desired sandwich bound for the entropy of the stationary mean.

  3. By Theorems 11.27 and 11.26 we obtain

    (11.189) equation

    Hence almost surely we have images , which implies ( 11.183 ) for a certain constant images .

  4. By Theorems 9.22 and 9.23, inequality ( 11.184 ) follows from ( 11.183 ).


The construction of RHA processes and the above results were introduced by Dębowski ( 2017 ). The paper discussed also some more precise upper bounds for the maximal repetition and lower bounds for the Shannon entropy but reviewing the paper contents for this book, we have discovered some gaps in the reasoning which we did not manage to fill. For this reason, we have omitted these stronger claims.

For perplexities different from ( 11.180 ), RHA processes need not have the vanishing Shannon entropy rate. We find it an interesting open problem to study the rate of growth of the block mutual information and the maximal repetition in such cases and to seek for some interactions and nontrivial bounds between these quantities. We also suppose that the stationary mean of a suitable RHA process satisfies a power‐law decay of mutual information between two symbols, as suggested by a result of Lin and Tegmark ( 2017 ). Moreover, some other open questions concerning RHA processes are whether RHA processes are AMS in general and whether, for given perplexities, the stationary mean of a RHA process is strongly nonergodic and its random ergodic measure is perigraphic almost surely. We suppose that such claims may be true.

11.5 Toward Better Models

In this final section, we would like to discuss advantages and disadvantages of the toy examples of processes presented in this chapter as possible statistical models of natural language. As we have indicated, there are four statistical phenomena hypothetically satisfied by texts in natural language in general: the strictly positive Shannon entropy rate ( 11.1 ), the power‐law growth of block mutual information ( 11.2 ), the power‐law logarithmic growth of maximal repetition ( 11.3 ), and possibly the power‐law decay of mutual information between individual symbols ( 11.4 ). Our assessment of the toy models is mostly based on whether these phenomena hold for the respective models but some bonus points are assigned for other features that make the toy models resemble generation of texts in natural language.

The first class of processes that we have discussed are finite and ultrafinite energy processes. Finite and ultrafinite energy processes have a strictly positive Shannon entropy rate, probably like the natural language. But these processes do not satisfy either a power‐law logarithmic growth of maximal repetition or a power‐law growth of mutual information, in contrast to the natural language. Since a large subclass of hidden Markov processes are finite energy processes then we should treat the above fact as an indication that texts in natural language cannot be accurately modeled by hidden Markov processes, although these processes were widely used in natural language engineering. Same applies to processes satisfying the Doeblin condition, stronger than the finite energy, although Kontoyiannis ( 1997 ) supposed that natural language falls into this class.

The second class of toy examples are variations on the theme of Santa Fe processes. These processes have both a strictly positive Shannon entropy rate and a power‐law growing block mutual information. Moreover, the construction of Santa Fe processes can be motivated linguistically. We can imagine that a Santa Fe process is a series of random propositions making assertions about an infinite random extra‐textual reality. Consequently, we may split a Santa Fe process into a static description of some time‐independent or slowly evolving reality and a narration process, which selects which elementary facts about the reality are being described in the text. Given some simple conditions, Santa Fe processes are strongly nonergodic or perigraphic, and for that reason they satisfy a power‐law growing block mutual information, as indicated by theorems about facts and words.

The analyzed Zipfian Santa Fe and pseudo Santa Fe processes are a huge idealization with respect to the natural language. They were proposed as a simple model for the power‐law growth of the block mutual information and its possible links to nonergodicity. Yet these processes seem to model, in an idealized form, some phenomena that take place in natural language. Confronted with a text in natural language, we often feel that it consists of a description of some unchanging or slowly evolving reality. The unchanging reality referred to in the texts may concern objects that do not change in time, like mathematical or physical constants. The evolving reality referred to in the texts may consists of objects that evolve with a varied speed, like culture, language, or geography. One should note that the distinction between the unchanging and evolving realities may be a matter of a modeling approximation since some referred objects may evolve so slowly that they may be considered practically constant.

Let us also note that the power‐law growth of block mutual information in Santa Fe processes seems to hold only if described objects are referred to at a larger frequency than they evolve. The latter condition may be somewhat unrealistic. It is agreed among linguists that many language constructions which are used less frequently evolve quicker (Pagel et al., 2007 ). In consequence, block mutual information for natural language might be upper bounded. An interesting open question arises how far the power‐law growth of mutual information can be extrapolated for natural language and how large its excess entropy is actually. However, even if the excess entropy of natural language is finite, it may be so large that we may hardly observe boundedness of its estimates in empirical data (Hahn and Futrell, 2019 ), just like we may hardly observe boundedness of the lexicon (Kornai, 2002 ).

Santa Fe processes are typically finite energy and for that reason they fail to satisfy the power‐law logarithmic growth of maximal repetition. But as we have noted, some finite alphabet encodings of these processes need not be finite energy. An open problem remains whether any possible enforcing of the power‐law logarithmic growth of maximal repetition in a Santa Fe process encoding necessarily weakens the power‐law growth of block mutual information. We suppose that it need not be the case but this question should be formally researched.

The third class of considered toy examples, the RHA processes, is least understood. We have managed to show that for a simple choice of process parameters, called perplexities, these processes satisfy both a power‐law growth of mutual information and a power‐law logarithmic bound for maximal repetition. Unfortunately, these processes have a zero Shannon entropy rate for the considered perplexities. A few fundamental questions also remain open: whether RHA processes are AMS, in general, and whether they are strongly nonergodic or perigraphic for the considered perplexities. We also suppose that these RHA processes satisfy the power‐law decay of mutual information between individual symbols.

In our opinion, there is a more general open problem whether the power‐law logarithmic growth of maximal repetition ( 11.3 ) and the power‐law decay of mutual information between individual symbols ( 11.4 ) imply the power‐law growth of block mutual information ( 11.2 ). We suppose that laws such as ( 11.3 ) and ( 11.4 ) may also imply the power‐law growth of the number of distinct prediction by partial matching (PPM) words, i.e. a sort of Herdan's law, and the power‐law growth of the number of described facts, i.e. the stochastic process being perigraphic. Relating these hypothetical phenomena to natural language, we suppose that the potentially infinitely complex reality repeatedly described in texts created by humans may emerge as a result of our tendency to repeat previously encountered parts of text. It is plausible that the reality described in texts is actively created by texts themselves.

The quest for more accurate models of natural language is open. In this book, searching for statistical models of language, we have restricted our investigations to processes that satisfy the claim of the Birkhoff ergodic theorem, i.e. we have considered only stationary and AMS processes. Honestly, we cannot be certain that the correct probability model of language belongs to these classes. Notwithstanding this, we think that stationary and AMS processes can model a few linguistically relevant phenomena, and they offer a good starting point to investigate what is mathematically and physically possible.

Another delicate question is that we have considered mostly recursive processes. As we have argued in Chapter 1 , there is a tension whether we regard the probabilities as frequencies in the empirical data (the frequentist interpretation) or as subjective expectations of intelligent agents who make predictions (the Bayesian interpretation). According to the frequentist view, language should be likely modeled by an ergodic and nonrecursive process, whereas according to the Bayesian view, language should be likely modeled by a recursive but nonergodic process. While doing research in the foundations of intelligence, we should focus on the Bayesian interpretation of probability and seek for a finite description of language within this paradigm. This recursive Bayesian model of language competence should resemble the universal PPM probability with its capacity of approximating any nonrecursive stationary ergodic probability distribution, but it should be more clever in making predictions. The only constraints for its cleverness should be computational tractability and physical scalability.

Statistical language modeling is of a large importance for general artificial intelligence, and we think that mathematicians can also help to construct stochastic processes serving as better generative and predictive models of texts in natural language. We suppose that this interdisciplinary research area will be live in the future. There are a few open mathematical problems that we came across when writing this book. The list of them has been compiled in the next unnumbered chapter. Quite many of these problems can be stated in a relatively simple way, which indicates that there is still much to do for mathematicians at the interface of natural language and stochastic processes.

Problems

  1. 11.1 Show that a stationary hidden Markov process images satisfies not only condition (9.31) but also condition (9.32).

  2. 11.2 For a stationary process images , we define function

    (11.190) equation

    The process is called images ‐mixing if images and images . Show that a images ‐mixing stationary process images is ultrafinite energy if

    (11.191) equation

    This result was shown by Ko ( 2012 , corollary 4.4).

  3. 11.3 For a stationary hidden Markov process images denote the underlying Markov process images . Show that process images is finite energy if

    (11.192) equation

    Is this condition stronger or weaker than ( 11.8 )?

  4. 11.4 Exhibit some examples of hidden Markov processes which are:

    1. not finite energy;
    2. not ergodic;
    3. asymptotically deterministic;
    4. ergodic but not finitary.

    Having completed the task, compare your solution with Travers and Crutchfield ( 2014 ) and Dębowski ( 2014 ).

  5. 11.5 Can a finite‐state process be not finite energy and not asymptotically deterministic simultaneously?