Google researcher says all softmax and cross-entropy implementations have two numerical bugs

Google researcher Jon Barron and colleagues posted an arXiv paper on October 24, "A Fix for Softmax and Cross-Entropy," claiming that every existing implementation of softmax and cross-entropy—including JAX, PyTorch, and the textbook-standard formulation—contains two subtle numerical bugs that a simple rewrite can fix at once.

Confirmed

Why it matters

2026-10-24 ~ 2026-10-24 · 6 related posts

Primary sources

2 near-duplicate retellings: jon_barron · ZeYanjie