5% DNA-Laden Batch Windows Made the Gradient Norm 2.8× Larger
bremen79 · x · 2026-12-02
Parts 3/9 and 2/9 of bremen79's gradient experiment thread: at update 2507 of an LLM training run the gradient spiked; the batch (500K tokens) contained a long DNA sequence from a patent application. A controlled rerun from identical model and optimizer state showed keeping the 26 DNA-containing windows (5% of the batch) made the gradient norm 2.8× larger — a tiny data sliver's real effect on a single step far exceeds intuition.
More from Research
- Nature MI paper: closed multi-agent LLM loops narrow ideas instead of exploring — profjamesevans · 2026-12-02
- Training postmortem: even clean data can produce gradient spikes that become loss spikes — bremen79 · 2026-12-02
- Gradient spikes exposed garbled text in the FineWeb dataset — bremen79 · 2026-12-02
- 5% readable-text replacement doubles gradient norm on Pythia 1B, thread finds — bremen79 · 2026-12-02
- A single 'with with with' inflates OLMo 1B gradient norms 330x — bremen79 · 2026-12-02
- Readable Text Works Too: 'With With With' Inflates OLMo Gradients 330× — bremen79 · 2026-12-02