The Information of a Rare Symbol

Compare how much information two observed symbols convey under the same probability model.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace two probabilities
  2. State the model
  3. Compare a rare and common outcome under one model
  4. Keep rare observations distinct from model impossibilities

For an observed symbol of probability \(p>0\), its information is \(-\log_2 p\) bits.

Trace two probabilities

A symbol with probability one eighth has information three bits. One with probability one half has information one bit. Those are individual values, while entropy averages them. See entropy of a simple source.

State the model

Another source distribution can assign a different information value to the same token. Probability mass tables make that dependency visible.[1][2]

Compare a rare and common outcome under one model

If symbol A has probability one eighth, its surprisal is \(-\log_2(1/8)=3\) bits. A symbol of probability one half yields one bit. This scores a realized outcome under the assumed distribution. See binary entropy for the average.

Probability 1/2 → 1 bit
Probability 1/4 → 2 bits
Probability 1/8 → 3 bits
Independent outcomes add surprisal because their probabilities multiply

Keep rare observations distinct from model impossibilities

A model assigning probability zero to an observed outcome would incur unbounded log loss. Smoothing can address limited observed counts under a defined model. State the logarithm base.

References

  1. Claude E. Shannon, A Mathematical Theory of Communication ↩
  2. David J. C. MacKay, Information Theory, Inference, and Learning Algorithms ↩