Jon Barron finds subtle bugs in all softmax and cross-entropy implementations, releases fix
CSProfKGD · x · 2026-11-18
Google researcher Jon Barron shared a new result: all existing implementations of softmax and cross-entropy—in JAX, PyTorch, textbooks—contain two subtle bugs. A simple rewrite fixes both and eliminates "slingshots" during grokking. The paper is self-hosted as HTML.
He also open-sourced the tooling: a single-script textohtml compiler that turns a standard LaTeX paper into a fast, responsive HTML page matching his homepage style—LaTeXML expands macros into a semantic XML AST, math is pre-rendered to static KaTeX at build time (with client-side fallback), and it runs on Python 3.10+ with zero pip dependencies.
More from Research
- Riemann Hypothesis proof condensed to 117 pages in paper rebuilt with Claude's help — birchlse · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- ByteDance Seed's Mixture-of-Loops Transformer boosts training-token efficiency 1.7x over OLMo3 — rickasaurus · 2026-11-29
- Pedro Domingos Shares 'Brutal Takedown' of RL: 1-Bit Rewards Waste Rich Supervision — pmddomingos · 2026-11-29
- Layer looping, zero training: LFM3-1.7B variant lifts ARC-Easy from 60.8% to 69.2% — stablequan · 2026-11-29
- Ant Group's robotics team open-sources LingBot-Map, turning plain RGB video into real-time 3D maps at ~20 FPS — anthara_ai · 2026-11-29