
3Blue1Brown
Reinventing Entropy | Compression & Intelligence Part 1
Summarised with Bite · 10 min read
Shannon's information theory reveals a striking connection: perfect compression and accurate prediction are mathematically identical. This insight transforms how we understand language models — pre-training isn't just about guessing the next word, it's about building the most efficient possible text compressor, where compression fundamentally requires intelligence.
0:00 – 10:30
The Robot Instruction Problem: When Probability Meets Data
A robot on a distant moon receives movement commands: up, down, left, right. The naive approach uses two bits per instruction (00, 01, 10, 11), but there's a catch — these instructions aren't equally likely. Up comes 50% of the time, down 25%, and left and right each 12.5%. A clever encoding emerges: use a single bit (0) for up, two bits (10) for down, and three bits (110, 111) for left and right. The math is revealing. Half the time you send one bit, a quarter of the time two bits, the rest three bits. Multiply each by its frequency and you get 1.75 bits per instruction, beating the flat two-bit approach. But here's the magic — when you visualize all possible binary strings as a tree diagram, with each layer representing strings of increasing length, the clever encoding consumes exactly the same fraction of space as the probability of each instruction. Up's single bit claims half the diagram, down's two bits claim a quarter, and the three-bit codes each claim an eighth. The probabilities and the space consumption align perfectly, suggesting something fundamental is happening beneath the surface.
5 more sections in the app
- 10:30 – 15:01The Random Noise Revelation: Why Perfect Compression Looks Chaotic
- 15:01 – 20:46Fractional Bits and the Meaning of Information
- 20:46 – 30:21Shannon's Wife and the Birth of Language Entropy
- 30:21 – 31:27Entropy: The Visual Formula for Average Information
- 31:27 – 32:01From Bits to Brains: Why Compression Requires Intelligence




