Physics · Primitives

MutualInformation

Information-theoretic dependence between two variables

Definition

Mechanism

The substrate information-theoretic measure of dependence between two random variables, defined generally as the Kullback-Leibler divergence between their joint distribution and the product of their marginals. When the relevant Entropy terms are finite, I(X; Y) = H(X) + H(Y) − H(X, Y), equivalently the reduction in one variable's entropy from knowing the other. Zero mutual information indicates statistical independence; a positive value indicates dependence, but its unnormalized magnitude has no universal scale. The property exists whether or not anyone estimates it. Distinct from normalized correlation coefficients, whose sensitivity depends on the selected method, and from mere co-occurrence.

Invariants

  1. Non-negativity: I(X; Y) ≥ 0 for all random variables X, Y.
  2. Symmetry: I(X; Y) = I(Y; X).
  3. Zero iff independent: I(X; Y) = 0 if and only if X and Y are statistically independent.
  4. Discrete entropy bound: for discrete X and Y with finite entropies, I(X; Y) ≤ min(H(X), H(Y)).

Risks

Failure modes

  1. Estimator conflation

    reading a finite-sample estimate of zero as proof of independence. Zero-iff-independent is a property of the population quantity, not of an estimate.

Relationships

Builds on

References

Nothing in this library builds on this pattern yet.

Reference

Identity

Ref
MutualInformation#e714
Sema ID
sema:MutualInformation#mh:SHA-256:e714024fcd78de043d4d86021d907157d7f44f7a9c719b1d760f5810dd762a8b
Ring
0
Tier
1
Updated
2026-11-11
Supersedes
  • sema:MutualInformation#mh:SHA-256:03a0a79a3c3433e42aa63a97157c7b376adf0aa3d06c28103b63229a458dcb07
  • sema:MutualInformation#mh:SHA-256:40369b10e6cf188b12f1922452d4ebc9184b8e398a765dd857bb4efd0a13589b