Perfect compression looks like random noise

Intermediate Information theory, 3Blue1Brown
Created by Best · 07.06.2026 at 20:46 UTC

True random noise is incompressible: each bit is a fair coin flip, independent of the rest. An optimal compressed stream should be indistinguishable from that noise to the receiver .

Fix a message length of $n$ bits. If all $2^n$ strings of that length are equally likely, each underlying message had probability $2^{-n}$. Picture binary strings organized in layers by length: moving one message to a shorter codeword forces another message upward, costing extra bits globally .

Saving one bit locally can cost two elsewhere. For equally likely messages, giving each the same number of bits is optimal; uneven reallocation always penalizes someone. That accounting is the geometric heart of why entropy rates are tight limits .

University approvals: 0
Related cards
Builds on Robot warmup: skewed symbols and prefix codes · Information theory, 3Blue1Brown
Next Information as negative log probability · Information theory, 3Blue1Brown
Video Content
Tasks
Question 1

Random noise in this lecture is:

Question 2

An $n$-bit perfect codeword implies probability:

Question 3

Moving one message to a shorter codeword:

Question 4

Why cannot random noise be losslessly compressed further?

Card Info
  • Topic: Information theory, 3Blue1Brown
  • Difficulty: Intermediate
  • Completed: 0 users
Creator
Best
Best
BestBuddy