← News

ResearchSources: arXiv · 3 Dec 2026

Study finds a critical sequence length beyond which longer training documents stop reducing gradient noise

An arXiv paper argues that the common rule of halving batch size when sequence length doubles breaks down past a measurable point set by the training data.

In plain words

When training large language models, longer input sequences are usually assumed to cut gradient noise the same way bigger batches do. The paper says this only holds up to a critical length, after which extra length adds context but little noise reduction. That limit depends on the documents and how they are packed, not on model size.

What was announced

The authors model gradient noise in next-token training as two parts: a per-token term that shrinks as sequences grow, and a floor caused by correlations between tokens of the same document that does not shrink. The two meet at a critical length, S*. Below it, longer sequences reduce noise; above it, they barely do. Testing GPT models from 125M to 1B parameters on FineWeb-Edu web documents and Project Gutenberg books, they report the model fits well, with exceptions on books and chopped data.

Three findings are highlighted. S* is set by the data: it depends on the documents and packing, and chopping documents into short pieces halves the noise floor. The critical length measured on AdamW updates is largely stable across model sizes and training time, and grows only with training length, while the raw-gradient version varies widely. Validation loss is lowest near S* and changes little beyond it, but downstream performance drops modestly with heavy packing and collapses when documents are chopped; intra-document attention masking keeps S* stable under packing and lowers loss.

What it does not show

  • The evidence is the paper's abstract only; full methods, experiments and peer review are not covered, and the results are the authors' own, not independently confirmed.

For security and IT teams

Scope
The findings cover GPT-style pre-training from 125M to 1B parameters on FineWeb-Edu and Project Gutenberg data, as described in the abstract.

Sources

Source-support review completed 3 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 3 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.