AI Base

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: