{"slug": "critical-sequence-length-a-note-on-how-document-structure-bounds-gradient-noise", "title": "Critical Sequence Length: A Note on How Document Structure Bounds Gradient-Noise Reduction", "summary": "A research note argues that the standard pre-training assumption that gradient noise scales as 1/(BS) for batch size B and sequence length S breaks down beyond a certain sequence length, which the authors call the critical sequence length. The finding implies that doubling sequence length S cannot always be offset by halving batch size B, because document structure bounds how much gradient-noise reduction longer sequences deliver.", "body_md": "LLM pre-training commonly treats every token in a training sequence as an independent sample of the gradient. Under this assumption, gradient noise scales as 1/(BS) for batch size B and sequence length S, so B is halved whenever S is doubled. We show that this rule breaks down beyond a certain lengt", "url": "https://wpnews.pro/news/critical-sequence-length-a-note-on-how-document-structure-bounds-gradient-noise", "canonical_source": "https://aiflash.com/news/163057/", "published_at": "2026-12-03 19:30:16+00:00", "updated_at": "2026-12-03 19:45:01.880568+00:00", "lang": "en", "topics": ["machine-learning", "large-language-models", "ai-research", "neural-networks"], "entities": [], "also_reported_by": [], "takeaway": "Gradient noise does not keep falling as 1/(BS) past a critical sequence length, so doubling sequence length S and halving batch size B is not a safe substitution beyond that point.", "recommendation": {"advice": "When scaling sequence length, verify the 1/(BS) noise reduction still holds past the critical sequence length before halving batch size to save compute.", "playbook": "training-data", "playbook_url": "https://wpnews.pro/playbooks/training-data"}, "alternates": {"html": "https://wpnews.pro/news/critical-sequence-length-a-note-on-how-document-structure-bounds-gradient-noise", "markdown": "https://wpnews.pro/news/critical-sequence-length-a-note-on-how-document-structure-bounds-gradient-noise.md", "text": "https://wpnews.pro/news/critical-sequence-length-a-note-on-how-document-structure-bounds-gradient-noise.txt", "jsonld": "https://wpnews.pro/news/critical-sequence-length-a-note-on-how-document-structure-bounds-gradient-noise.jsonld"}}