DeepHorus is an innovative tech media and intelligence platform focused on AI, blockchain, startups, and emerging technologies.
Published on

The two kinds of random

Authors
  • avatar
    Name
    DeepHorus
    Twitter

A long-standing puzzle in information theory reveals that randomness is not solely defined by statistical properties. Two files with identical digit frequencies—one from random dice rolls, the other from the digits of pi—highlight a deeper distinction between statistical and algorithmic randomness. This distinction challenges traditional notions of compressibility and has profound implications for data compression and the nature of information.

The puzzle, posed by mathematicians, involves two files each containing one million digits. The first is pure noise from a ten-sided die, the second is the first million digits of pi. Statistical tests show both have uniform digit distribution, making them statistically indistinguishable from each other. By every standard measure, the two files appear equally random.

Despite their statistical identity, the pi file can be compressed using a short program that computes pi, while the random file cannot. This demonstrates compressibility beyond mere frequency-based redundancy. Entropy, which measures average information per symbol, is maximal for both files, yet pi contains a hidden order that allows algorithmic compression.

This phenomenon splits lossless compression into two kinds: statistical and algorithmic. Statistical compression, like Huffman coding, exploits frequency imbalances; algorithmic compression, rooted in Kolmogorov complexity, exploits underlying generative processes. Pi's digits lack statistical redundancy but possess a simple rule, making them algorithmically compressible.

The puzzle has fascinated information theorists for decades. It shows that statistical tests alone cannot capture the essence of randomness. A file may appear random statistically yet be deterministic algorithmically, leading to the concept of algorithmic randomness (Martin-Löf randomness) that defines a sequence as random if it has no shorter description than itself.

Understanding these two types of compressibility influences data compression, machine learning, and the foundations of probability. The search for a universal measure of randomness continues, with implications for cryptography and artificial intelligence. The puzzle reminds us that randomness is as much about the process as the outcome, and that what appears random may still be compressed by the right lens.

Read original article →Source: hn-frontpage