Mutual information
I(X; Y) is how much knowing Y tells you about X, in bits or nats. Zero means independent.
In ML papers
is the mutual information between two random variables: how much knowing one reduces the uncertainty (Entropy and cross-entropy) of the other. It is symmetric, never negative, and zero exactly when and are independent. The semicolon separates the two sides; is the same quantity with known.
It equals the KL divergence between the joint distribution and the product of the marginals: . Contrastive methods maximize lower bounds on it; the InfoNCE loss of Oord et al. (2018) gives for samples.
Other meanings, by context
- Linear algebra. A bare or is the identity matrix (Identity matrix).
- Indicator. or with a condition inside is an indicator (Indicator function).
How to type it
| LaTeX | Shows |
|---|---|
I(X; Y) | |
\operatorname{MI}(X, Y) |
A worked example
If copies , knowing removes all of 's 1 bit of uncertainty. If is an independent coin, .
Common confusions
- The semicolon matters: is mutual information, while with a comma is a joint entropy (Semicolon (parameterized by)).