Power Laws for Information
This chapter opens the exposition of more original research, done mostly by the author of this book. In the chapters to follow, we would like to discuss stochastic processes that satisfy certain power laws common to natural language. As we have identified in Chapter 1 , there are several such power laws possibly exhibited by texts in natural language: power‐law growth of block mutual information (1.132), power‐law logarithmic growth of maximal repetition (1.133), and power‐law decay of mutual information between individual characters (1.134). Plausibly, there may be more such laws. It is important to understand to what extent these laws are mathematical consequences of one another. For possible applications in engineering and artificial intelligence, it is also vital to understand general constructions of stochastic processes that satisfy these power laws as well as to comprehend reasons why these laws are satisfied.
We will begin, in this chapter, with a discussion of power laws that are connected to the growth of mutual information between two adjacent blocks of a random text. In the context of natural language modeling, the power‐law growth of block mutual information is called the relaxed Hilberg hypothesis, as it was discussed in Section 1.9. A large body of our research concerned relating this hypothesis to other plausible statistical patterns of natural language. Some natural candidates have been the famous Zipf law concerning the distribution of words in texts and its corollary, Herdan's law, stating a power‐law growth of the vocabulary size with the text length.
The author of this book was convinced already in 2000 that such a link should be true. However, it took him a long time as a nonprofessional mathematician to absorb enough formal knowledge to express his intuitions as sound theorems – the theorems about facts and words, which were half‐formally introduced in Section 1.12. The heuristic idea of such results was stated by Dębowski ( 2006 ), whereas fully formal proofs were presented by Dębowski ( 2011 , 2018a ). Although the general wording of the theorems about facts and words is not complicated, namely, there should be more distinct words in a text than independent facts, it was a long journey to identify and fill all gaps in the proofs. We have realized that, in order to present the whole reasoning, its motivations, and conceptual preliminaries, we need to write this book.
With the motivations described in Chapter 1 and the formal preliminaries described in Chapters 2 – 7 , we can now proceed to the core results of this book, stated as follows. In Section 8.1 , we will investigate a convenient concept of the Hilberg exponent of a real number sequence, which is the exponent of the tightest power‐law upper bound of the sequence. Hilberg exponents were mentioned in the half‐formal Section 1.9. We will formulate a few general statements concerning this concept. In particular, we will bound the Hilberg exponent for an increasing sequence of random variables with the Hilberg exponents for sequences of their medians and expectations.
In Section 8.2 , we will apply the above results to pointwise and expected mutual information between increasing blocks drawn from a stationary process. We will see that the Hilberg exponent for pointwise mutual information is almost surely constant for ergodic processes. Moreover, this exponent is less than the Hilberg exponent for expected mutual information and is equal to it if the Hilberg exponent for the variance of mutual information is sufficiently small. This statement resembles somehow the Shannon–McMillan–Breiman (SMB) theorem discussed in Chapter 6 , and for this reason, it will be called the second order SMB theorem.
Section 8.3 is a conceptual preparation for Section 8.4 . We will seek to understand the anatomy of strongly nonergodic processes, half‐formally mentioned in Section 1.11 and formally defined in Section 5.6 , and a related concept of perigraphic processes, also half‐formally analyzed in Section 1.11. It turns out that these notions can be related to the phenomenon of keywords and the topical variation of texts in natural language. We can ask what happens when the description of the topic of an infinite text is infinitely complex, necessarily describable by a sequence of algorithmically or probabilistically random bits. Let us call these bits algorithmic or probabilistic facts, respectively. It turns out that if there are infinitely many independent probabilistic facts for a text generated by a stationary probability measure, then the respective process is strongly nonergodic. We exhibit a simple example of such processes, called Santa Fe processes. These processes satisfy a stronger property, namely, the number of facts that are described in a finite text grows like a power of the text length. Motivated by this example, we define perigraphic processes as having this general property.
In Section 8.4 , we formulate and demonstrate the theorems about facts and words half‐formally mentioned in Section 1.12. These propositions link the Hilberg exponents for three sorts of quantities: the number of independent facts that are described in a finite text drawn from a stationary process, the mutual information between two adjacent text blocks of the same length, and the number of distinct words detected in the text by the prediction by partial matching (PPM) algorithm introducedin Section 6.3 . It turns out that those Hilberg exponents are dominated in order that we have named them, i.e. a random text must contain roughly more distinct words than independent facts. There are two versions of this proposition, one for algorithmic facts and another for probabilistic facts. Seen from a linguistic perspective, these theorems link the relaxed Hilberg hypothesis, introducedin Section 1.9 with some sort of Herdan's laws for words and facts, introduced in Section 1.3.
8.1 Hilberg Exponents
In this section, we will study some general properties of power‐law growth of sequences of random variables induced by stationary stochastic processes. Suppose that we have a real function of strings
and a certain stationary stochastic process
, where
. Suppose also that function
grows asymptotically linearly. To be a bit more specific, let us assume that there exist random limits
(8.1)
A function
that satisfies ( 8.1 ) will be called an extensive function. By a generalization of the SMB theorem noticed in Problem 6.3, some example of an extensive function is
(8.2)
or, by Problem 7.15, we can also put
(8.3)
where
is the prefix Kolmogorov complexity of string
given an object
. In both cases,
(8.4)
is the Shannon entropy rate of the random ergodic measure.
Knowing of the asymptotic relationship ( 8.1 ), we may be subsequently interested in characterizing the asymptotic behavior of function
(8.5)
which will be called the excess function. In case of ( 8.2 ) and ( 8.3 ), the excess function equals the respective pointwise mutual information. Of course, equalities ( 8.1 ) imply
(8.6)
Hence, the excess function
is a sublinear function of the block length
. In particular, the excess function may exhibit an asymptotic power‐law growth, the phenomenon of our present interest. However, we should be aware that the excess function
may grow by leaps and bounds so we need an appropriately general theory.
While characterizing the behavior of the excess function
, it is insightful to look first at the average case. Assume that there exist expectations
(8.7)
(8.8)
(8.9)
This happens both for ( 8.2 ) and ( 8.3 ). For example, for ( 8.2 ), we obtain the Shannon entropy
and the mutual information
.
By stationarity of
, the expected excess function satisfies
(8.10)
whereas both for ( 8.2 ) and ( 8.3 ) by the SMB theorem ( Theorem 6.9 ) we obtain the asymptotic expected rates
(8.11)
(8.12)
Let us assume that the expected extensive function
satisfies
(8.13)
This happens both for ( 8.2 ) and ( 8.3 ). As shown in the following proposition, in this case, it turns out that the expected excess function
must be positive for infinitely many
.
Theorem 8.1 (Excess bound)
For a function
, define
. If
for a
and
for all but finitely many
then
(8.14)
for infinitely many
.
is subadditive, i.e. unless the excess function is positive,
(8.15)
Then, condition ( 8.14 ) is, of course, satisfied for all
.
Proof of Theorem 8.1 :
We have the identity
(8.16)
For
tending to infinity, the above implies
(8.17)
Putting
, we obtain
(8.18)
for all but finitely many
. If
held only for finitely many
, then the sum in ( 8.18 ) would be strictly negative for all sufficiently large
. Hence,
must hold for infinitely many
.
Suppose now that the expected extensive function satisfies
(8.19)
for a certain
. Then, applying Theorem 8.1 to function
we obtain inequality
(8.20)
for infinitely many
. Thus, we have obtained an asymptotic power‐law bound for the expected excess function
. In general, the asymptotic power‐law growth may be captured by the following concept of the Hilberg exponent.
Definition 8.1 (Hilberg exponent)
The Hilberg exponent of a function
is defined as
(8.21)
where
for
and
for
.
. Property ( 8.12 ) implies also
(8.22)
Let us compare the Hilberg exponents for functions
and
. They turn out to be equal if the expected excess function
is bounded below by a constant.
Theorem 8.2 (Excess bound)
For a function
, define
. If
for a
then
(8.23)
with an equality if
for all but finitely many
and some
.
Proof:
Write
. Since the left hand of ( 8.23 ) side is less than 1, it is sufficient to prove this inequality for
. Observe then that
for all but finitely many
for any
. Then for
, by the telescope sum ( 8.17 ), we obtain for sufficiently large
that
(8.24)
Since
can be taken arbitrarily small, we obtain ( 8.23 ).
Now assume that
for all but finitely many
. By the telescope sum ( 8.17 ), we have
for sufficiently large
. Hence,
(8.25)
Thus, we obtain the equality in ( 8.23 ).
Subsequently, we will investigate the Hilberg exponents for some sequences of real random variables. We will present four propositions which restate some results from Dębowski ( 2015a , 2018a ) with certain modifications. They relate the Hilberg exponent for an approximately growing sequence of bounded below random variables to the Hilberg exponent for their expectations. In the following, for a probability space
, we call a measurable transformation
stationary or ergodic if the probability measure
is stationary or ergodic with respect to
, respectively.
Theorem 8.3
Consider a sequence of real random variables
. If
is a stationary ergodic transformation of the probability space and
for all
, then random variable
is almost surely constant.
Proof:
Denote random variable
. By the hypothesis
, we obtain
(8.26)
But
is stationary, so random variables
and
have the same distribution. Combining these two observations yields
(8.27)
Hence,
for
. Hence,
. But
is ergodic, so the latter means that
is almost surely constant.
To state some further results, we need to introduce the essential infimum and the essential supremum of a real random variable.
Definition 8.2 (Essential infimum and supremum)
Let
be a real random variable. We define the essential infimum and the essential supremum as
(8.28)
(8.29)
Theorem 8.4
Consider a sequence of real random variables
. If inequalities
(8.30)
(8.31)
are satisfied for all
and some
then
(8.32)
Proof:
For
, we have
(8.33)
can be almost surely defined on a sparse subsequence,
(8.34)
As we will show now, condition ( 8.34 ) is sufficient to obtain inequality ( 8.32 ). Denote the Hilberg exponent for
as
(8.35)
Now take an
. Since
hence from the Markov inequality ( Theorem 3.11 ), we have
(8.36)
where
. Hence, by the Borel–Cantelli lemma ( Theorem 3.12 ),
(8.37)
Since we can take
arbitrarily small then we obtain the claim.
We recall that
stands for the median of a real random variable
. Some generalization of this concept are quantiles
(8.38)
for
. We have
,
, and
, see Problem 1 .
Theorem 8.5
Consider a sequence of real random variables
such that
for some
. For any
, we have
(8.39)
Proof:
Let
be a sequence of real random variables such that
(8.40)
we have
(8.41)
Now denote
. Then,
(8.42)
Consequently, for any
, we obtain
(8.43)
Hence, for
we have
(8.44)
Since function
is strictly growing for
and
, we have
(8.45)
Resuming these two observations, we obtain
(8.46)
for any
. Thus, we have derived the claim.
For a real random variable
, we denote the variance
.
Theorem 8.6
Consider a sequence of real random variables
. We have
(8.47)
Proof:
Applying the median–mean inequality (3.45), we obtain inequalities
(8.48)
which imply the claim.
In the following sections, we will see some applications of the above results. Theorems 8.4 and 8.5 can be further strengthened, see Problem 8.3 .
8.2 Second Order SMB Theorem
In this section, we will derive a sublinear analogue of the SMB theorem ( Theorem 6.1 ) for the block mutual information. The material in this section comes from Dębowski ( 2015a ) with some modifications. The preliminaries are as follows. For an extensive function
and a stationary stochastic process
, where
, let us consider the pointwise excess function
(8.49)
and the random variables
(8.50)
Some particular extensive functions which we will consider in this section are the prefix‐free Kolmogorov complexity conditioned on an object
,
(8.51)
and the pointwise entropy of the distribution of the process,
(8.52)
For these functions, let us denote the Hilberg exponents
(8.53)
(8.54)
(8.55)
Exponent
is a real random variable, whereas exponents
and
are real numbers.
First, we will prove the theorem which links the expected and the random Hilberg exponents for Kolmogorov complexity. Although the Kolmogorov complexity itself is uncomputable, the Hilberg exponents for Kolmogorov complexity can be evaluated in some cases and enjoy a few nice properties. These properties stem from the fact that function
up to an additive constant equals the algorithmic mutual information
(8.56)
which is a positive and growing function in some approximation.
Theorem 8.7
Consider a discrete‐valued stationary process
and the extensive function ( 8.51 ). We have
(8.57)
with an equality if
. Moreover, exponent
is almost surely constant for an ergodic process over a finite alphabet.
Proof:
-
The first claim, i.e. inequality ( 8.57 ) follows by Theorems 8.4 – 8.6 since, as we will prove, we have
(8.58)
(8.59)
for
. First, for strings
and
, we denote the algorithmic mutual information (8.60)
By Theorem 7.15 , for
, we obtain (8.61)
whereas for
, we have (8.62)
Put
,
,
, and
. Since
, hence (8.63)
whereas by Theorem 7.29 ,
(8.64)
It suffices now to relate
and
. In fact, using identity
from Theorem 7.20 , we can show (8.65)
which completes the proof.
-
. This yields
(8.66)
Thus, for the shift transformation (4.1), we obtain
(8.67)
Hence, for a finite alphabet, random variable
is invariant, i.e.
almost surely. Since the process is ergodic, it means that
must be almost surely constant.
In the following, we will show that the Hilberg exponents for the Kolmogorov complexity and the pointwise entropy are almost surely equal if we condition the Kolmogorov complexity on the probability measure of the process. The result follows by Theorem 7.32 .
Theorem 8.8
Consider a discrete‐valued stationary process
and the extensive function ( 8.51 ) with
, where
is the probability measure of the process. We have
-
, -
almost surely, -
.
Proof:
We note that
and, in the following, we apply some partial results from Theorem 7.32.
-
By (7.75) and (7.76), we obtain
(8.68)
Thus,
. -
By (7.75) and (7.78), we obtain
(8.69)
for all but finitely many
almost surely. Thus,
holds almost surely. -
By (7.75) and (7.77), we obtain
(8.70)
Subsequently, this yields
(8.71)
for some constants
. Hence, equality
follows by the relation (8.72)
Theorems 8.7 and 8.8 can be combined into a second‐order analogue of the SMB theorem ( Theorem 6.1 ). The original idea of the SMB theorem was to relate the asymptotic growth of the pointwise and the expected entropies for an ergodic process
. In contrast, relating the random Hilberg exponent
and the expected Hilberg exponent
means relating the rate of growth of the pointwise and expected mutual informations, which are differences of the respective entropies. This is a somewhat subtler effect than the SMB theorem, hence our “second‐order” terminology.
Theorem 8.9 (Second order SMB theorem)
Consider a discrete‐valued stationary process
and the extensive function ( 8.52 ). We have
(8.73)
with an equality if
. Moreover, exponent
is almost surely constant for an ergodic process over a finite alphabet.
Proof:
The claim follows by Theorems 8.7 and 8.8 .
Hilberg exponents
and
can be effectively computed for some simple processes such as Bernoulli processes or Santa Fe processes, to be discussed in the next section. The reader is referred to Dębowski ( 2015a ), see also Problem 4 .
8.3 Probabilistic and Algorithmic Facts
In Definitions 4.3, 4.5, and 4.6, we have subsequently defined ergodic processes as such that have a trivial invariant
‐field, whereas in Definition 5.16 , we have defined strongly nonergodic processes as those whose invariant
‐field contains a ‐field. In this section, we will present a different characterization of ergodic and strongly nonergodic processes which is based on a reflection upon natural language, sketched in the half‐formal Section 1.11. However, we will present the ideas in the opposite direction than in Section 1.11, i.e. we will discuss the probabilistic approach first and seek for its algorithmic counterpart afterward.
As a prerequisite, we recall that according to the Birkhoff ergodic theorem ( Theorem 4.6 ), a process is ergodic if and only if the relative frequency of any finite subsequence in a random sample converges to a certain constant in the long run. Consider now the following thought experiment. Suppose that we select a random book from a library. Yaglom and Yaglom ( 1983 ) observed that there is hardly any book that contains a large number of occurrences of both word lemma and word love . Simply put, there are some keywords that are specific to particular topics of texts and the relative frequencies of these keywords are higher for books concerning some topics, whereas they are lower for books concerning other topics. In other words, the relative frequencies of keywords are random variables with values depending on the particular topic of the randomly selected book. Since keywords are just some particular strings, we may conclude that the stochastic process that models arbitrary books in natural language should be nonergodic.
The above thought experiment provides another perspective onto nonergodic processes. Counting the relative frequencies of keywords, such as lemma or love , we can effectively recognize the topic of a random text. In general, we can imagine quite arbitrary methods of topic identification. According to the following Theorems 8.10 and 8.11 , a process is nonergodic exactly when we can distinguish in the limit at least two random topics in it. Functions
and
appearing in these statements serve that goal. Precisely, they assume values 0 or 1 when we can identify some partial description of the topic, whereas they take value 2 when we are not certain which partial topic description should be assigned to the text.
In the following, let
be the invariant
‐field of the process
for the shift operation (4.1) and let
be the completion of a
‐field
.
Theorem 8.10
Assume that
is a stationary process. A random bit
is
‐measurable if and only if it satisfies condition
(8.74)
for any
and some function
.
Proof:
In the following,
denotes the shift operation (4.1), whereas
is the
‐field generated by random variables
.
Assume first that
is
‐measurable. Hence, by Theorem 5.34 , variable
is also
‐measurable. Hence, by Theorem 5.37 ,
for satisfies condition ( 8.74 ).
As for the converse, assume that
satisfies ( 8.74 ). By Theorem 5.37 , variable
is
‐measurable. Consider random variables
. By condition ( 8.74 ),
, for all
, and hence
by stationarity of
. The latter implies
almost surely and thus
is
‐measurable.
Now let us introduce this definition.
Definition 8.3 (Probabilistic fact)
A random bit
satisfying condition ( 8.74 ) will be called a probabilistic fact.
A probabilistic fact tells which of two topics the infinite text generated by the stationary process is about. It is a kind of a random switch which is preset before we start scanning the infinite text, compare this statement with a similar wording by Gray and Davisson ( 1974b ). Consequently, a process is nonergodic when there exists at least one probabilistic fact which is not constant.
Theorem 8.11
A stationary process
is nonergodic if and only if there exists a random bit
which satisfies condition ( 8.74 ) and has distribution
(8.75)
Proof:
By Definition 4.6 , process
is ergodic if and only if there does not exists a
‐measurable binary random variable
with distribution ( 8.75 ). Hence, the claim follows by Theorem 8.10 .
As for books in natural language, we may have an intuition that the pool of available book topics is extremely large and contains many more topics than just two. For this reason, we may need not a single probabilistic fact
but rather a sequence of probabilistic facts
to specify the topic of a random book completely. Formally, a stationary processes requiring an infinite sequence of independent uniformly distributed probabilistic facts to describe its topic turns out to be strongly nonergodic.
Theorem 8.12
A stationary process
is strongly nonergodic if and only if condition
(8.76)
.
Proof:
By Definition 5.16 , process
is strongly nonergodic if and only if
contains a nonatomic sub‐
‐field. By Theorem 3.5 this holds if and only if there exists a
‐measurable fair‐coin process
. Hence, the claim follows by Theorem 8.10 .
Theorem 8.12 was established by Dębowski ( 2009 ).
As we have stated above, for a strongly nonergodic process, there is an infinite number of independent probabilistic facts
with a uniform distribution on the alphabet
. Formally, these probabilistic facts can be assembled into a single real random variable
, which is uniformly distributed on the unit interval
, i.e. according to the Lebesgue measure. The value of random variable
identifies the topic of a random infinite text. Thus, for a strongly nonergodic process, we have a continuum of available topics which can be incrementally identified from any sufficiently long text.
As shown in Theorem 5.42 , the mixture Bernoulli process (5.114) is some example of a strongly nonergodic process. In this case, the random parameter
defined in Eq. (5.116) plays the role of the random variable
. As another example, we will construct now some strongly nonergodic processes for which condition ( 8.76 ) can be verified directly and easily. The example comes under an umbrella of Santa Fe processes. The first mention of Santa Fe processes appears in articles (Dębowski, 2009 , 2011 ).
Definition 8.4 (Mixture Zipfian Santa Fe process)
Let
be an independent identically distributed (IID) process assuming values in natural numbers with distribution
(8.77)
where
is the Riemann zeta function, and let
be a fair‐coin process independent from process
. Then, the mixture Zipfian Santa Fe process
with an exponent
is defined as
(8.78)
Theorem 8.13
Mixture Zipfian Santa Fe processes are strongly nonergodic.
Proof:
Mixture Zipfian Santa Fe process are strongly nonergodic since condition ( 8.76 ) holds for example for
(8.79)
Simply speaking, function
returns 0 or 1 when an unambiguous value of the second constituent can be read off from pairs
and returns 2 when there is some ambiguity. Condition ( 8.76 ) is satisfied since
(8.80)
Some property that distinguishes the mixture Zipfian Santa Fe processes from the mixture Bernoulli process (5.114) is a power‐law growth of the number of inferrable probabilistic facts, definedas follows.
Definition 8.5 (Set of inferrable probabilistic facts)
For a strongly nonergodic stationary process
, let
be a fair‐coin process that satisfies condition ( 8.76 ). The set of probabilistic facts inferrable from block
is defined as
(8.81)
In other words, we have
where
is the largest number such that
for all
.
Theorem 8.14
For the mixture Zipfian Santa Fe process with an exponent
and function ( 8.79 ),
(8.82)
(8.83)
Proof:
First, we obtain
(8.84)
. It is easy to observe that
(8.85)
Hence, by the Borel–Cantelli lemma ( Theorem 3.12 ), we obtain
for all but finitely many
almost surely.
Second, we obtain
(8.86)
where we use inequality
. Put now
. We obtain
(8.87)
so we obtain
(8.88)
Hence, the Borel–Cantelli lemma ( Theorem 3.12 ) yields
for all but finitely many
almost surely. Combining this result with the previous result yields equality ( 8.82 ).
To obtain equality ( 8.83 ), 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 that
(8.89)
where the last term decays according to the stretched exponential bound ( 8.87 ) for
.
As it was motivated in Section 1.11, we may ask whether the idea of the power‐law growth of the number of inferrable facts can be translated somehow to the case of ergodic processes. Some straightforward method to apply is to replace the fair‐coin process
with a certain algorithmically incompressible sequence of particular binary digits
. Subsequently, let us try to generalize condition ( 8.76 ) as
(8.90)
In fact, condition ( 8.90 ) is trivially satisfied for any stationary process for a certain recursive function
and an algorithmically incompressible , we recover condition ( 8.90 ).
In spite of this negative result, let us define the set of algorithmic facts inferrable from an arbitrary stationary process.
Definition 8.6 (Set of inferrable algorithmic facts)
For a strongly nonergodic stationary process
, let
be an algorithmically incompressible sequence that satisfies condition ( 8.90 ) for a certain recursive function
. The set of algorithmic facts inferrable from block
is defined as
(8.91)
Subsequently, we will call a process perigraphic if the expected number of algorithmic facts which can be inferred from a finite text sampled from the process grows asymptotically like a power of the text length.
Definition 8.7 (Perigraphic process)
A stationary discrete process
is called perigraphic if
(8.92)
for some recursive function
and an algorithmically incompressible sequence
.
The concept of a perigraphic process was introduced by Dębowski ( 2018a ).
Let us also adjust the definition of the Santa Fe process.
Definition 8.8 (Individual Zipfian Santa Fe process)
Let
be an IID process assuming values in natural numbers with the power‐law distribution ( 8.77 ), and let
be an arbitrary algorithmically incompressible sequence of binary digits. Then, the individual Zipfian Santa Fe process
with an exponent
is defined as
(8.93)
Theorem 8.15
Individual Zipfian Santa Fe processes are ergodic.
Proof:
Individual Zipfian Santa Feprocess are IID processes, which are mixing and ergodic by Theorem 4.14 .
Theorem 8.16
For the individual Zipfian Santa Fe process with an exponent
and function ( 8.79 ),
(8.94)
(8.95)
Proof:
We obtain the proof by plugging
instead of
in the proof of Theorem 8.14 .
According to the above proposition, individual Zipfian Santa Fe processes are perigraphic. But as we will show in the next section, not every process is perigraphic since all perigraphic processes have nonrecursive distributions.
8.4 Theorems About Facts and Words
Consider the Shannon mutual information
between two blocks of an infinite random text and let us consider its limit, the excess entropy
(8.96)
where the second equality was established in Theorem 5.33 . In Theorem 5.40 , we have shown that
for any strongly nonergodic process. Intuitively, we may expect this result since an infinite sequence of independent random bits
can be learned given either the infinite past or the infinite future of
.
Subsequently, Theorem 5.40 can be strengthened in form of an inequality between the mutual information and the expected number of facts that can be inferred from a finite random text. Moreover, using Theorem 6.16 for the PPM probabilities, we can demonstrate a reverse inequality between the mutual information and the expected number of PPM words detected in the random text. Chaining these two results together, we obtain statements which we call theorems about facts and words, which were mentioned half‐formally in the introductory Section 1.12. These statements say that the number of inferrable independent facts must be roughly smaller than the number of detected PPM words. The theorems hold both in a probabilistic and an algorithmic setting.
The preliminaries are as follows. Let us restrict ourselves to processes over a finite alphabet. We will compare the Shannon entropy
, the Kolmogorov complexity
, and the PPM probability of a random block
. We recall notation
. Since the PPM probability is a recursive distribution then by (7.79), we have
(8.97)
whereas by (7.80), we have
(8.98)
Hence, by Theorem 5.12 (existence of the entropy rate) and Theorem 6.7 (universality of the PPM probability), we obtain equality of rates
(8.99)
Moreover, for a stationary process, the mutual information satisfies
(8.100)
(8.101)
Hence,by Theorem 8.2 , we obtain a network of inequalities
(8.102)
We also note this auxiliary statement.
Theorem 8.17
For a random variable
with values in natural numbers,
(8.103)
(8.104)
Proof:
Let
. By the Gibbs inequality ( Theorem 3.18 ) and the Jensen inequality ( Theorem 3.14 ), we have
(8.105)
is computable, we obtain
(8.106)
Having these results, we may formulate the main statements of this section. The first one is the theorem about probabilistic facts and mutual information.
Theorem 8.18 (Probabilistic facts and mutual information)
Let
be a stationary strongly nonergodic process, where
are random variables over a finite alphabet
. We have inequality
(8.107)
Proof:
Let us write
. Observe that
(8.108)
where the last row of inequalities follows by Theorem 8.17 . Hence, by the inequality
(8.109)
for a measurable function
and by the chain rule for Shannon entropy (7.43), we obtain
(8.110)
Now we observe that
(8.111)
by Theorem 5.34 . Hence, we have
(8.112)
Chaining inequalities ( 8.110 ) and ( 8.112 ) and network ( 8.102 ), we obtain ( 8.107 ).
There is also an algorithmic version of the above theorem, which can be applied to perigraphic processes in particular. Once we replace probabilistic facts with algorithmic facts, we have to replace the Shannon mutual information with the algorithmic mutual information.
Theorem 8.19 (Algorithmic facts and mutual information)
Let
be a stationary process, where
are random variables over a finite alphabet
. We have inequality
(8.113)
Proof:
Let us write
. Observe that there exists a constant
depending on
such that
(8.114)
(8.115)
where the first row of inequalities follows by the algorithmic incompressibility of
, whereas the second row of inequalities follows by Theorem 8.17 . Moreover, for any a recursive function
, we have
(8.116)
Hence, applying the chain rule for Kolmogorov complexity (7.44), we obtain
(8.117)
where
is the recursive function from Definition 8.6 . Hence, by the Jensen inequality ( Theorem 3.14 ),
(8.118)
Now we observe that
(8.119)
by Theorems 3.18 and 7.24. Hence, we derive
(8.120)
Chaining inequalities ( 8.118 ) and ( 8.120 ) and network ( 8.102 ), we obtain ( 8.113 ).
Applying inequalities ( 8.118 ) and ( 8.119 ) from the proof of the above theorem, we can also show that perigraphic processes have nonrecursive distributions in general. This result was mentioned in the previous section.
Theorem 8.20
Any perigraphic process has a nonrecursive distribution.
Proof:
Assume that a perigraphic process
has a recursive distribution
. By inequalities ( 8.118 ) and ( 8.119 ), we have
(8.121)
Since for a recursive distribution
we have inequality (7.79) then
(8.122)
Since we have obtained a contradiction with the assumption that the process is perigraphic, measure
cannot be recursive.
Now we come back to universal semidistributions and the PPM probabilities. Using Theorem 6.16 , we can demonstrate an opposite inequality between the Shannon or algorithmic mutual information and the expected number of distinct PPM words that can be detected in a random text.
Theorem 8.21 (Mutual information and PPM words)
Let
be a stationary process, where
are random variables over a finite alphabet
. Let . There holds inequality
(8.123)
Proof:
By Theorem 6.17 and stationarity, we obtain
(8.124)
Hence, inequality ( 8.123 ) follows by network ( 8.102 ).
Combining Theorems 8.18 and 8.21 , we obtain a neat statement which links the expected number of independent facts that can be inferred from a random text with the expected number of distinct PPM words that can be detected in a random text. Namely, the number of inferred facts is roughly smaller than the number of the detected PPM words, if the PPM order does not grow too fast.
Theorem 8.22 (Probabilistic facts and PPM words)
Consider a strongly nonergodic stationary process
, where
and the alphabet
is finite. We have inequalities
(8.125)
Proof:
The claim follows by conjunction of Theorems 8.18 and 8.21 .
The above theorem has also an algorithmic version, for ergodic and perigraphic processes in particular.
Theorem 8.23 (Algorithmic facts and PPM words)
Consider a stationary process
, where
and the alphabet
is finite. We have inequalities
(8.126)
Proof:
The claim follows by conjunction of Theorems 8.19 and 8.21 .
, was stated by Dębowski ( 2011 ), see Problem 7.4. Dębowski was not aware at that time of Theorem 8.2 . Using Theorem 8.2 , his result for the minimal grammar‐based codes can be strengthened as well. We will not discuss this issue, however, since the respective minimal grammar‐based codes probably cannot be computed in a reasonable time, see Charikar et al. ( 2005 ).
Let us recall the empirical observations from Section 1.12. In Figure 1.6, we have presented the growth of the PPM order
and the number of PPM words
for Shakespeare's First Folio/35 plays and a random permutation of the text characters. For the plays of Shakespeare, we seem to have a stepwise power law growth of
with the Hilberg exponent close to 0.8, whereas for the random permutation of characters we seem to obtain the Hilberg exponent equal to 0. Noticing the difference between these observations, we might suppose that the number of inferrable probabilistic or algorithmic facts for texts in natural language also obeys a power‐law growth. Formally, however, we cannot make such a deduction since inequalities ( 8.125 ) and ( 8.126 ) can be strict.
The strictness of inequalities ( 8.125 ) and ( 8.126 ) probably can be related to the following observations, see Problem 5.6. First, the Gács–Körner common information between random variables
and
is
(8.127)
Gács and Körner ( 1973 ) showed that common information
satisfies inequality
, which is usually strict. In our application, expectation
may be close to the Gács–Körner common information between block
and the persistent topic
. Hence,
may be much smaller than mutual information
, which is close to mutual information
. Second, a similar idea might be possibly applied to the to the upper bound mutual information
. Namely, the modified Wyner common information between random variables
and
is
(8.128)
Wyner ( 1975 ) proved that common information
satisfies inequality
, which is usually strict. In our application, expectation
may be close to the modified Wyner common information between blocks
and
, which is larger than mutual information
.
Let us also note that the theorems about facts and words have been stated only for processes over a finite alphabet, whereas Santa Fe processes, our basic Chapter, we will construct some strongly nonergodic and perigraphic processes over a finite alphabet via an operation called quasiperiodic coding, to be discussed in Section 10.2 . xThis operation will be applied to Santa Fe processes in particular, so these processes are indeed convenient guiding examples in our theory.
Problems
-
8.1 Show that
(8.129)
(8.130)
-
8.2 Show that for
we have (8.131)
(8.132)
-
8.3 Show that the claims of Theorems 8.4 and 8.5 hold also for
and
,
, where
. -
8.4 Show that:
-
almost surely for the Bernoulli(
) process. -
almost surely for the mixture Zipfian Santa Fe process with an exponent
.
Having solved the task, see Dębowski ( 2015a ) for the solution.
-
-
8.5 Let
be positive real functions of an arbitrary argument
. Suppose that for
we may define (8.133)
(8.134)
Show that:
-
; -
; - ;
-
.
What if we replace term
in ( 8.133 ) and ( 8.134 ) with a subadditive or a superadditive function
of the argument
? Can these observations be somehow related to the theorems about facts and words and Problem 8.4? -
-
8.6 Consider an arbitrary infinite sequence
over a countable alphabet. Show that (8.135)
-
8.7 Define the Kolmogorov order of a string
(8.136)
where
is the empirical entropy. Argue that
, where
is the maximal repetition. Denote the respective Kolmogorov vocabulary as
. Consider an arbitrary infinite sequence
over a finite alphabet. Show that (8.137)
-
8.8 Consider a stationary ergodic
th order Markov process
. Show that (8.138)
holds for the empirical entropy
of a string
. -
8.9 Let a sequence
be Martin‐Löf random with respect to a stationary ergodic
th order Markov measure. Prove inequalities (8.139)
for the Kolmogorov order
, the Markov order
, and the PPM order
. Remark : Can these inequalities be strengthened as equalities or generalized to an arbitrary stationary ergodic measure? Denote the consistent estimator of the Markov order by Morvai and Weiss ( 2005 ) as
and define the respective vocabulary
. If we could prove that (8.140)
which is Martin‐Löf random with respect to a stationary ergodic measure over a finite alphabet then we would obtain a pointwise version of the theorem about mutual information and words, namely,
(8.141)
-
8.10 Consider a stationary ergodic process
. Define (8.142)
(8.143)
Construct some examples of stationary ergodic processes such that:
-
; -
; -
; -
and
; -
and
; -
and
.
Compare your constructions with examples of processes presented in Chapter 11 .
-