Skip to content
nonconvexcard

The irreducible loss is the conditional entropy

ProofIntermediate⏱ 30 minLLMsentropylower boundscaling lawsirreducible loss

Problem

Prove that the expected cross-entropy of any model is at least the conditional entropy of the true distribution, with equality iff the model is exact. Relate this to the L∞\mathcal L_\infty term in scaling-law fits and to the interpretation of a model's reported loss.

Write a complete argument. Every inequality you use should be one you could state precisely.

Solution

Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.

Related problems

All problems
SolvedProblemFieldTypeDifficultyTime
Maximum likelihood is KL minimisationLLMsProofBeginner15 min
Perplexity is not comparable across tokenisersLLMsNumericalBeginner15 min
The cross-entropy gradient is the prediction errorLLMsProofBeginner15 min
Concave impurity gives non-negative information gainClassical MLProofIntermediate30 min
Derive the compute-optimal allocationLLMsProofIntermediate30 min