Chapter 09 · overview · 1 min read
Information Theory
Information theory measures uncertainty and surprise in numbers. It began as the mathematics of sending messages efficiently, and it turned out to supply the loss functions of modern machine learning: cross-entropy trains classifiers and language models, and KL divergence measures how far one distribution is from another. This section builds them up from a single idea: rare events carry more information.
Topics in this section:
- Surprise and Information: measuring how unexpected an event is, in bits.
- Entropy: the average surprise of a distribution.
- Joint and Conditional Entropy: uncertainty about several variables and what one tells you about another.
- Cross-Entropy: the cost of using the wrong distribution.
- KL Divergence: how far apart two distributions are.
- Mutual Information: how much knowing one variable reduces uncertainty about another.