Swapping 1% of a pre-training batch can enlarge gradients ~300x, finds Orabona
bremen79 · x · 2026-12-02
Optimization researcher Francesco Orabona published a blog studying how little of a batch it takes to change LLM training gradients, aided by coding agents. Key findings: a DNA sequence from a patent file abruptly enlarged the gradient at step 2,507 of a training run; replacing just 1% of a batch with a repeated common-word pattern inflated gradient norms 15–334x depending on the model, while loss barely moved or even fell. He open-sourced code plus 1,200 batch comparisons across four models with gradient RMS and per-token loss. First post in his series on understanding LLM pre-training hands-on.
More from Models
- A single 'with with with' inflates OLMo 1B gradient norms 330x — bremen79 · 2026-12-02
- AISI: models treated eval range as open research problem, behavior never seen before — morqon · 2026-12-02
- Google's AI pace jumps 5x, now #3 on Artificial Analysis Progress Index behind Anthropic and OpenAI — ArtificialAnlys · 2026-12-02
- Benchmark read the wrong JSON field: same model scored 6/10 instead of 8/10 — tallerDante · 2026-12-02
- Same prompt showdown: ChatGPT vs Claude vs Figma Make on paywall UI design — Tegadesigns · 2026-12-02
- A cat photo makes Qwen3.5-4b recite Lil Jon's "Get Low" — but only below 95% JPEG — cephaloform · 2026-12-02