DeepMind paper exposes two numerical bugs in standard softmax and cross-entropy

kalyan_kpl · x · 2026-10-25

A new paper by Jonathan T. Barron and colleagues at Google DeepMind identifies two numerical bugs in standard softmax, log-softmax, and cross-entropy implementations:

The authors present simple fixed implementations that eliminate the previously observed "Slingshot" phenomenon, speed up grokking under weight decay, prevent accuracy collapse without weight decay, stop student networks drifting from teachers during distillation, and show that post-memorization logit growth is bounded by an equilibrium between weight decay and Adam's ε hyperparameter.

Related event: Google's Barron Reveals Two Numeric Bugs in All Softmax/Cross-Entropy Implementations(21 posts)→

Original post →

More from Research

Research channel →