DeepMind's Jon Barron: every softmax and cross-entropy implementation has two subtle bugs

jon_barron · x · 2026-10-29

Jon Barron (Google DeepMind) shares a new finding: all existing implementations of softmax and cross-entropy — including JAX, PyTorch, and textbooks — contain two subtle bugs. A simple rewrite fixes both and eliminates "slingshots" during grokking. DeepMind research lead Raia Hadsell amplified it as "a good reminder to question everything."

Original post →

More from Research

Research channel →