On Semimeasures Predicting Martin-Loef Random Sequences
Marcus Hutter, Andrej Muchnik

TL;DR
This paper investigates the convergence properties of universal semimeasures in predicting Martin-Löf random sequences, revealing limitations and conditions under which convergence occurs or fails.
Contribution
It demonstrates that some universal semimeasures do not converge on all random sequences, and identifies conditions where convergence is guaranteed for non-universal semimeasures.
Findings
W converges to D on all random sequences
D converges to the true measure mu on all random sequences
Some universal semimeasures fail to converge on all random sequences
Abstract
Solomonoff's central result on induction is that the posterior of a universal semimeasure M converges rapidly and with probability 1 to the true sequence generating posterior mu, if the latter is computable. Hence, M is eligible as a universal sequence predictor in case of unknown mu. Despite some nearby results and proofs in the literature, the stronger result of convergence for all (Martin-Loef) random sequences remained open. Such a convergence result would be particularly interesting and natural, since randomness can be defined in terms of M itself. We show that there are universal semimeasures M which do not converge for all random sequences, i.e. we give a partial negative answer to the open problem. We also provide a positive answer for some non-universal semimeasures. We define the incomputable measure D as a mixture over all computable measures and the enumerable semimeasure W…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputability, Logic, AI Algorithms · semigroups and automata theory · Algorithms and Data Compression
On Semimeasures Predicting Martin-Löf Random Sequences††thanks: This work was partially supported by the Swiss National Science Foundation
(SNF grants 2100-67712 and 200020-107616) and the Russian Foundation for Basic Research (RFBR grants N04-01-00427 and N02-01-22001). Submitted 15.May’05. Revised 26.Sep’06. A shorter version appeared in the proceedings of the ALT 2004 conference [HM04].
**Marcus Hutter
** IDSIA, Galleria 2, CH-6928 Manno-Lugano, Switzerland
RSISE/ANU/NICTA, Canberra, ACT, 0200, Australia
[email protected] http://www.hutter1.net
**Andrej Muchnik
** Institute of New Technologies, 10 Nizhnyaya Radischewskaya
Moscow 109004, Russia [email protected]
(14 October 2006)
Abstract
Solomonoff’s central result on induction is that the prediction of a universal semimeasure converges rapidly and with probability 1 to the true sequence generating predictor , if the latter is computable. Hence, is eligible as a universal sequence predictor in case of unknown . Despite some nearby results and proofs in the literature, the stronger result of convergence for all (Martin-Löf) random sequences remained open. Such a convergence result would be particularly interesting and natural, since randomness can be defined in terms of itself. We show that there are universal semimeasures which do not converge to on all -random sequences, i.e. we give a partial negative answer to the open problem. We also provide a positive answer for some non-universal semimeasures. We define the incomputable measure as a mixture over all computable measures and the enumerable semimeasure as a mixture over all enumerable nearly-measures. We show that converges to and to on all random sequences. The Hellinger distance measuring closeness of two distributions plays a central role.
Keywords
Sequence prediction; Algorithmic Information Theory; universal enumerable semimeasure; mixture distributions; predictive convergence; Martin-Löf randomness; supermartingales; quasimeasures.
1 Introduction
“All difficult conjectures should be proved by reductio ad absurdum arguments. For if the proof is long and complicated enough you are bound to make a mistake somewhere and hence a contradiction will inevitably appear, and so the truth of the original conjecture is established QED.”
— Barrow’s second ‘law’ (2004)
A sequence prediction task is defined as to predict the next symbol from an observed sequence . The key concept to attack general prediction problems is Occam’s razor, and to a less extent Epicurus’ principle of multiple explanations. The former/latter may be interpreted as to keep the simplest/all theories consistent with the observations and to use these theories to predict . Solomonoff [Sol64, Sol78] formalized and combined both principles in his universal a priori semimeasure which assigns high/low probability to simple/complex environments , hence implementing Occam and Epicurus. Formally it can be represented as a mixture of all enumerable semimeasures. An abstract characterization of by Levin [ZL70] is that is a universal enumerable semimeasure in the sense that it multiplicatively dominates all enumerable semimeasures.
Solomonoff’s [Sol78] central result is that if the probability of observing at time , given past observations is a computable function, then the universal predictor converges (rapidly!) with -probability 1 (w.p.1) for to the optimal/true/informed predictor , hence represents a universal predictor in case of unknown “true” distribution . Convergence of to w.p.1 tells us that is close to for sufficiently large for almost all sequences . It says nothing about whether convergence is true for any particular sequence (of measure 0).
Martin-Löf (M.L.) randomness is the standard notion for randomness of individual sequences [ML66, LV97]. A M.L.-random sequence passes all thinkable effective randomness tests, e.g. the law of large numbers, the law of the iterated logarithm, etc. In particular, the set of all -random sequences has -measure 1. It is natural to ask whether converges to (in difference or ratio) individually for all M.L.-random sequences. Clearly, Solomonoff’s result shows that convergence may at most fail for a set of sequences with -measure zero. A convergence result for M.L.-random sequences would be particularly interesting and natural in this context, since M.L.-randomness can be defined in terms of itself [Lev73]. Despite several attempts to solve this problem [Vov87, VL00, Hut03b], it remained open [Hut03c].
In this paper we construct an M.L.-random sequence and show the existence of a universal semimeasure which does not converge on this sequence, hence answering the open question negatively for some . It remains open whether there exist (other) universal semimeasures, probably with particularly interesting additional structure and properties, for which M.L.-convergence holds. The main positive contribution of this work is the construction of a non-universal enumerable semimeasure which M.L.-converges to as desired. As an intermediate step we consider the incomputable measure , defined as a mixture over all computable measures. We show M.L.-convergence of predictor to and of to . The Hellinger distance measuring closeness of two predictive distributions plays a central role in this work.
The paper is organized as follows: In Section 2 we give basic notation and results (for strings, numbers, sets, functions, asymptotics, computability concepts, prefix Kolmogorov complexity), and define and discuss the concepts of (universal) (enumerable) (semi)measures. Section 3 summarizes Solomonoff’s and Gács’ results on predictive convergence of to with probability 1. Both results can be derived from a bound on the expected Hellinger sum. We present an improved bound on the expected exponentiated Hellinger sum, which implies very strong assertions on the convergence rate. In Section 4 we investigate whether convergence for all Martin-Löf random sequences hold. We construct a -M.L.-random sequence on which some universal semimeasures do not converge to . We give a non-constructive and a constructive proof of different virtue. In Section 5 we present our main positive result. We derive a finite bound on the Hellinger sum between and , which is exponential in the randomness deficiency of the sequence and double exponential in the complexity of . This implies that the predictor M.L.-converges to . Finally, in Section 6 we show that is non-universal and asymptotically M.L.-converges to , and summarize the computability, measure, and dominance properties of , , , and . Section 7 contains discussion and outlook.
2 Notation & Universal Semimeasures
Strings. Let be natural numbers, be finite strings of symbols over finite alphabet . We write for the concatenation of string with . We denote strings of length by with and further abbreviate for , and , and for the empty string. Let be a generic and a specific infinite sequence. For a given sequence we say that is on-sequence and is off-sequence. may be on- or off-sequence. We identify strings with natural numbers (including zero, ).
Sets and functions. , , are the sets of fractional, real, and nonnegative real numbers, respectively. denotes the number of elements in set , the natural and the binary logarithm.
Asymptotics. We abbreviate by and say converges to , without implying that itself exists. We write f(x)\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu\times}}}{{\smash{\leq}}}}g(x) for and f(x)\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}g(x) for .
Computability. A function is said to be enumerable (or lower semicomputable) if the set is recursively enumerable. is co-enumerable (or upper semicomputable) if is enumerable. is computable (or estimable or recursive) if and are enumerable. is approximable (or limit-computable) if there is a computable function with .
Complexity. The conditional prefix (Kolmogorov) complexity is the length of the shortest binary program on a universal prefix Turing machine with output and input [LV97]. . For non-string objects we define , where is some standard code for . In particular, if is an enumeration of all enumerable functions, we define . We only need the following elementary properties: The co-enumerability of , the upper bounds K(x|{\ell}(x))\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}{\ell}(x)\log|{\cal X}| and K(n)\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}2\log n, and K(x|y)\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}K(x), subadditivity K(x)\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}K(x,y)\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}K(y)+K(x|y), and information non-increase K(f(x))\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}K(x)+K(f) for recursive .
We need the concepts of (universal) (semi)measures for strings [ZL70].
Definition 1** ((Semi)measures)**
We call a semimeasure if , and a (probability) measure if equality holds and . denotes the -probability that a sequence starts with string . Further, is the predictive -probability that the next symbol is , given sequence .
Definition 2** (Universal semimeasures )**
A semimeasure is called a universal element of a class of semimeasures , if it multiplicatively dominates all members in the sense that
[TABLE]
From now on we consider the (in a sense) largest class which is relevant from a constructive point of view (but see [Sch00, Sch02, Hut03b] for even larger constructive classes), namely the class of all semimeasures, which can be enumerated (=effectively be approximated) from below:
[TABLE]
Solomonoff [Sol64, Eq.(7)] defined the universal predictor with defined as the probability that the output of a universal monotone Turing machine starts with when provided with fair coin flips on the input tape. Levin [ZL70] has shown that this is a universal enumerable semimeasure. Another possible definition of is as a (Bayes) mixture [Sol64, ZL70, Sol78, LV97, Hut03b, Hut05]: , where is the length of the shortest program computing function . Levin [ZL70] has shown that the class of all enumerable semimeasures is enumerable (with repetitions), hence is enumerable, since is co-enumerable. Hence , which implies
[TABLE]
Up to a multiplicative constant, assigns higher probability to all than any other enumerable semimeasure. All have the same very slowly decreasing (in ) domination constants , essentially because . We drop the prime from in the following. The mixture definition immediately generalizes to arbitrary weighted sums of (semi)measures over countable classes other than , but the class may not contain the mixture, and the domination constants may be rapidly decreasing. We will exploit this for the construction of the non-universal semimeasure in Sections 5 and 6.
3 Predictive Convergence with Probability 1
The following convergence results for are well-known [Sol78, LV97, Hut03a, Hut05].
Theorem 3** (Convergence of to w.p.1)**
For any universal semimeasure and any computable measure it holds:
[TABLE]
The first convergence in difference is Solomonoff’s [Sol78] celebrated convergence result. The second convergence in ratio has first been derived by Gács [LV97]. Note the subtle difference between the two convergence results. For any sequence (possibly constant and not necessarily random), converges to zero w.p.1 (referring to ), but no statement is possible for , since could be zero. On the other hand, if we stay on-sequence (), we have (whether tends to zero or not does not matter). Indeed, it is easy to give an example where diverges. For we get , i.e. is -random. On the other hand, one can show that and M(0_{<n}1)\smash{\stackrel{{\scriptstyle\raisebox{1.80835pt}{\scriptstyle\times}}}{{\smash{=}}}}2^{-K(n)}, which implies {M(1|0_{<n})\over\mu(1|0_{<n})}\smash{\stackrel{{\scriptstyle\raisebox{1.80835pt}{\scriptstyle\times}}}{{\smash{=}}}}n^{3}\cdot 2^{-K(n)}\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\times\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu}}}{{\smash{\geq}}}}n\to\infty for (K(n)\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}2\log n).
Theorem 3 follows from (the discussion after) Lemma 4 due to . Actually the Lemma strengthens and generalizes Theorem 3. In the following we denote expectations w.r.t. measure by , i.e. for a function , , where sums over all for which . Using instead is (only) important for partial functions undefined on a set of -measure zero. Similarly denotes the -probability.
Lemma 4** (Expected Bounds on Hellinger Sum)**
Let be a measure and be a semimeasure with . Then the following bounds on the Hellinger distance hold:
[TABLE]
where here and later means expectation w.r.t. .
The -bounds on the first and second expression have first been derived in [Hut03a], the second being a variation of Solomonoff’s bound . If sequence is sampled from the probability measure , these bounds imply
[TABLE]
where w.p.1 stands here and in the following for ‘with -probability 1’.
Convergence is “fast” in the following sense: The second bound () implies that the expected number of times in which is finite and bounded by . The new third bound represents a significant improvement. It implies by means of a Markov inequality that the probability of even only marginally exceeding this number is extremely small, and that is very unlikely to exceed by much. More precisely:
[TABLE]
[TABLE]
Proof. We use the abbreviations and for and .
follows from
[TABLE]
by taking the expectation and sum .
follows from Jensen’s inequality for .
We exploit a construction used in [Vov87, Thm.1]. For discrete (semi)measures and with and it holds:
[TABLE]
The first inequality is obvious after multiplying out the second expression. The second inequality follows from . Vovk [Vov87] defined a measure with normalization . Applying (3) for measure and semimeasure we get . Together with this implies
[TABLE]
Summing over and exploiting we get ], which proves .
The bound and proof may be generalized to with by defining with and exploiting .
One can show that the constant in Lemma 4 can essentially not be improved. Increasing it to a constant makes the expression infinite for some (Bernoulli) distribution (however we choose ). For the expression can become already infinite for and some computable measure .
4 Non-Convergence in Martin-Löf Sense
Convergence of to with -probability 1 tells us that is close to for sufficiently large on ‘most’ sequences . It says nothing whether convergence is true for any particular sequence (of measure 0). Martin-Löf randomness can be used to capture convergence properties for individual sequences. Martin-Löf randomness is a very important and default concept of randomness of individual sequences, which is closely related to Kolmogorov complexity and Solomonoff’s universal semimeasure . Levin gave a characterization equivalent to Martin-Löf’s original definition [Lev73]:
Definition 5** (Martin-Löf random sequences)**
A sequence is -Martin-Löf random (.M.L.) iff there is a constant such that for all . Moreover, is called the randomness deficiency of .
One can show that an M.L.-random sequence passes all thinkable effective randomness tests, e.g. the law of large numbers, the law of the iterated logarithm, etc. In particular, the set of all .M.L.-random sequences has -measure 1.
The open question we study in this section is whether converges to (in difference or ratio) individually for all Martin-Löf random sequences. Clearly, Theorem 3 implies that convergence .M.L. may at most fail for a set of sequences with -measure zero. A convergence M.L. result would be particularly interesting and natural for , since M.L.-randomness can be defined in terms of itself (Definition 5).
The state of the art regarding this problem may be summarized as follows: [Vov87] contains a (non-improvable?) result which is slightly too weak to imply M.L.-convergence, [LV97, Thm.5.2.2] and [VL00, Thm.10] contain an erroneous proof for M.L.-convergence, and [Hut03b] proves a theorem indicating that the answer may be hard and subtle (see [Hut03b] for details).
The main contribution of this section is a partial answer to this question. We show that M.L.-convergence fails at least for some universal semimeasures:
Theorem 6** (Universal semimeasure non-convergence)**
There exists a universal semimeasure and a computable measure and a .M.L.-random sequence , such that
[TABLE]
This implies that also does not converge (since is bounded). We do not know whether Theorem 6 holds for all universal semimeasures. For the proof we need the concept of supermartingales. We only define it for binary alphabet and uniform measure for which we need it.
Definition 7** (Supermartingale)**
[TABLE]
If is a (enumerable) semimeasure, then is a (enumerable) supermartingale. We prove the following theorem, which will imply Theorem 6.
Lemma 8** (Supermartingale non-convergence)**
For the M.L.-random sequence defined in (4) and the enumerable supermartingale defined in Lemma 9 and for any and any on bounded supermartingale , i.e. , it holds that
[TABLE]
(or both) for a non-vanishing fraction of , where supermartingale and some .
Proof. We define a sequence , which, in a sense, is the lexicographically first (or equivalently left-most in the tree of sequences) .M.L.-random sequence. Formally we define , inductively in by
[TABLE]
We know that and if . Inductively, assuming for we have since is a semimeasure, hence . Hence111Alternatively we may define if and else.
[TABLE]
With and , also is a supermartingale. We prove that the Theorem holds for infinitely many . It is easy to refine the proof to a non-vanishing fraction of ’s. Assume that for (otherwise we are done). implies , implies . Since is bounded, must be 1, hence for sufficiently large we have for all .
Assume and for infinitely many and for infinitely many (e.g. take as defined in Lemma 9). Since stabilizes and oscillates, cannot converge. Formally, for (the infinitely many) for which and we have
[TABLE]
for sufficiently small and . Similarly for (the infinitely many) for which and we have
[TABLE]
This shows that Lemma 8 holds for infinitely many . If we define zero off-sequence, i.e. for , then is a supermartingale, but a non-enumerable one, since is not computable. In the next lemma we define an enumerable supermartingale , which completes the proof of Lemma 8. Finally note that we could have defined with arbitrarily small , showing that already a small contamination can destroy convergence. This is no longer true for the constructive proof below.
Lemma 9** (Enumerable supermartingale)**
Let with be computable approximations of , which enumerate , i.e. for . For each define recursively a sequence similarly to (4) as if and else. For even we define if and else. For odd we define . is an enumerable supermartingale with being 1 and for a non-vanishing fraction of ’s, where ( lexicographically increasing).
The idea behind the definition of is to define for odd and if possible for even . The following possibilities exist for the local part of the sequence tree:
, odd or or , and even or or ,
all respecting the supermartingale property. The formal proof goes as follows:
Proof. is enumerable, since is computable. Further, . For odd the supermartingale property is obviously satisfied. For even and for some we have . Even and implies , hence . This shows that is a supermartingale.
Since is monotone increasing, is also monotone increasing w.r.t. to lexicographical ordering on . Hence converges to for , and even and sufficiently large (-dependent) . This implies for odd . We know that for a non-vanishing fraction of (even) , since is random. For such , , hence . This shows that () for a non-vanishing fraction of , namely the odd ones (the even ones with ).
Nonconstructive Proof of Theorem 6. Use Lemma 8 with , , , hence is an enumerable semimeasure, hence with , also is a universal semimeasure. from (5) and from universality of and computability of show that the conditions of Lemma 8 are satisfied. Hence . Multiplying this by completes the proof.
The proof of Theorem 6 is non-constructive. Either or (or both) do not converge, but we do not know which one. Below we give an alternative proof which is constructive. The idea is to construct an enumerable (semi)measure such that dominates on , but . Then we mix to to make universal, but with larger contribution from , in order to preserve non-convergence.
Constructive Proof of Theorem 6. We define an enumerable semimeasure as follows:
[TABLE]
where is the lexicographical ordering on sequences, and has been defined in Lemma 9. is a semimeasure, and with also is computable and monotone increasing in , hence is an enumerable semimeasure (indeed, is a measure). We could have defined a by replacing with in (6). Since is monotone increasing in and , any order of leads to , so we have chosen arbitrarily . By induction (starting from ) it follows that
[TABLE]
On-sequence, i.e. for , is somewhere in-between [math] and . Since sequence is .M.L.-random it contains infinitely often, actually for a non-vanishing fraction of . In the following we fix such an . For we get
[TABLE]
This ensures . For large enough such that we get:
[TABLE]
This ensures by (5). Let be any universal semimeasure and . Then is also a universal semimeasure with
[TABLE]
For instance for we have for a non-vanishing fraction of ’s. Note that the contamination of with must be sufficiently large ( sufficiently small), while an advantage of the the non-constructive proof is that an arbitrarily small contamination sufficed.
A converse of Theorem 6 can also be shown:
Theorem 10** (Convergence on nonrandom sequences)**
For every universal semimeasure there exist computable measures and non-.M.L.-random sequences for which .
5 Convergence in Martin-Löf Sense
In this section we give a positive answer to the question of predictive M.L.-convergence to . We consider general finite alphabet .
Theorem 11** (Universal predictor for M.L.-random sequences)**
There exists an enumerable semimeasure such that for every computable measure and every .M.L.-random sequence , the predictions converge to each other:
[TABLE]
The semimeasure we will construct is not universal in the sense of dominating all enumerable semimeasures, unlike . Normalizing shows that there is also a measure whose predictions converge to , but this measure is not enumerable, only approximable. For proving Theorem 11 we first define an intermediate measure as a mixture over all computable measures, which is not even approximable. Based on Lemmas 4,12,13, Proposition 14 shows that M.L.-converges to . We then define the concept of quasimeasures in Definition 15 and an enumerable semimeasure as a mixture over all enumerable quasimeasures. Proposition 18 shows that M.L.-converges to . Theorem 11 immediately follows from Propositions 14 and 18.
Lemma 12** (Hellinger Chain)**
Let be the Hellinger distance between and . Then
[TABLE]
Proof. For any and , squaring the triangle inequality and chaining it with the binomial shows . follows for , , and and summation over .
Applying for the triples for and in order of with gives
[TABLE]
For we have and , which completes the proof. The choice would lead to a bound with instead of .
We need a way to convert expected bounds to bounds on individual M.L. random sequences, sort of a converse of “M.L. implies w.p.1”. Consider for instance the Hellinger sum between two computable measures . Then is an enumerable function and Lemma 4 implies , hence is an integral -test. can be increased to an enumerable -supermartingale . The universal -supermartingale multiplicatively dominates all enumerable supermartingales (and hence ). Since , this implies the desired bound H(\omega)\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu\times}}}{{\smash{\leq}}}}2^{d_{\mu}(\omega)} for individual . We give a self-contained direct proof, explicating all important constants.
Lemma 13** (Expected to Individual Bound)**
Let be an enumerable function and be an enumerable measure and be co-enumerable. Then:
[TABLE]
where is the -randomness deficiency of and is the length of the shortest program for , , and .
Lemma 13 roughly says that for , , and \varepsilon\smash{\stackrel{{\scriptstyle\raisebox{1.80835pt}{\scriptstyle\times}}}{{\smash{=}}}}{\bf E}_{\mu}[F] with short program () and -random () we have F(\omega)\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu\times}}}{{\smash{\leq}}}}{\bf E}_{\mu}[F].
Proof. Let be enumerated by an increasing sequence of computable functions . can be chosen to depend on only, i.e. is independent of . Let co-enumerate . We define
[TABLE]
is a computable semimeasure for each (due to ) and increasing in , since
[TABLE]
and similarly for . Hence is an enumerable semimeasure (indeed is proportional to a measure). From dominance (2) we get
[TABLE]
In order to enumerate , we need to enumerate , , and , hence K(\bar{\mu})\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}K(\mu,F,\mskip 3.0mu^{1}\mskip-3.0mu/\varepsilon), so we get
[TABLE]
Taking the limit and completes the proof.
Let be an enumeration of all enumerable semimeasures, is measure, and . The weights need to be computable and exponentially decreasing in and . We choose . Note the subtle and important fact that although the definition of is non-constructive, as a finite set of finite objects, is decidable (the program is unknowable for large ). Hence, is computable, since enumerable measures are computable.
[TABLE]
In contrast to and , the set and hence are neither enumerable nor co-enumerable. We also define the measures and . The following Proposition implies predictive convergence of to on -random sequences.
Proposition 14** (Convergence of incomputable measure )**
Let be a computable measure with index , i.e. . Then for the incomputable measure and the computable but non-constructive measures defined above, the following holds:
[TABLE]
Combining and , using Lemma 12, we get for -random , which implies . We do not know whether on-sequence convergence of the ratio holds. Similar bounds hold for instead , . The principle proof idea is to convert the expected bounds of Lemma 4 to individual bounds, using Lemma 13. The problem is that is not computable, which we circumvent by joining with Lemma 12, bounds on for .
Proof. Let . and are measures with , since , and . Hence, Lemma 4 applies and shows . is well-defined and enumerable for , since implies implies . So and are well defined and computable (given ). Hence is computable, hence is enumerable. Lemma 13 then implies \exp({\textstyle{1\over 2}}H(\omega))\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu\times}}}{{\smash{\leq}}}}\varepsilon_{k_{0}}^{-1/2}\cdot 2^{K(\mu,H,\sqrt{\varepsilon}_{k_{0}})+d_{\mu}(\omega)}. We bound
[TABLE]
The first inequality holds, since is the index and hence a description of , and is a simple computable function. can be computed from , and , which implies the second inequality. The last inequality follows from K(k_{0})\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}2\log k_{0} and the fact that for each one bit suffices to specify (non)membership to , i.e. K(J_{k_{0}}|k_{0})\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu+}}}{{\smash{\leq}}}}k_{0}. Putting everything together we get
[TABLE]
Let and . implies
[TABLE]
where . Note that is not empty. Since and are measures, Lemma 4 applies and shows . Exploiting , this implies . Lemma 13 then implies H^{k}(\omega)\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu\times}}}{{\smash{\leq}}}}{\varepsilon_{k}\over\varepsilon_{O}\varepsilon_{k_{0}}}\cdot 2^{K(\mu,H^{k},\varepsilon_{O}\varepsilon_{k_{0}}/\varepsilon_{k})+d_{\mu}(\omega)}. Similarly as in we can bound
[TABLE]
[TABLE]
Chaining this bound via Lemma 12 we get for :
[TABLE]
If we now take we get \sum_{t=1}^{n}h_{t}(\hat{\delta}_{k_{0}},\hat{D})\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu\times}}}{{\smash{\leq}}}}3k_{0}^{7}2^{k_{0}+d_{\mu}(\omega)}. Finally let .
The main properties allowing for proving were that is a measure with approximations , which are computable in a certain sense. is a mixture over all enumerable/computable measures and hence incomputable.
6 M.L.-Converging Enumerable Semimeasure
The next step is to enlarge the class of computable measures to an enumerable class of semimeasures, which are still sufficiently close to measures in order not to spoil the convergence result. For convergence w.p.1. we could include all semimeasures (Theorem 3). M.L.-convergence seems to require a more restricted class. Included non-measures need to be zero on long strings. We define quasimeasures as nearly normalized measures on .
Definition 15** (Quasimeasures)**
* is called a quasimeasure iff is a measure or: for and for and , for some .*
Lemma 16** (Quasimeasures)**
* A quasimeasure is either a semimeasure which is zero on long strings -or- a measure. The set of enumerable quasimeasures is enumerable and contains all computable measures.*
For enumerability it is important to include the measures in the definition of quasimeasures. One way of enumeration would be to enumerate all enumerable partial functions and convert them to quasimeasures. Since we need a correspondence to semimeasures, we convert a semimeasure directly to a maximal quasimeasure .
Proof & construction. Obvious from Definition 15.
Let be an enumerable semimeasure enumerated by . Consider . is finite and monotone increasing in . We define the quasimeasure
[TABLE]
We define an increasing sequence in of quasimeasures for recursively starting with as follows:
[TABLE]
is an enumerable quasimeasure. Note that iff is a measure. One can easily verify that and iff is a quasimeasure. This implies that if is an enumeration of all enumerable semimeasures, then is an enumeration of all enumerable quasimeasures.
Let be the enumeration of all enumerable quasimeasures constructed in the proof of Lemma 16, based on the enumeration of all enumerable semimeasures with the property that and equality holds if is a (quasi)measure. We define the enumerable semimeasure
[TABLE]
with as before. To show we need the following Lemma.
Lemma 17** (Hellinger Continuity)**
For , where and and are semimeasures, it holds:
[TABLE]
Since the Hellinger distance is locally quadratic, scales quadratic in the deviation of predictor from . Closeness of to only, does not imply closeness of the predicitons, hence only a bound linear in the deviation is possible.
Proof. We identify and define , , , and . We extend to a probability by defining and set . Also . Exploiting and and and we get
[TABLE]
[TABLE]
With the notation from , additionally exploiting we get
[TABLE]
Exploiting , taking the square and summing over proves .
Proposition 18** (Convergence of enumerable to incomputable )**
For every computable measure and for being -random, the following holds for :
[TABLE]
The intuitive reason for the convergence is that the additional contributions of non-measures to absent in are zero for long sequences.
Proof.
[TABLE]
where . For , is not a measure. Hence for sufficiently long . This implies for , hence . To get convergence in ratio we have to assume that with being -random, i.e. .
[TABLE]
The last inequality holds, since is a computable measure of index , i.e. . Inserting for some and we get , which implies with
[TABLE]
Inserting this into (8) we get
[TABLE]
Obvious from by taking a double ratio.
Since and are semimeasures and by , Lemma 17 implies . Since for -random , this shows . can also be shown.
Speed of convergence. The main convergence Theorem 11 now immediately follows from Propositions 14 and 18. We briefly remark on the convergence rate. For , Lemma 4 shows that {\bf E}[\sum_{t}h_{t}(M,\mu)]\leq\ln w_{k_{0}}^{-1}\smash{\stackrel{{\scriptstyle\raisebox{1.80835pt}{\scriptstyle\times}}}{{\smash{=}}}}\ln k_{0} is logarithmic in the index of , but {\bf E}[\sum_{t}h_{t}(X,\mu)]\leq\ln\varepsilon_{k_{0}}\smash{\stackrel{{\scriptstyle\raisebox{1.80835pt}{\scriptstyle\times}}}{{\smash{=}}}}k_{0} is linear in for . The individual bounds for and in Proposition 14 are linear and exponential in , respectively. For we could not establish any convergence speed.
Finally we show that does not dominate all enumerable semimeasures, as the definition of suggests. We summarize all computability, measure, and dominance properties of , , , and in the following theorem:
Theorem 19** (Properties of , , , and )**
* is an enumerable semimeasure, which dominates all enumerable semimeasures. is not computable and not a measure.
is a measure, is proportional to a measure, both dominating all enumerable quasimeasures. and are not computable and do not dominate all enumerable semimeasures.
is an enumerable semimeasure, which dominates all enumerable quasimeasures. is not itself a quasimeasure, is not computable, and does not dominate all enumerable semimeasures.*
We conjecture that and are not even approximable (limit-computable), but lie somewhere higher in the arithmetic hierarchy. Since can be normalized to an approximable measure M.L.-converging to , and was only an intermediate quantity, the question of approximability of seems not too interesting.
Proof. First sentence: Holds by definition. That such an exists follows from the enumerability of all enumerable semimeasures [ZL70, LV97]. Second sentence: If were a measure it would be computable, contradicting [Hut03b, Thm.4] (see below).
First sentence: Follows from the definition of and and the fact that quasimeasures are zero on long strings: if is a computable measure. If is a “proper” quasimeasure, then , since for , and . Second sentence: It is well known that there is no computable semimeasure dominating all computable measures (see e.g. [Hut03b, Thm.4]), which shows that , and cannot be computable. We now show that and do not dominate the enumerable semimeasure by extending this argument. Let be a nowhere222, , , , and for are nowhere zero. Alternatively one can verify that all relevant assertions remain valid if is somewhere zero. zero computable semimeasure. We define a computable sequence as follows by induction: Given , choose some in a computable way (by computing to sufficient accuracy) such that . Such an exists, since is a semimeasure. We then define the computable deterministic measure concentrated on , i.e. and for all which are not prefixes of . By the chain rule we get . This shows that no computable semimeasure can dominate all computable measures, since is not dominated. We use this construction for :
[TABLE]
[TABLE]
For all we have
[TABLE]
Summing both bounds we get D(\alpha_{1:n_{k}})\leq W(\alpha_{1:n_{k}})\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu\times}}}{{\smash{\leq}}}}(k^{2}+1)2^{-k}M(\alpha_{1:n_{k}}), which shows that , and do not dominate the enumerable semimeasure .
Remark: Note that the constructed sequence(s) depends on the choice of , so we should write more precisely . For (but not for ) we can choose in (9) (satisfying ), leading to D(\alpha^{n}_{1:n})\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu\times}}}{{\smash{\leq}}}}n^{2}|{\cal X}|^{-n/2}M(\alpha^{n}_{1:n}). It is easy to generalize (9) to \forall x_{<t}\exists\alpha_{t:n}:\delta_{k}(x_{<t}\alpha_{t:n})\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu\times}}}{{\smash{\leq}}}}|{\cal X}|^{t-n}k^{2}2^{k}M(x_{<t}\alpha_{t:n}), where is a simple function of . Choosing and and joining the results for and we get D(\alpha_{1:n})\smash{\stackrel{{\scriptstyle\raisebox{3.01389pt}{\scriptstyle\mskip-3.0mu\mskip-3.0mu\mskip 5.0mu plus 5.0mu\times}}}{{\smash{\leq}}}}n2^{-\sqrt{n}}M(\alpha_{1:n})\mskip 3.0mu\forall n for the single sequence . This implies that (but is stronger than) is not random w.r.t. to any computable measure . Such are sometimes called absolutely non-stochastic.
First sentence: Enumerability is immediate from the definition, given the enumerability of all enumerable quasimeasures. Second sentence: Since quasimeasures drop out in the mixture defining for long , cannot be a measure. Since it is also not a quasimeasure. Non-computability and non-dominance of have already been shown in .
7 Conclusions
We investigated a natural strengthening of Solomonoff’s famous convergence theorem, the latter stating that with probability 1 (w.p.1) the prediction of a universal semimeasure converges to the true computable distribution (). We answered partially negative the question of whether convergence also holds individually for all Martin-Löf (M.L.) random sequences (
). We constructed random sequences for which there exist universal semimeasures on which convergence fails. Multiplicative dominance of is the key property to show convergence w.p.1. Dominance over all measures is also satisfied by the restricted mixture over all quasimeasures. We showed that converges to on all M.L.-random sequences by exploiting the incomputable mixture over all measures. For we achieved a (weak) convergence rate; for and only an asymptotic result. The convergence rate properties w.p.1. of and are as excellent as for .
We do not know whether holds. We also do not know the convergence rate for , and the current bound for is double exponentially worse than for . A minor question is whether is approximable (which is unlikely). Finally there could still exist universal semimeasures (dominating all enumerable semimeasures) for which M.L.-convergence holds (). In case they exist, we expect them to have particularly interesting additional structure and properties. While most results in algorithmic information theory are independent of the choice of the underlying universal Turing machine (UTM) or universal semimeasure (USM), there are also results which depend on this choice. For instance, one can show that is tt-complete for some , but not tt-complete for others [MP02]. A potential dependence also occurs for predictions based on monotone complexity [Hut03d]. It could lead to interesting insights to identify a class of “natural” UTMs/USMs which have a variety of favorable properties. A more moderate approach may be to consider classes of UTMs/USMs satisfying certain properties and showing that the intersection is not empty.
Another interesting and potentially fruitful approach to the convergence problem at hand is to consider other classes of semimeasures , define mixtures over , and (possibly) generalized randomness concepts by using this in Definition 5. Using this approach, in [Hut03b] it has been shown that convergence holds for a subclass of Bernoulli distributions if the class is dense, but fails if the class is gappy, showing that a denseness characterization of could be promising in general.
Acknowledgements. We want to thank Alexey Chernov for his invaluable help.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[HM 04] M. Hutter and An. A. Muchnik. Universal convergence of semimeasures on individual random sequences. In Proc. 15th International Conf. on Algorithmic Learning Theory (ALT’04) , volume 3244 of LNAI , pages 234–248, Padova, 2004. Springer, Berlin.
- 2[Hut 03a] M. Hutter. Convergence and loss bounds for Bayesian sequence prediction. IEEE Transactions on Information Theory , 49(8):2061–2067, 2003.
- 3[Hut 03b] M. Hutter. On the existence and convergence of computable universal priors. In Proc. 14th International Conf. on Algorithmic Learning Theory (ALT’03) , volume 2842 of LNAI , pages 298–312, Sapporo, 2003. Springer, Berlin.
- 4[Hut 03c] M. Hutter. An open problem regarding the convergence of universal a priori probability. In Proc. 16th Annual Conf. on Learning Theory (COLT’03) , volume 2777 of LNAI , pages 738–740, Washington, DC, 2003. Springer, Berlin.
- 5[Hut 03d] M. Hutter. Sequence prediction based on monotone complexity. In Proc. 16th Annual Conf. on Learning Theory (COLT’03) , volume 2777 of LNAI , pages 506–521, Washington, DC, 2003. Springer, Berlin.
- 6[Hut 05] M. Hutter. Universal Artificial Intelligence: Sequential Decisions based on Algorithmic Probability . Springer, Berlin, 2005. 300 pages, http://www.idsia.ch/ ∼ similar-to {}_{{}^{\sim}} marcus/ai/uaibook.htm.
- 7[Lev 73] L. A. Levin. On the notion of a random sequence. Soviet Mathematics Doklady , 14(5):1413–1416, 1973.
- 8[LV 97] M. Li and P. M. B. Vitányi. An Introduction to Kolmogorov Complexity and its Applications . Springer, Berlin, 2nd edition, 1997.
