Reproduce “Critical Sequence Length: A Note on How Document Structure Bounds Gradient-Noise Reduction” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Sunny Guha

The authors measure how correlated tokens within a document affect gradient noise in GPT-style next-token training. They separate noise that falls with sequence length from a within-document floor, defining their crossover as the critical sequence length; in AdamW-weighted update space, estimates are generally 800–3,000 tokens. The proposed batch-size rule is not tested end-to-end, and longer contexts may still be needed.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.