Why is categorical cross-entropy paired with the softmax function for mutually exclusive classification?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why categorical cross-entropy is the standard loss to pair with a softmax output when each example has exactly one class. Tests maximum likelihood reasoning, the gradient with respect to the logits, convexity, numerical stability and the multi-label case.