A Fix for Softmax and Cross-Entropy
A proposed fix for standard softmax, log-softmax and cross-entropy implementations addresses two numerical bugs the authors call Softmax Collapse and Softmax Cancellation. Softmax Collapse occurs once the logit margin ex…