Learning Goal - Softmax and Log-Likelihood
4 important questions on Learning Goal - Softmax and Log-Likelihood
What is a softmax output layer? Write the activation formula.
a^L_j = e^(z^L_j) / Σₖ e^(z^L_k)
Each output is the exponentiated weighted input normalised by the sum of all exponentiated weighted inputs. The denominator ensures all outputs sum to 1.
Why are softmax outputs interpreted as probabilities?
- Positivity: e^z > 0 for any z, so all outputs are positive
- Sum to 1: the denominator normalises the outputs so Σⱼ a^L_j = 1
What is the log-likelihood cost, and why does it work well with softmax?
Where y is the correct class label. The cost = the negative log of the probability assigned to the correct answer.
It works well with softmax because, like cross-entropy with sigmoid, the σ'(z)-like terms cancel during differentiation. The learning rate is again governed purely by the prediction error — no saturation slowdown.
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
What is the key difference between sigmoid + cross-entropy vs. softmax + log-likelihood?
- Output range: each output independently between 0 and 1
- Interpretation: independent probabilities per class
- Best for: multi-label problems (multiple correct classes at once)
- Output range: all outputs sum to exactly 1
- Interpretation: mutually exclusive class probabilities
- Best for: single-label classification (only one correct class)
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding

















