Essential Science

Mutual information

Definition

How much one variable tells about another: how much knowing X cuts the uncertainty of Y. I(X;Y) equals H(Y) minus H(Y|X): zero when independent, equal to the other's entropy when fully determining. Information theory's measure of correlation.

Core rule: Use it for feature selection, measuring relationships of any shape, and quantifying how much of an input actually gets through a channel (channel capacity is the maximized mutual information); nonlinear relationships can't escape it either.

Imagine a line of English with the next letter covered up. You can see a Q right before it, so U is a good first guess. Cover the Q as well, and you might start somewhere else.

Mutual information measures how much a clue makes something else easier to guess, on average. Let's play this game with Claude Shannon and see how you could put a number on the help. Then we'll take it outside the experiment.

How it works

First, try it without seeing any of the text. You might start with some of the most common letters.

Now uncover part of the sentence and see where your mind goes. You can use its spelling, grammar, and meaning to guess what's next. The alphabet stayed the same, but the order you'd try the letters in changed.

  1. 01 · Original uncertainty Without knowing X, you have some uncertainty about Y.
  2. 02 · Observe X Learn the value of the other variable X.
  3. +2 more mechanism steps & animation in the app

When it fails & limits

A clue can be good enough to help you predict something. Before you act on it, take a closer look at where that help comes from.

✦ Unlock full lesson in ConceptFlow

Unlock the full Mutual information lesson in ConceptFlow

You’ve read the core idea and opening case. Get the ConceptFlow app to continue through the full breakdown, failure modes, 5-minute audio lesson, and decision practice.

  • ▸5-minute English & Mandarin audio lesson
  • ▸8 more deep-dive case & mechanism insights
  • ▸All 7 failure boundaries & counter-examples
  • ▸3-point decision checklist + 6-step practice

Tap a store button on mobile, or scan with your phone camera on desktop.