arXiv:2610.18632cs.ITOct 2026

Manuscript Offprint

arXiv:2610.18632

Solomonoff induction of selected bits and online classification

Bruno Bauwens, German Kuznetsov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Solomonoff induction is a general solution for sequence prediction that started the field of algorithmic information theory around 1960. Let MM be the universal semimeasure. After observing a string ω1⋯ωn−1\omega_1 \cdots \omega_{n-1}, it predicts the next bit ωn\omega_n to be bb with conditional probability proportional to M(ω1⋯ωn−1b)M(\omega_1 \cdots \omega_{n-1}b). Thus the error of this probability is

eω(n)=1−M(ω1⋯ωn−1ωn)M(ω1⋯ωn−10)+M(ω1⋯ωn−11).e_{\omega}(n)=1-\frac{M(\omega_{1}\cdots\omega_{n-1}\omega_{n})}{M(\omega_{1}\cdots\omega_{n-1}0)+M(\omega_{1}\cdots\omega_{n-1}1)}.

If ω\omega a computable infinite sequence with a self-delimiting description of at most kk bits, then ∑neω(n)≤kln⁡2+O(1)\sum_n e_\omega(n) \leq k \ln 2 + O(1).

Lattimore, Hutter and Gavane consider the problem of predicting computable patterns in a sequence, for example, the pattern of repeated bits ω=00 11 00 00 11 00⋯\omega = 00\,11\,00\,00\,11\,00\cdots. They show that the error probabilities of the bits fixed by a computable pattern have limit zero, for example, for repeated bits, one has lim⁡neω(2n)=0\lim_n e_\omega(2n) = 0.

We show that for some computable pattern, the sum of eω(n)e_\omega(n) over positions nn from the pattern is not bounded. However, the sum of squares (eω(n))2(e_\omega(n))^2 is bounded exponentially in the program length of the pattern, It is also shown that bits of ω\omega that are fixed by a computable classification function f:{0,1}∗→{0,1}f: \{0,1\}^* \to \{0,1\}, converges faster: the sum of (eω(n))2(e_\omega(n))^2 is bounded by a polynomial in the program length for programs whose runtime is bounded by any fixed computable time bound.

1 Introduction

Many machinelearning tasks can be viewed as sequence prediction: given bits ω1,…,ωn−1\omega_1, \ldots, \omega_{n-1}, what is the probability of the next bit ωn\omega_n being 0? Solomonoff provided a simple mathematical solution for this problem based on algorithmic probability MM defined below [15]. In this way, he united various philosophical approaches to the problem of scientific inference and the foundations of probability, see [12, chapter 5].

Often, we are only interested in the errors of some of the bits. For example, “online classification” can be viewed as “sequence prediction” by building a sequence that alternately consists of input features and labels. In this case, we do not care about predictions of the input features, but only about their labels. In this paper, we determine convergence rates for predicting computable patterns in sequences and in particular for deterministic online classification rules.

Definition. A semimeasure is a function P:{0,1}∗→R≥0P: \{0,1\}^* \to \mathbb{R}_{\geq 0} that satisfies P(empty str)≤1P(\text{empty str}) \leq 1 and P(x)≥P(x0)+P(x1)P(x) \geq P(x0) + P(x1), where xbxb denotes the concatenation of string xx and bit bb.

*Both authors work in National Research University Higher School of Economics, Faculty of Computer Science, Moscow, Russia. This work/article is an output of a research project (HSE-BR-2025-024) implemented as part of the Basic Research Program at HSE University.

Results were announced in the International Conference Dedicated to the 125th Anniversary of P.S. Novikov [3]. (August 24–28, 2026, Steklov Mathematical Institute of RAS, 8 Gubkina St., Moscow),

Among the lower semicomputable semimeasures, there exists a semimeasure MM that is maximal, which means that for each such semimeasure PP, one has ∃c∀x[P(x)≤cM(x)]\exists c \forall x [P(x) \leq cM(x)]. Note that all maximal such semimeasures are equal up to a constant factor. Let MM be any such maximal semimeasure.

Solomonoff’s solution for sequence prediction given ω<n=ω1⋯ωn−1\omega_{<n} = \omega_1 \cdots \omega_{n-1} is to predict ωn=b\omega_n = b with probability ∗^*

M(b∣ω<n)=M(ω<nb)M(ω<n0)+M(ω<n1).M(b\mid\omega_{<n})=\frac{M(\omega_{<n}b)}{M(\omega_{<n}0)+M(\omega_{<n}1)}.