Skip to content
Field Atlas

Atlas / Mathematics / The Statistics Thread

Field · Emerged 1924 – 1952

Information Theory

How much information does a message contain, and how fast can it be sent reliably through a noisy channel?

4 chapters4 min read6 turning points1 open problem

Branched from
Probability Theory
Branched into
Statistical Learning Theory
Figures
Harry Nyquist, Ralph Hartley, Claude Shannon, Richard Hamming, David Huffman, Andrey Kolmogorov, Ray Solomonoff, Gregory Chaitin, Claude Berrou, David MacKay

In brief

Information theory measures information in bits. A message is informative to the extent that it is unpredictable, so the information in a source is set by its probabilities, not by what its messages mean. That single number, the entropy, is the least number of bits per symbol that any compression scheme can achieve. A second number, the capacity, is the most that any channel, from a telephone wire to a deep-space radio link, can carry without error.

Engineers at Bell Labs had groped towards a measure of information in the 1920s. In 1948 Claude Shannon created the whole subject in one paper, proving that reliable communication over a noisy channel is possible at any rate below capacity. He did not say how. Finding practical codes that approach his limit took forty-five years, and they now run every phone, disk drive and space probe.

Key ideas

EntropyEnters 1948

The average unpredictability of a source, H=−∑pilog⁡2piH = -\sum p_i \log_2 p_i bits per symbol. A fair coin has one bit per toss. A coin that lands heads 90% of the time has less than half a bit.

Channel capacityEnters 1948

The highest rate at which information can be sent through a noisy channel with an error probability as small as desired. Below capacity it can be done, above it it cannot.

Error-correcting codeEnters 1950

A way of adding structured redundancy to a message so that errors introduced in transmission can be detected and corrected at the other end.

Optimal prefix codeEnters 1952

A code in which frequent symbols get short codewords and no codeword begins another. Huffman's method finds the best one for any known set of probabilities.

Kolmogorov complexityEnters 1964 – 1969

The information in a single object, measured as the length of the shortest program that prints it. A string is random if it has no description shorter than itself.

Chapter I

Measuring the Telegraph

Telephone engineers of the 1920s needed to know how many messages a line could carry. Harry Nyquist showed in 1924 that the speed of signalling is limited by the range of frequencies the line transmits. Ralph Hartley proposed in 1928 that the information in a message be measured by the logarithm of the number of messages that could have been sent, and insisted that meaning be left out of it. His measure treated every possible message as equally likely. That is exactly what messages in a real language are not.

Chapter II

Shannon's Paper

Claude Shannon had already shown, in his master's thesis of 1937, that Boole's logic could design switching circuits. In 1948, at Bell Labs, he published "A Mathematical Theory of Communication". It brought probability into Hartley's measure. The information in a source is its entropy, H=−∑pilog⁡2piH = -\sum p_i \log_2 p_i, in bits, a name Shannon credited to his colleague John Tukey. He proved that a source can be compressed to HH bits per symbol and no further. Then came the surprise. Every noisy channel has a capacity, and below it information can be sent with as few errors as desired, not by slowing down but by coding long blocks cleverly. His proof picked a code at random and showed it works on average. It proved that good codes exist without exhibiting one.

Others took up the search. In 1950 Richard Hamming, tired of Bell Labs computers giving up on weekend jobs at the first error, published codes that correct errors themselves. In 1952 David Huffman, a student who chose a term paper over an exam, found the optimal way to compress a source with known probabilities. The gap to capacity stayed wide for decades.

Chapter III

A Closer Look: Squeezing a Biased Coin

A fair coin needs one bit per toss: nothing can be saved. Now take a coin that lands heads with probability 0.9. Its entropy is

H=−0.9log⁡20.9−0.1log⁡20.1≈0.469 bits per toss,H = -0.9 \log_2 0.9 - 0.1 \log_2 0.1 \approx 0.469 \text{ bits per toss},

so Shannon's theorem says a long record of tosses can be stored in less than half the space. How do we get there? One symbol at a time we cannot: any code must use at least one bit per toss. The trick is to code blocks. Take pairs of tosses:

PairProbabilityHuffman codewordLength
HH0.8101
HT0.09102
TH0.091103
TT0.011113

Huffman's rule builds this table by repeatedly merging the two least likely entries: TT with TH, then that pair with HT, then everything with HH. The average length is 0.81×1+0.09×2+0.09×3+0.01×3=1.290.81 \times 1 + 0.09 \times 2 + 0.09 \times 3 + 0.01 \times 3 = 1.29 bits per pair, or 0.645 bits per toss, already a saving of about a third. With blocks of three tosses the Huffman code needs 0.533 bits per toss, and longer blocks approach 0.469 as closely as desired, but never beat it. That limit is the entropy.

The same measure applies to language. Twenty-six letters and a space would need log⁡227≈4.75\log_2 27 \approx 4.75 bits each if all were equally likely. But English is predictable: after "q" comes "u". In 1951 Shannon asked people to guess the next letter of a text and estimated that English carries only about one bit per letter, so most of its letters could, in principle, be predicted from what came before. That redundancy is why a text with some letters missing can still be read, and why it compresses so well.

Chapter IV

Codes, Complexity and Physics

In 1965 Andrey Kolmogorov, independently of Ray Solomonoff and Gregory Chaitin, defined the information in a single string as the length of the shortest program that prints it. The idea tied information to computability theory: the complexity of a string is itself uncomputable. Kolmogorov also carried Shannon's entropy into ergodic theory as a measure of chaos.

Shannon's limit was finally approached in practice in 1993, when Claude Berrou and his colleagues announced turbo codes. David MacKay and Radford Neal then showed that Robert Gallager's low-density parity-check codes of 1962, built from the sparse random graphs of probabilistic combinatorics, were just as good. Entropy has also returned to physics, where erasing a bit is known to cost energy, as non-equilibrium physics describes. And the question of how much information a finite sample carries about a whole distribution lies at the root of statistical learning theory.

Applications

Where it is used

  • Statistical physics↗ Physics · Statistical Mechanics

    Entropy is missing information

    In 1957 Edwin Jaynes showed that the distributions of statistical mechanics are exactly those with the greatest Shannon entropy consistent with what is measured, such as the average energy. Thermodynamic entropy became a measure of what we do not know about a system's microscopic state.

    › Sources (1)
    • Jaynes, E. T. (1957). Information theory and statistical mechanics. Physical Review 106(4): 620–630.
  • Molecular biology↗ Biology · Molecular Biology

    Reading information in DNA

    The sites where proteins bind DNA are recognised by patterns, not exact sequences. Sequence logos show, position by position, how many bits of information a binding site carries, measured as the drop in entropy from the random value of two bits per base.

    › Sources (1)
    • Schneider, T. D. & Stephens, R. M. (1990). Sequence logos: a new way to display consensus sequences. Nucleic Acids Research 18(20): 6097–6100.
  • Communication

    From deep space to mobile phones

    Turbo codes carried data from spacecraft and third-generation phones, and LDPC codes now protect Wi-Fi, digital television and 5G data. Polar codes, found by Erdal Arıkan in 2009, were the first proved to reach capacity with a practical decoder, and 5G uses them too.

    › Sources (1)
    • Arıkan, E. (2009). Channel polarization: a method for constructing capacity-achieving codes for symmetric binary-input memoryless channels. IEEE Transactions on Information Theory 55(7): 3051–3073.

Open problems

Where the map runs out

Open

The capacity of the interference channel

Open as of 2026; the Gaussian case is known to within one bit (2008).

Two senders talk to two receivers at once, and each receiver hears the other sender as noise. What combinations of rates can both pairs achieve reliably? For a single sender and receiver Shannon gave a formula. For this simplest network with two of each, no formula is known.

Why it is hard

Each receiver can treat the unwanted signal as noise, decode it and subtract it, or do something in between, and senders can split their messages to help. The classic scheme, Han and Kobayashi's of 1981, was shown in 2015 to fall short for some channels, and the upper bounds meet the achievable rates only in special cases.

What resolving it unlocks

The limits of every shared wireless network. Mobile phones, Wi-Fi and satellite links all interfere with one another, and network information theory has almost no exact answers beyond the single link.

› Sources (2)
  • Etkin, R. H., Tse, D. N. C. & Wang, H. (2008). Gaussian interference channel capacity to within one bit. IEEE Transactions on Information Theory 54(12): 5534–5562.
  • El Gamal, A. & Kim, Y.-H. (2011). Network Information Theory. Cambridge University Press.

Further reading

  1. Shannon, C. E. & Weaver, W. (1949). The Mathematical Theory of Communication. University of Illinois Press.

    Shannon's paper in book form, with an introduction for general readers.

  2. Cover, T. M. & Thomas, J. A. (2006). Elements of Information Theory (2nd ed.). Wiley.

    The standard textbook.

  3. Gleick, J. (2011). The Information: A History, a Theory, a Flood. Pantheon.

    A popular history of information, with Shannon at its centre.