Logits Before Normalization

A multiclass prediction can begin with real-valued scores called logits. Softmax converts them to nonnegative probabilities with total one.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace an ordered example
  2. Preserve the useful quantity

Trace an ordered example

Logits 1, 3, and 2 assign the largest softmax probability to the second item because exponentiation is increasing and the denominator is common. The scores themselves need not total one. See probability mass tables.

Preserve the useful quantity

Choosing the largest logit can give the same class as choosing the largest softmax probability. Calibrated confidence requires a separate evaluation. Interpreting predicted probabilities gives that context.[1]

References

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