Temperature monotonically controls entropy
ProofAdvanced⏱ 30 minLLMstemperatureentropyexponential familysampling
Problem
Prove that is non-decreasing in , using the exponential-family identity with . Explain why truncated sampling is a different operation from lowering the temperature.
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| Solved | Problem | Field | Type | Difficulty | Time |
|---|---|---|---|---|---|
| Maximum likelihood is KL minimisation | LLMs | Proof | 15 min | ||
| Perplexity is not comparable across tokenisers | LLMs | Numerical | 15 min | ||
| Sizing best-of-n | Agents | Numerical | 15 min | ||
| The cross-entropy gradient is the prediction error | LLMs | Proof | 15 min | ||
| Concave impurity gives non-negative information gain | Classical ML | Proof | 30 min |