Skip to main content
QUICK REVIEW

[Paper Review] Numerical Evaluation of Algorithmic Complexity for Short Strings: A Glance into the Innermost Structure of Randomness

Jean-Paul Delahaye, Héctor Zenil|Jan 25, 2011
Computability, Logic, AI AlgorithmsComputer Science4 citations
TL;DR

This paper proposes a novel numerical method to estimate algorithmic complexity for short bit strings (up to 16 bits) by exhaustively simulating all 2-symbol, 4-state deterministic Turing machines with known halting times via the Busy Beaver problem. Using the resulting output frequency distribution, it applies the Levin-Zvonkin-Chaitin coding theorem to derive algorithmic probabilities and thus estimate Kolmogorov-Chaitin complexity, providing a robust, constant-free alternative to compression-based estimators with strong empirical consistency across machine sizes.

ABSTRACT

We describe an alternative method (to compression) that combines several theoretical and experimental results to numerically approximate the algorithmic (Kolmogorov-Chaitin) complexity of all $\sum_{n=1}^82^n$ bit strings up to 8 bits long, and for some between 9 and 16 bits long. This is done by an exhaustive execution of all deterministic 2-symbol Turing machines with up to 4 states for which the halting times are known thanks to the Busy Beaver problem, that is 11019960576 machines. An output frequency distribution is then computed, from which the algorithmic probability is calculated and the algorithmic complexity evaluated by way of the (Levin-Zvonkin-Chaitin) coding theorem.

Motivation & Objective

  • To address the challenge of estimating algorithmic complexity for short strings, where compression-based methods fail due to additive constant overhead.
  • To develop a direct, empirical method for approximating algorithmic complexity without relying on lossy compression heuristics.
  • To explore the inner structure of randomness by analyzing output frequency distributions of small Turing machines.
  • To validate the stability and consistency of algorithmic complexity rankings across increasing machine state spaces.

Proposed method

  • Exhaustively simulate all 11,019,960,576 deterministic 2-symbol, 4-state Turing machines with known halting times from the Busy Beaver problem.
  • Record all halting outputs to construct an empirical frequency distribution D of bit strings up to 16 bits.
  • Apply the Levin-Zvonkin-Chaitin coding theorem to derive algorithmic probability m(s) from output frequencies, using the relation C(s) ≈ -log₂m(s).
  • Use the resulting distribution to compute algorithmic complexity values for all strings of length ≤8 bits and selected ones up to 16 bits.
  • Validate consistency of string rankings across different machine state spaces (n=1 to 4) using Spearman correlation coefficients.
  • Account for the inherent non-integer nature of estimated complexity values, interpreting them as fine-grained measures of relative algorithmic simplicity.

Experimental results

Research questions

  • RQ1Can algorithmic complexity be reliably estimated for short strings where compression fails due to additive constants?
  • RQ2How stable are algorithmic complexity rankings when extending the space of simulated Turing machines from 3 to 4 states?
  • RQ3To what extent does the frequency distribution of outputs from small Turing machines reflect the true algorithmic probability of strings?
  • RQ4Does the coding theorem approach yield consistent and meaningful complexity values that preserve relative string order across increasing machine complexity?
  • RQ5How does the choice of computational model (e.g., 2-symbol, 4-state Turing machines) affect the resulting complexity classification?

Key findings

  • The method successfully computes algorithmic complexity estimates for all 256 bit strings of length 8 and selected strings up to length 16, providing a comprehensive numerical dataset.
  • The distribution of output frequencies from simulated 4-state Turing machines preserves the relative ranking of strings from smaller machine spaces (n=1 to 4), with a high Spearman correlation coefficient indicating strong consistency.
  • The first deviation in string ranking between D(3) and D(4) occurred only at position 20, indicating that the top 20 most frequent strings maintain their relative order across machine sizes.
  • The estimated algorithmic complexity values are non-integer, reflecting a fine-grained structure that allows for precise relative comparisons between strings.
  • The approach reduces reliance on arbitrary choices of universal Turing machines or compression algorithms, offering a bottom-up, empirically grounded alternative to traditional estimators.
  • The results suggest that algorithmic probability derived from small universal Turing machines provides a natural, constant-free distribution for measuring algorithmic complexity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.