# Kolmogorov structure function

In 1973 Kolmogorov proposed a non-probabilistic approach to statistics and model selection. Let each data be a finite binary string and models be finite sets of binary strings. Consider model classes consisting of models of given maximal Kolmogorov complexity. The Kolmogorov structure function of an individual data string expresses the relation between the complexity level constraint on a model class and the least log-cardinality of a model in the class containing the data. The structure function determines all stochastic properties of the individual data string: for every constrained model class it determines the individual best-fitting model in the class irrespective of whether the true model is in the model class considered or not. In the classical case we talk about a set of data with a probability distribution, and the properties are those of the expectations. In contrast, here we deal with individual data strings and the properties of the individual string focussed on. In this setting, a property holds with certainty rather than with high probability as in the classical case. The Kolmogorov structure function precisely quantify the goodness-of-fit of an individual model with respect to individual data.

The Kolmogorov structure function is used in the algorithmic information theory, also known as the theory of Kolmogorov complexity, for describing the structure of a string by use of models of increasing complexity.

## Kolmogorov's definition

Kolmogorov (left) talks on the structure function (see drawing on the blackboard) in (Tallinn, 1973).

The structure function was originally proposed by Kolmogorov in 1973 at a Soviet Information Theory symposium in Tallinn, but these results were not published [1] p. 182. But the results were announced in [2] in 1974, the only written record by Kolmogorov himself. One of his last scientific statements is (translated from the original Russian by L.A. Levin):

"To each constructive object corresponds a function $\Phi_x(k)$ of a

natural number k---the log of minimal cardinality of x-containing sets that allow definitions of complexity at most k. If the element x itself allows a simple definition, then the function $\Phi$ drops to 0 even for small k. Lacking such definition, the element is "random" in a negative sense. But it is positively "probabilistically random" only when function $\Phi$ having taken the value $\Phi_0$ at a relatively small $k=k_0$, then changes approximately as $\Phi(k)=\Phi_0-(k-k_0)$.

[Kolmogorov, in the announcement cited above]

## Contemporary definition

It is discussed in.[1] It is extensively studied in [3] where also the main properties are resolved. The Kolmogorov structure function can be written as

$h_{x}(\alpha) = \min_S \{\log |S| : x \in S , K(S) \leq \alpha \}$

where x is a binary string of length n with $x \in S$ where S is a contemplated model (set of n-length strings) for x, $K(S)$ is the Kolmogorov complexity of S and $\alpha$ is a nonnegative integer value bounding the complexity of the contemplated S's. Clearly, this function is nonincreasing and reaches $\log |\{x\}| =0$ for $\alpha = K(x)+c$ where c is the required number of bits to change x into $\{x\}$ and $K(x)$ is the Kolmogorov complexity of x.

### The algorithmic sufficient statistic

We define a set S containing x such that

$K(S)+K(x|S)=K(x)+O(1)$.

The function $h_x(\alpha)$ never decreases more than a fixed independent constant below the diagonal called sufficiency line L defined by

$L(\alpha)+\alpha = K(x)$.

It is approached to within a constant distance by the graph of $h_x$ for certain arguments (for instance, for $\alpha = K(x)+c$). For these $\alpha$'s we have $\alpha + h_x (\alpha) = K(x)+O(1)$ and the associated model S (witness for $h_x(\alpha)$) is called an optimal set for $x$, and its description of $K(S)\leq \alpha$ bits is therefore an algorithmic sufficient statistic. We write algorithmic' for Kolmogorov complexity' by convention. The main properties of an algorithmic sufficient statistic are the following: If S is an algorithmic sufficient statistic for x, then

$K(S)+\log |S| = K(x)+O(1)$.

That is, the two-part description of x using the model S and as data-to-model code the index of x in the enumeration of S in $\log |S|$ bits, is as concise as the shortest one-part code of x in $K(x)$ bits. This can be easily seen as follows:

$K(x) \leq K(x,S) +O(1) \leq K(S)+K(x|S)+O(1) \leq K(S)+\log|S|+O(1) \leq K(x)+O(1)$,

using straightforward inequalities and the sufficiency property, we find that $K(x|S)=\log |S| +O(1)$. (For example, given $S \ni x$, we can describe x self-delimitingly (you can determine its end) in $\log |S|+O(1)$ bits.) Therefore, the randomness deficiency $\log |S|-K(x|S)$ of x in S is a constant, which means that x is a typical (random) element of S. However, there can be models S containing x that are not sufficient statistics. An algorithmic sufficient statistic S for x has the additional property, apart from being a model of best fit, that $K(x,S)=K(x)+O(1)$ and therefore by the Kolmogorov complexity symmetry of information (the information about x in S is about the same as the information about S in x) we have $K(S|x^*)=O(1)$: the algorithmic sufficient statistic S is a model of best fit that is almost completely determined by x. ($x^*$ is a shortest program for x.) The algorithmic sufficient statistic associated with the least such $\alpha$ is called the algorithmic minimal sufficient statistic.

With respect to the picture: The MDL structure function $\lambda_x(\alpha)$ is explained below. The Goodness-of-fit structure function $\beta_x(\alpha)$ is the least randomness deficiency (see above) of any model $S \ni x$ for x such that $K(S) \leq \alpha$. This structure function gives the goodness-of-fit of a model S (containing x) for the string x. When it is low the model fits well, and when it is high the model doesn't fit well. If $\beta_x (\alpha) =0$ for some $\alpha$ then there is a typical model $S \ni x$ for x such that $K(S) \leq \alpha$ and x is typical (random) for S. That is, S is the best-fitting model for x. For more details see [1] and especially [3] and.[4]

### Selection of properties

Within the constraints that the graph goes down at an angle of at least 45 degrees, that it starts at n and ends approximately at $K(x)$, every graph (up to a $O(\log n)$ additive term in argument and value) is realized by the structure function of some data x and vice versa. Where the graph hits the diagonal first the argument (complexity) is that of the minimum sufficient statistic. It is incomputable to determine this place. See.[3]

### Main property

It is proved that at each level $\alpha$ of complexity the structure function allows us to select the best model S for the individual string x within a strip of $O(\log n)$ with certainty, not with great probability.[3]

## The MDL variant

The Minimum description length (MDL) function: The length of the minimal two-part code for x consisting of the model cost K(S) and the length of the index of x in S, in the model class of sets of given maximal Kolmogorov complexity $\alpha$, the complexity of S upper bounded by $\alpha$, is given by the MDL function or constrained MDL estimator:

$\lambda_{x}(\alpha) = \min_{S} \{\Lambda(S): S \ni x,\; K(S) \leq \alpha\},$

where $\Lambda(S)=\log|S|+K(S) \ge K(x)-O(1)$ is the total length of two-part code of x with help of model S.

### Main property

It is proved that at each level $\alpha$ of complexity the structure function allows us to select the best model S for the individual string x within a strip of $O(\log n)$ with certainty, not with great probability.[3]

### Application in statistics

The mathematics developed above were taken as the foundation of MDL by its inventor Jorma Rissanen.[5]

## Probability models and the Kolmogorov structure function

For every computable probability distribution P it can be proved [6] that $-\log P(x) = \log |S|+O(\log n)$. For example, if P is the uniform distribution on the set S of strings of length n, then each $x \in S$ has probability $P(x)=1/|S|$. In the general case of computable probability mass functions we incur a logarithmic additive error term. Kolmogorov's structure function becomes

$h'_{x}(\alpha) = \min_P \{-\log P(x) : P(x)>0, K(P) \leq \alpha \}$

where x is a binary string of length n with $-\log P(x)>0$ where P is a contemplated model (computable probability of n-length strings) for x, $K(P)$ is the Kolmogorov complexity of P and $\alpha$ is an integer value bounding the complexity of the contemplated P's. Clearly, this function is nonincreasing and reaches $\log |\{x\}| =0$ for $\alpha = K(x)+c$ where c is the required number of bits to change x into $\{x\}$ and $K(x)$ is the Kolmogorov complexity of x. Then $h'_{x}(\alpha)=h_{x}(\alpha)+O(\log n)$. For every complexity level $\alpha$ the function $h'_{x}(\alpha)$ is the Kolmogorov complexity version of the maximum likelihood (ML).

### Main property

It is proved that at each level $\alpha$ of complexity the structure function allows us to select the best model S for the individual string x within a strip of $O(\log n)$ with certainty, not with great probability.[3]

## The MDL variant and probability models

The MDL function: The length of the minimal two-part code for x consisting of the model cost K(P) and the length of $- \log P(x)$, in the model class of computable probability mass functions of given maximal Kolmogorov complexity $\alpha$, the complexity of P upper bounded by $\alpha$, is given by the MDL function or constrained MDL estimator:

$\lambda'_{x}(\alpha) = \min_{P} \{\Lambda(P): P(x)> 0,\; K(P) \leq \alpha\},$

where $\Lambda(P)=-\log P(x)+K(P) \geq K(x)-O(1)$ is the total length of two-part code of x with help of model P.

### Main property

It is proved that at each level $\alpha$ of complexity the MDL function allows us to select the best model P for the individual string x within a strip of $O(\log n)$ with certainty, not with great probability.[3]

## Extension to rate distortion and denoising

It turns out that the approach can be extended to a theory of rate distortion of individual finite sequences and denoising of individual finite sequences [7] using Kolmogorov complexity. Experiments using real compressor programs have been carried out with success.[8] Here the assumption is that for natural data the Kolmogorov complexity is not far from the length of a compressed version using a good compressor.

## References

1. ^ a b c Cover, Thomas M.; Thomas, Joy A. (1991). Elements of information theory. New York: Wiley. pp. 175–178. ISBN 978-0471062592.
2. ^ Abstract of a talk for the Moscow Mathematical Society in Uspekhi Mat. Nauk Volume 29, Issue 4(178) in the Communications of the Moscow Mathematical Society page 155 (in the Russian edition, not translated into English)
3. Vereshchagin, N.K.; Vitanyi, P.M.B. (1 December 2004). "Kolmogorov's Structure Functions and Model Selection". IEEE Transactions on Information Theory 50 (12): 3265–3290. doi:10.1109/TIT.2004.838346.
4. ^ Gacs, P.; Tromp, J.T.; Vitanyi, P.M.B. (2001). "Algorithmic statistics". IEEE Transactions on Information Theory 47 (6): 2443–2463. doi:10.1109/18.945257.
5. ^ Rissanen, Jorma (2007). Information and complexity in statistical modeling (Online-Ausg. ed.). New York: Springer. ISBN 978-0-387-36610-4.
6. ^ A.Kh. Shen, The concept of (α, β)-stochasticity in the Kolmogorov sense, and its properties, Soviet Math. Dokl., 28:1(1983), 295--299
7. ^ Vereshchagin, Nikolai K.; Vitanyi, Paul M.B. (1 July 2010). "Rate Distortion and Denoising of Individual Data Using Kolmogorov Complexity". IEEE Transactions on Information Theory 56 (7): 3438–3454. doi:10.1109/TIT.2010.2048491.
8. ^ de Rooij, Steven; Vitanyi, Paul (1 March 2012). "Approximating Rate-Distortion Graphs of Individual Data: Experiments in Lossy Compression and Denoising". IEEE Transactions on Computers 61 (3): 395–407. doi:10.1109/TC.2011.25.