
Sign up to save your podcasts
Or


The Wolf Reads AI: Day 23: Kolmogorov Complexity and Algorithmic Randomness
Authors: Andrei Shen, Vladimir Uspensky, Nikolay Vereshchagin
Published: 2017Read the PDF here. Find the book at the American Mathematical Society bookstore.
đ§ The Main Idea
What does it mean for something to be random?
What does it mean for something to be simple?
Kolmogorov Complexity gives us a radical way to answer both:
The complexity of a string is the length of the shortest computer program that can produce it.
A string is random if no shortcut existsâno smaller program can reproduce it. Itâs incompressible.
This book by Shen, Uspensky, and Vereshchagin explores that idea from every angleâbridging computation, probability, and information theory into one sweeping framework.
đ Why It Still Matters
Kolmogorov Complexity shapes how we think about data, patterns, and learningâeven if we canât compute it exactly:
* In data compression, where meaning hides in patterns
* In machine learning, when we aim to generalize rather than memorize
* In anomaly detection, where something âtoo weirdâ signals a deeper pattern
* In theoretical AI, as we consider the limits of what a system can learn
At its heart is a deep truth:
The best explanation is the shortest one that still works.
If GPT-4 had a guiding principle, it wouldnât be âknow everything.â
It would be: Find the shortest true story.
âď¸ How It Works
Kolmogorov Complexity (KC) is usually written like this:
K(x) = length of the shortest program p such that p outputs x
* A string like "111...1" repeated 1000 times? KC is low â easy to generate.
* A random-looking 1000-bit string with no pattern? KC is high â no shortcut.
The book introduces:
* Plain and prefix complexity â dealing with how we write and decode programs
* Algorithmic randomness â when strings pass every statistical test for randomness
* Incompressibility lemmas â showing that most strings simply canât be shrunk
*
đ Key Concepts Explained
Algorithmic Randomness
A string is algorithmically random if no program shorter than the string can generate it. It looks random â and is random, by the logic of compression.
Prefix-Free Coding
To keep math clean, programs must be self-contained â one canât be the prefix of another. This prevents confusion when decoding.
Incompressibility
Most strings canât be compressed. If you find one that can, youâve probably uncovered structure, meaning, or a regularity worth investigating.
Memorable Quote from the Book
âRandomness is a lack of pattern. A string is random if it is incompressible.â
âď¸ Editorâs Note
This isnât just math.
Itâs philosophy, logic, and computer science rolled into one.
Kolmogorov Complexity and Algorithmic Randomness teaches us how to thinkânot just about AI, but about explanation itself. Itâs a mirror for our models, and maybe for us.
đ Podcast Note:
The podcast accompanying this article is created with Google NotebookLM. The two hosts you hear are AI-generated. They dive into the subject material with great enthusiasm. Every once in a while, they miss a detail. Today, they referred to this article as a âpaper.â A minor detail. This is a short article, not a paper, which would be a much longer work with detailed citations. (Although, admittedly, when I have the time, I do sometimes provide detailed citations for my articles. Today is not that day.) More AI paper fun tomorrow.
Coming Tomorrow
đ§Ž Minimum Description Length (MDL) â the idea that the best model is the one that explains the data in the fewest bits.
Think of Occamâs razor, but with math.#KolmogorovComplexity #AlgorithmicRandomness #WolfReadsAI #InformationTheory #Compression #ShenUspenskyVereshchagin #AIphilosophy #SutskeverPapers #OccamsRazor #ComplexityScience
By Diana Wolf TorresThe Wolf Reads AI: Day 23: Kolmogorov Complexity and Algorithmic Randomness
Authors: Andrei Shen, Vladimir Uspensky, Nikolay Vereshchagin
Published: 2017Read the PDF here. Find the book at the American Mathematical Society bookstore.
đ§ The Main Idea
What does it mean for something to be random?
What does it mean for something to be simple?
Kolmogorov Complexity gives us a radical way to answer both:
The complexity of a string is the length of the shortest computer program that can produce it.
A string is random if no shortcut existsâno smaller program can reproduce it. Itâs incompressible.
This book by Shen, Uspensky, and Vereshchagin explores that idea from every angleâbridging computation, probability, and information theory into one sweeping framework.
đ Why It Still Matters
Kolmogorov Complexity shapes how we think about data, patterns, and learningâeven if we canât compute it exactly:
* In data compression, where meaning hides in patterns
* In machine learning, when we aim to generalize rather than memorize
* In anomaly detection, where something âtoo weirdâ signals a deeper pattern
* In theoretical AI, as we consider the limits of what a system can learn
At its heart is a deep truth:
The best explanation is the shortest one that still works.
If GPT-4 had a guiding principle, it wouldnât be âknow everything.â
It would be: Find the shortest true story.
âď¸ How It Works
Kolmogorov Complexity (KC) is usually written like this:
K(x) = length of the shortest program p such that p outputs x
* A string like "111...1" repeated 1000 times? KC is low â easy to generate.
* A random-looking 1000-bit string with no pattern? KC is high â no shortcut.
The book introduces:
* Plain and prefix complexity â dealing with how we write and decode programs
* Algorithmic randomness â when strings pass every statistical test for randomness
* Incompressibility lemmas â showing that most strings simply canât be shrunk
*
đ Key Concepts Explained
Algorithmic Randomness
A string is algorithmically random if no program shorter than the string can generate it. It looks random â and is random, by the logic of compression.
Prefix-Free Coding
To keep math clean, programs must be self-contained â one canât be the prefix of another. This prevents confusion when decoding.
Incompressibility
Most strings canât be compressed. If you find one that can, youâve probably uncovered structure, meaning, or a regularity worth investigating.
Memorable Quote from the Book
âRandomness is a lack of pattern. A string is random if it is incompressible.â
âď¸ Editorâs Note
This isnât just math.
Itâs philosophy, logic, and computer science rolled into one.
Kolmogorov Complexity and Algorithmic Randomness teaches us how to thinkânot just about AI, but about explanation itself. Itâs a mirror for our models, and maybe for us.
đ Podcast Note:
The podcast accompanying this article is created with Google NotebookLM. The two hosts you hear are AI-generated. They dive into the subject material with great enthusiasm. Every once in a while, they miss a detail. Today, they referred to this article as a âpaper.â A minor detail. This is a short article, not a paper, which would be a much longer work with detailed citations. (Although, admittedly, when I have the time, I do sometimes provide detailed citations for my articles. Today is not that day.) More AI paper fun tomorrow.
Coming Tomorrow
đ§Ž Minimum Description Length (MDL) â the idea that the best model is the one that explains the data in the fewest bits.
Think of Occamâs razor, but with math.#KolmogorovComplexity #AlgorithmicRandomness #WolfReadsAI #InformationTheory #Compression #ShenUspenskyVereshchagin #AIphilosophy #SutskeverPapers #OccamsRazor #ComplexityScience