Temperature Changes a Softmax Distribution

A positive temperature can divide logits before softmax, controlling how strongly score differences affect the resulting probabilities.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace two logits
  2. Choose where temperature is used

Trace two logits

For scores zero and \(\log 3\), temperature one gives proportions 1 to 3. At temperature two these become 1 to \(\sqrt{3}\), a less concentrated choice. See softmax on two scores.

Choose where temperature is used

A sampling setting and independently calibrated probability estimates have different purposes. Check the selected distribution under its intended rule. Score calibration covers the latter.[1]

References

  1. Ian Goodfellow, Yoshua Bengio and Aaron Courville, Deep Learning ↩