How does combining softmax with cross-entropy avoid vanishing gradients for confidently wrong predictions?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why pairing softmax with cross-entropy keeps gradients large when a classifier is confidently wrong. Tests whether you can derive the gradient with respect to the logits, contrast it with squared error on saturated outputs, and explain the limits of the fix.