How Shannon Measured the Entropy of English

A guessing game helped Claude Shannon estimate how much information English text contains, and why prediction is central to compression.

Chaîne
3Blue1Brown
Publié
12 juin 2026
Vidéo
2:25
Lecture
2 min
Diapositives
1
Original
anglais
Ouvrir sur YouTube
En faisant défiler, la vidéo se réduit en bas à droite et continue. Les sous-titres suivent votre langue de lecture.
Langue de lectureDisponible en 2 langues
Cet article n’est pas encore disponible en français ; il s’affiche dans l’original en anglais.
RÉSUMÉ

En 30 secondes

3Blue1Brown explains how Claude Shannon moved from counting short letter sequences to human prediction experiments. The resulting estimate connects English’s compressibility with the ability to predict what comes next.

  1. 1Prediction and compressionShannon linked the compressibility of English to the probabilities of its next characters.
  2. 2A human language modelBetty Shannon guessed letters from a passage, allowing correct guesses to be replaced by dashes.
  3. 3Counting guessesShannon expanded the experiment by recording how many guesses people needed and used the results to estimate probabilities.
  4. 4An estimate of one bitWith at least 100 characters of context, he estimated English might in principle be compressed to around one bit per character.

À retenir

  1. A predictable next character carries less new information and can be compressed more efficiently.
  2. Counting short sequences cannot reliably measure the predictive value of long contexts that rarely recur in a sample.
  3. Shannon used human guesses to estimate probabilities and suggested English could approach one bit per character given substantial context.
  4. Modern compression can use engineered predictive models rather than only measuring human prediction.
TEXTE INTÉGRAL

Lire le texte remanié, chapitre par chapitre

Transcription seule
01

From letter counts to human prediction

Short-sequence statistics become sparse as context grows. Shannon turned to a human predictor to explore the information in longer contexts.

Claude Shannon connected the compressibility of English to how predictable its text is. His early experiments counted which characters followed short sequences: for instance, scanning books for every occurrence of “TH” and tabulating what came next.

That approach breaks down for long sequences, especially ones that never appear in the sample. Yet longer sequences provide more context, making the next character more predictable and the text more compressible. Shannon therefore needed another way to investigate those probabilities.

He turned to a language model available to him in the 1940s: his wife, Betty. As the story goes, he asked her to predict each new letter in a passage. When she guessed wrong he wrote down the correct letter; when she guessed right, he put a dash. The resulting string had fewer letters but, given a duplicate of the same predictor, could still be used to reconstruct the text.

This was a start, but Shannon’s formal definition of information required the probabilities assigned to the next letter. In his paper “Prediction and Entropy of Printed English,” he described experiments with more people that recorded how many guesses each needed to find the correct letter. He combined the number of guesses with short-sequence statistics to estimate the probabilities implicit in their predictions.

02

Estimating entropy from guesses

Shannon recorded the number of guesses needed and combined that information with short-sequence statistics. The estimate suggests a connection between compression and intelligent prediction.

Shannon’s entropy estimate
DIAPOSITIVE 1 / 1Shannon’s entropy estimateThe displayed paper and data table accompany the estimate derived from human guesses.

Given at least 100 characters of context, Shannon estimated that English might in principle be compressed to around one bit per character. To make that estimate he had to go beyond simple data analysis and probe something intelligent. Today, the speaker argues, compression near this limit involves trying to engineer predictive intelligence; this clip comes from a longer series exploring that connection.

Sur la même chaîne

20 diapositives40:44EN
3Blue1Brown· 16 oct. 2026Grant Sanderson: There's never been a better time to go into mathGrant Sanderson, Constantin Kogler · 3Blue1BrownStudents fear AI has solved mathematics. Grant Sanderson argues the opposite: even if machines prove theorems better than we do, the institution of math stays valuable—and this is a rare moment when newcomers can reshape it.MathematicsAI for scienceHuman-AI Collaboration+2
29 diapositives51:55EN
3Blue1Brown· 18 sept. 2026The last IMO problem AI could not solveGrant Sanderson · 3Blue1BrownGrant Sanderson walks through IMO 2025 Problem 6 — a tiling puzzle that frontier models missed — and the visual patience it takes to prove a construction is optimal.MathematicsAI researchReasoning & test-time compute+2
0:55EN
3Blue1Brown· 24 juil. 2026The 64 Sugar Cubes Puzzle: Six Equal DistancesA 4×4×4 block has three colors; prove that six same-colored pairs share a distance.MathematicsEducation
Diapositives1:02EN
3Blue1Brown· 10 juin 2026A Robot Walk and the Puzzle of Optimal Binary EncodingHow few bits does it take to send directions that occur with unequal frequencies?MathematicsScience Communication
4 diapositives32:19EN
3Blue1Brown· 7 juin 2026Reinventing Entropy: Why Prediction Helps Compress LanguageA robot’s movement code leads from prefix-free encoding to Shannon information and the entropy of language.MathematicsScience Communication
0:48EN
3Blue1Brown· 25 mars 2026The Subset Sum Puzzle: Who Has a Winning Strategy?Choose ten integers from 1 to 100, then look for two different subsets with the same sum.MathematicsEducation