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)
-
The power‐law growth of block mutual information:
(11.2)
-
The power‐law logarithmic growth of maximal repetition:
(11.3)
-
The power‐law decay of mutual information between individual symbols:
(11.4)
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
, where
or
and
, is called a finite energy process if
(11.5)
.
Definition 11.2 (Ultrafinite energy process)
A discrete process
, where
or
and
, is called an ultrafinite energy process if
(11.6)
(11.7)
for all
, all
, all
, and certain constants
and
.
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
denote the underlying Markov process
. Process
is finite energy if
(11.8)
Proof:
We observe that random variables
and
are conditionally independent given
. Hence,
(11.9)
In consequence, we obtain
(11.10)
Hence, process
is finite energy.
Theorem 11.3
For a stationary hidden Markov process
denote the underlying Markov process
. Process
is ultrafinite energy if we have ( 11.8 ) and
(11.11)
Condition ( 11.11 ) is satisfied if the hidden alphabet
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
and
are conditionally independent given
. Thus
(11.12)
Hence, process
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
and
with respect to the random ergodic measure
almost surely, where
is the invariant
‐field.
Proof:
If
holds almost surely then
holds for
.
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
almost surely where
is a finite energy IID process. Hence, process
is finite energy by Theorem 11.4 .
Another subclass of finite energy processes are uniformly dithered processes.
Definition 11.3 (Uniformly dithered process)
Let
be a group, i.e. a pair of a set
and a binary operation
which is associative, that is,
, has an identity element
, that is,
, and for each
there exists the inverse element
, that is,
. A discrete stochastic process
is called uniformly dithered if it satisfies
(11.13)
where
is an arbitrary discrete process and
is an independent IID process with
(11.14)
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
. Then,
(11.15)
Let us denote
and
. Using the fact that
and
are independent, we can further write
(11.16)
since
(11.17)
Hence,
is a finite energy process.
We suppose that uniformly dithered processes need not be ultrafinite energy.
Let us observe that for a stationary process
, the finite energy condition ( 11.5 ) is equivalent to
(11.18)
by the Levy law (3.68). There are two related Doeblin conditions
(11.19)
(11.20)
for some
and
, 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)
so we obtain condition ( 11.20 ). Next, assume condition ( 11.20 ). Then
(11.22)
and, by stationarity,
, 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
, we have
. Hence, the Shannon entropy rate is
.
Theorem 11.9
No stationary ultrafinite energy process is infinitary.
Proof:
For a stationary ultrafinite energy process
, we have
. Hence, the excess entropy is
.
Theorem 11.10
For a finite energy process
, we have
(11.23)
for sufficiently large
almost surely, for some
.
Proof:
We have
. 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
of form
(11.24)
will be called a mixture Santa Fe process when:
-
Process
is a fair‐coin process. -
Process
is a stationary process with a probability distribution
almost surely for any
, where
is the invariant
‐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
of form (8.79). Then,
(11.25)
Now, the process
is assumed to be stationary with
. Hence, by the ergodic theorem ( Theorem 4.6 ),
(11.26)
holds almost surely. Hence, by the monotone convergence ( Theorem 3.8 ),
(11.27)
To complete the proof, we apply Theorem 8.12 .
The above construction of the mixture Santa Fe processes can be motivated linguistically. If
is a random infinite text in natural language, then we can imagine that it consists from some propositions
which assert in particular that the
th fact equals
. Consequently, we may split the process
into a static description of some time‐independent facts
and a narration process
. Theorem 11.11 asserts that under mild condition on the narration process
, the resulting process
is strongly nonergodic.
In particular, if we choose the process
to be an IID process with the power‐law distribution (8.77), we obtain the mixture Zipfian Santa Fe process with an exponent
. 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)
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
,
(11.29)
Proof:
In the following, two simple corollaries of the chain rule
(11.30)
will be used:
-
for the entropies
, where we define the interaction information (11.31)
-
for
and
independent and conditionally independent given
.
The second identity follows from
(11.32)
where both
and
.
Now, notice that random variables
,
, are independent and conditionally independent given any finite block
. Hence,
(11.33)
Also blocks
and
are conditionally independent given
. Hence,
. Both results yield
(11.34)
Computing simple expressions
(11.35)
(11.36)
we obtain the interaction information
(11.37)
and the block mutual information
(11.38)
where
.
The summation in the right‐hand side of ( 11.38 ) equals up to an additive constant
to the integral
(11.39)
where we use substitution
(11.40)
and functions
(11.41)
We have the limit
(11.42)
with the upper bound
(11.43)
Moreover, function
is integrable on
. Hence,
(11.44)
follows by the dominated convergence ( Theorem 3.10 ).
It remains to compute
. Putting
yields
(11.45)
where integral
(11.46)
can be integrated by parts for the considered
.
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
and
into a series of interaction information among blocks
and
and variables
. 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
are replaced by some Markov processes
. In the forthcoming definition of a pseudo Santa Fe process, processes
describe the time evolution of the
th probabilistic fact, where
is the state of the
th fact at instant
and the probability that the
th bit flips at a given instant equals some cross‐over probability
. For vanishing cross‐over probabilities,
, the pseudo Santa Fe processes collapse to the mixture Santa Fe processes.
Definition 11.5 (Zipfian pseudo Santa Fe process)
A process
consisting of random variables
(11.47)
is called a Zipfian pseudo Santa Fe process with an exponent
and cross‐over probabilities
, when processes
and
, where
, are probabilistically independent,
is an IID process with distribution (8.77), and each process
is a Markov process with the marginal distribution
(11.48)
and the cross‐over probabilities
(11.49)
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
.
Proof:
Introduce an auxiliary process
, where
. Process
is a product of independent processes
,
,
, which are all mixing for
by Theorem 4.15 . Hence, process
is mixing by Theorem 4.17 . Having established the mixing property for process
, we notice that
for some measurable function
. Hence, process
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.
. Thus, we may generalize Theorem 11.12 .
Theorem 11.14
The block mutual information
for a Zipfian pseudo Santa Fe process obeys
(11.50)
The lower limits in particular cases are as follows:
-
If
, then (11.51)
where
(11.52)
Above, we apply the entropy
of a two‐point distribution, defined in (5.106). -
If
then
obeys ( 11.29 ).
Proof:
Observe that processes
, where
, are independent and conditionally independent given any finite block
. Also, blocks
and
are conditionally independent given
. Thus, we obtain
(11.53)
by replacing
with
in derivation ( 11.34 ) from the proof of Theorem 11.12 .
By the assumed Markov property, process
is independent from
given
. This yields
(11.54)
The expressions on the right‐hand side can be analyzed as
(11.55)
because
is independent from
given
and
. Moreover,
(11.56)
To evaluate the conditional entropies, put
and
. Notice that by the Markovianity of
, we have
(11.57)
Similarly, since
, we obtain
(11.58)
Thus, we may reconstruct
(11.59)
(11.60)
and
(11.61)
For a fixed
, we see that
is minimized for
. This case arises when
and
are sequences of independent random . In this way, we have proved that
(11.62)
On the other hand,
is maximized for
. This holds if
or
. We recall that for
, the process
collapses to a Zipfian Santa Fe process.
Continuing the calculations, by equality ( 11.62 ), we obtain
(11.63)
if
for
. To bound coefficients
, observe
(11.64)
Hence,
for
if
. Thus we obtain
(11.65)
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
with
. Let us define
for real
in the same way.
-
For
: notice that
implies
. Thus
is greater than (11.66)
where we use substitution ( 11.40 ) and functions ( 11.41 ). This yields ( 11.51 ) by the dominated convergence ( Theorem 3.10 ).
-
For
: let
be the largest number
such that
or put
if there is no such number. Then,
is greater than (11.67)
. Thus, the dominated convergence ( Theorem 3.10 ) in both cases yields
(11.68)
Taking
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
or evolving reality
which is controlled by some narration process
. 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
, called here a variable length code, map symbols from alphabet
, say countably infinite, into sequences over another alphabet
, say finite. We define the extension
of a variable length code
to doubly infinite sequences as
(11.69)
where
and the bold‐face dot separates the zeroth and the first symbol. Then, for a stochastic process
on
, where
, we introduce process
(11.70)
with random variables
.
Some drawback of this simple construction is that, even when process
is stationary, the process
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
preserves a weaker property. Let
(11.71)
be the length of the encoding of symbol
. Suppose that the average length of a symbol encoding tends to some real random variable
, i.e. limit
(11.72)
exists almost surely. By the generalized ergodic theorem (see Theorem 10.4 ), this condition is satisfied with
for any asymptotically mean stationary (AMS) process
. Now, by Theorem 10.7 , if
is almost surely strictly positive and finite, that is
, and process
is AMS then process
is also AMS. By definition, process
is AMS if there exists a stationary process
, called the stationary mean, with distribution
(11.73)
for all events
measurable with respect to process
. In particular, all stationary processes
are AMS and their stationary means
have the same distributions as processes
.
.
Definition 11.6 (Stationary coding)
The above construction of process
, if it exists, will be called the stationary coding of process
using the variable length code
.
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
and let
be the stationary coding of the Zipfian pseudo Santa Fe process ( 11.47 ) using the variable length code
(11.74)
where
is the binary representation of a natural number
, i.e.
,
,
,
, and so on. Then, process
exists and we have:
-
Process
is ergodic if and only if process
is ergodic. -
Process
is strongly nonergodic if and only if process
is strongly nonergodic.
Proof:
Process
is stationary and ergodic since
(11.75)
Hence, by the Birkhoff ergodic theorem ( Theorem 4.6 ), we have almost surely that
(11.76)
Hence, process
exists by Theorem 10.7 . Moreover, the variable length code
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)
This condition is strictly weaker than ergodicity of the process
. As we have observed in the proof of Theorem 11.15 , for the variable length code ( 11.74 ) and a Santa Fe process
, condition ( 11.77 ) holds if the narration process
is ergodic. It turns out that it is exactly the case when we can do some computations for process
.
Formally, let process
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
in the following way. First, we construct a random variable
, called a random shift, and a nonstationary process
where
. Precisely, random variable
and process
are conditionally independent given variable
and their joint distribution is
(11.78)
(11.79)
In the sequel, process
, being the stationary coding of process
using function
, can be obtained as
(11.80)
where
is the shift operation. Construction ( 11.80 ) does not yield the distribution of process
explicitly, but it is sufficiently simple to provide interesting bounds for some statistics of process
.
In case of the Zipfian pseudo Santa Fe processes, there are some further simplifications. For this goal, we define first
(11.81)
(11.82)
and we observe the following.
Theorem 11.16
Denote blocks
with
removed as
. For a Zipfian pseudo Santa Fe process
and the variable length code ( 11.74 ), variables
and
have the same distribution, whereas variables
and
are probabilistically independent.
Proof:
Notice that
does not depend on
and variable
is independent of block
. Hence,
(11.83)
Similarly,
(11.84)
Let us continue writing
and
. In the discussed case, variables
are IID. For these variables, we define indices
(11.85)
(11.86)
where
. For the given distribution of
, we have
for sufficiently small
. By the Jensen Inequality,
is a growing function of
and
is a decreasing function of
. Jensen inequality implies also
.
Theorem 11.17
Consider a Zipfian pseudo Santa Fe process and the variable length code ( 11.74 ). We have
(11.87)
Proof:
Consider function
. For
, it is a growing function of
. Consider next such a
that
. For
, we obtain
(11.88)
This yields
(11.89)
On the other hand, for
, we have
(11.90)
Hence,
(11.91)
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
, we have
(11.92)
(11.93)
Proof:
Because variables
are IID, using Markov inequality ( Theorem 3.11 ) we observe
(11.94)
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
when string
is a substring of sequence
.
Theorem 11.19
Put
and let
be the stationary coding of the mixture Zipfian Santa Fe process with an exponent
using the variable length code ( 11.74 ). Consider functions
(11.96)
.
-
Define random variables
. Process
is a fair‐coin process measurable with respect to the invariant
‐field of process
and it satisfies condition (11.97)
for all
and
. -
Define the sets of inferrable facts
(11.98)
We have
(11.99)
(11.100)
Proof:
-
Let
be the mixture Zipfian Santa Fe process. For the process
given by ( 11.70 ), we have
, where
are independent random bits measurable with respect to the invariant
‐field of process
. Since process
is AMS, its stationary mean
has the same distribution on the invariant
‐field, by Theorem 10.1 . Hence, process
is a fair‐coin process measurable with respect to the invariant
‐field of process
. Using the technique from the proof of Theorem 8.10 , we can show that variables
satisfy condition ( 11.97 ). -
First, we will prove ( 11.99 ). Denote
. Observe that (11.101)
whereas
(11.102)
where
(11.103)
for the function
given in (8.79). Hence, we obtain (11.104)
almost surely if the last limit exists. But by Theorem 11.16 and the Birkhoff ergodic theorem ( Theorem 4.6 ), we have
(11.105)
Thus, applying Theorem 11.16 and (8.82), we obtain ( 11.99 ).
To obtain equality ( 11.100 ), we notice that
is a positive growing function of
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)
Hence, since
is positive and
, we obtain (11.107)
By the Chernoff bound ( Theorem 11.18 ), we obtain that
for
and any
. Thus, plugging in
into ( 11.107 ) and noticing that
, we obtain (11.108)
Thus, applying Theorem 11.16 and (8.83), we obtain ( 11.100 ).
To the above process
, 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
must grow at least as fast as the expected number of inferrable facts,
(11.109)
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
, we introduce conditional entropy
and mutual information
, which are respectively the entropy of a random variable
and mutual information between random variables
and
taken with respect to probability measure
.
Theorem 11.20
Let
be the Zipfian pseudo Santa Fe process and consider the variable length code ( 11.74 ). If
, where
, then
(11.110)
for certain coefficients
and
.
Proof:
Write
. We have
(11.111)
. Hence,
(11.112)
Function
is decreasing for
. Put
. Thus by Theorem 11.18 , for
, we obtain
(11.113)
Putting
and
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
be the stationary coding of the Zipfian pseudo Santa Fe process with an exponent
using the variable length code ( 11.74 ). The block mutual information
for process
satisfies
(11.114)
The lower limits in particular cases are as follows:
-
If
, then (11.115)
where
is defined in ( 11.52 ). -
If
, then (11.116)
Proof:
For an
and
, define events
(11.117)
(11.118)
(11.119)
(11.120)
(11.121)
(11.122)
(11.123)
as well as for each of the above events
we define the event
by substituting variables
with variables
.
Let us recall the conditional data processing inequality
(11.124)
which holds if equalities
and
are satisfied on event
. Hence, by equality ( 11.80 ), for
we have
(11.125)
whereas for
we have similarly
(11.126)
The above inequalities will be used to bound the block mutual information
in terms of the block mutual information
.
There is an additional fact that we shall use. Let
be the characteristic function of an event
. Observe that
(11.127)
where
.
. Then, applying subsequently ( 11.127 ), ( 11.125 ), ( 11.83 ), and ( 11.127 ), we obtain
(11.128)
The term
is asymptotically negligible since by Theorem 11.20 , we have
(11.129)
Now assume that
. Observe that
. Then, applying subsequently ( 11.83 ), ( 11.127 ), ( 11.126 ), and ( 11.127 ), we obtain
(11.130)
The term
is asymptotically negligible since
by Theorem 11.18 and
.
Write
(11.131)
(11.132)
From bounds ( 11.128 ) and ( 11.130 ) we obtain
(11.133)
(11.134)
If we consider
,
, and
, then by Eq. (11.87) we obtain
(11.135)
(11.136)
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)
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
implies a power‐law logarithmic lower bound for the maximal repetition
. 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)
Unfortunately, stationary processes consisting of such sequences are asymptotically deterministic, as asserted by the following proposition.
Theorem 11.22
Stationary processes
such that
holds almost surely have the Shannon entropy
.
Proof:
The reasoning involves the random ergodic measure
, where
is the invariant
‐field. By the first ergodic decomposition theorem ( Theorem 4.19 ), Theorem 9.18 and Theorem 9.2 , we obtain almost surely
(11.139)
where
is the block Shannon entropy of measure
. Thus, the Shannon entropy rate of this measure is
by the assumption
, whereas by Theorem 5.35 , we obtain
.
We recall from Section 9.5 that processes with a power‐law logarithmic growth of maximal repetition need not have the Shannon entropy rate
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
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
is the number of distinct blocks of length
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
iteratively, we construct a pool of
distinct blocks of length
which are either defined as the natural numbers
for
or formed by concatenation of randomly selected pairs chosen from the pool of
distinct blocks of length
for
. In the second step, we obtain an infinite sequence of random numbers by concatenating blocks of lengths
, randomly chosen from the respective pools. As a result there are no more that
distinct blocks of length
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
satisfy
(11.140)
The nonstationary RHA process
with perplexities
is defined as
(11.141)
where
and random variables
and
are defined as follows.
First, for each
, let
be a probabilistically independent random combination of
pairs of numbers from the set
drawn without repetition. That is, we assume that each pair
is different, the elements of the pairs may be identical, and the sequence
is sorted lexicographically. Formally, we assume that random variables
and
have the uniform distribution
(11.142)
Subsequently, we define random variables
(11.143)
(11.144)
Finally, let process
be an IID process with the uniform distribution
(11.145)
probabilistically independent from process
.
Let us define a few more notations which will be used further. The collection of random variables
will be denoted as
(11.146)
We will also use notations
(11.147)
(11.148)
Let us observe that collection
fully determines variables
for a fixed
. Moreover, sequence
can be parsed into a sequence of random natural numbers
,
(11.149)
and we will denote blocks of consecutive random natural numbers as
(11.150)
Generalizing parsing ( 11.149 ), sequence
will be also parsed into a sequence of blocks
of length
, where
(11.151)
Let us observe that
,
and in general there exist unique random variables
such that
(11.152)
Moreover, generalizing notation ( 11.150 ), we also denote blocks of length
starting at any position as
(11.153)
Let us prove this useful property.
Theorem 11.23
Variables
are independent from
and satisfy
(11.154)
Proof:
Each random number
is a function of the random number
for some
and the random pool
. Hence,
are independent from
. Now we will show by induction on
that equality ( 11.154 ) is satisfied.
The induction begins with
and
. These two variables are independent by definition and by definition
is uniformly distributed on
. It remains to show that so is
. Observe that
are independent of
. Hence, for
we obtain
(11.155)
so
is uniformly distributed on
.
The inductive step is as follows: (i) if
is uniformly distributed on
then
(11.156)
is uniformly distributed on
, and (ii) if
is uniformly distributed on
then
(11.157)
is uniformly distributed on
. Now observe that
are independent of
. Hence, for
we obtain
(11.158)
we obtain
(11.159)
Hence,
(11.160)
which proves claim (ii).
In view of the above theorem, blocks
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)
be the shift operation.
Theorem 11.24
RHA processes are pseudo AMS. In particular, for an RHA process
, let us denote a stationary process
distributed according to the stationary mean
(11.162)
For any
, we have
(11.163)
Proof:
Block
is a substring of block
for
and
. In particular, there exist functions
such that
(11.164)
Hence, by Theorem 11.23 , probabilities
are periodic functions of
with period
. This implies that limits ( 11.162 ) exist and satisfy ( 11.163 ) for any block
, so process
is pseudo AMS.
Definition 11.8 (Stationary RHA process)
Process
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
we have
(11.165)
Proof:
By the Jensen inequality for function
and Theorem 11.24 , we obtain
(11.166)
Now, we observe that for each
and
there exists a
such that
is a substring of and Theorem 11.24 , we obtain
(11.167)
Now, we observe that for each
and
there exists a
such that
is a substring of
. Thus, we have
. This combined with inequality ( 11.167 ) yields
.
Analogously, we can bound other increasing functions of the stationary mean. We will say that a function
is increasing if for
being a substring of
, we have
. Examples of increasing functions include the maximal repetition
, the Hartley entropy
, and the indicator function
, where
is increasing.
Theorem 11.26
For an increasing function
and any
, we have
(11.168)
Proof:
By Theorem 11.24 ,
(11.169)
Now we observe that for each
and
there exists a
such that
is a substring of
. Thus we have
. This combined with equality ( 11.169 ) yields
. On the other hand, for each
and
there exists a
such that
is a substring of
. Thus we have
. This combined with equality ( 11.169 ) yields
.
In view of Theorems 11.25 and 11.26 , it suffices to investigate the distribution of blocks
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)
Proof:
For a given realization of the RHA process (i.e. for fixed blocks
), there are at most
different values of blocks
. Therefore, there are at most
different values of blocks
in sequence
.
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
given the entire pool of admissible blocks of the same length
is exactly equal to the logarithm of perplexity.
Theorem 11.28
We have
(11.171)
(11.172)
Proof:
Given
, the correspondence between
and
is one‐to‐one. Hence,
. From Theorem 11.23 , we further obtain
and
.
The second result is an exact expression for the entropy of the pool of admissible blocks
, also in term of perplexities.
Theorem 11.29
We have
(11.173)
Proof:
The claim follows by the chain rule
from
and
.
Combining the above two results, we can provide an upper bound for the unconditional entropy of blocks
.
Theorem 11.30
We have
(11.174)
Proof:
For
we have
, whereas
.
Let us observe that inequality
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)
Theorem 11.31
We have
(11.176)
Proof:
On the one hand, by Theorem 11.28 ,
(11.177)
On the other hand, by Theorem 11.30 ,
(11.178)
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)
Proof:
Divide the sides of inequality ( 11.165 ) by
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
. For perplexities
(11.180)
the stationary RHA process
satisfies the following:
-
The Shannon entropy rate is
(11.181)
-
The Shannon block entropy is sandwiched by inequalities
(11.182)
-
The Hartley entropy is upper bounded by inequality
(11.183)
-
The maximal repetition is lower bounded by inequality
(11.184)
Proof:
-
For perplexities ( 11.180 ), the combinatorial entropy rate is
. Hence,the Shannon entropy rate is zero by Theorem 11.32 . -
By ( 11.173 ), entropy
can be bounded as (11.185)
Hence, from ( 11.174 ), for
we obtain an upper bound (11.186)
If we choose
, then for perplexities ( 11.180 ) we obtain (11.187)
On the other hand, by
we obtain (11.188)
By ( 11.187 ) and ( 11.188 ), from Theorem 11.25 , we obtain the desired sandwich bound for the entropy of the stationary mean.
-
By Theorems 11.27 and 11.26 we obtain
(11.189)
Hence almost surely we have
, which implies ( 11.183 ) for a certain constant
. -
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
-
11.1 Show that a stationary hidden Markov process
satisfies not only condition (9.31) but also condition (9.32). -
11.2 For a stationary process
, we define function (11.190)
The process is called
‐mixing if
and
. Show that a
‐mixing stationary process
is ultrafinite energy if (11.191)
This result was shown by Ko ( 2012 , corollary 4.4).
-
11.3 For a stationary hidden Markov process
denote the underlying Markov process
. Show that process
is finite energy if (11.192)
Is this condition stronger or weaker than ( 11.8 )?
-
11.4 Exhibit some examples of hidden Markov processes which are:
- not finite energy;
- not ergodic;
- asymptotically deterministic;
- ergodic but not finitary.
Having completed the task, compare your solution with Travers and Crutchfield ( 2014 ) and Dębowski ( 2014 ).
-
11.5 Can a finite‐state process be not finite energy and not asymptotically deterministic simultaneously?