Curriculum Pretraining
Nobody learns to read by starting with case law. Curriculum pretraining borrows that instinct: instead of shuffling an entire training corpus into one undifferentiated stream, the data is deliberately ordered, so the model meets rough or low-quality material first and the most valuable material last.
What gets orderedIn practice the curriculum runs as phases over a fixed token budget. An early phase consumes the bulk of cheap filtered web text. A late phase — the annealing or cooldown stage, run while the learning rate decays towards zero — up-weights curated material: textbooks, code, mathematics, and tightly filtered web subsets such as FineWeb-Edu. Sequence length is staged the same way, with training done on short contexts where attention is cheap and the window extended near the end.
Why the order matters- Data seen late, at a low learning rate, has disproportionate influence on the finished model's behaviour.
- Benchmark scores improve on an unchanged compute budget — the lever is sequencing, not more tokens.
- Long-context ability can be bought in the final few percent of training instead of paid for throughout.
- A curriculum that narrows too early bakes in habits the later phases struggle to undo.
This matters because pretraining is a single, largely irreversible expenditure: a frontier run commits months of cluster time and cannot be partially re-rolled when the result disappoints. Ordering is one of the few decisions that changes what the model becomes without changing what it costs.
Curriculum pretraining orders the pretraining corpus deliberately instead of shuffling it, so a model reads bulk web text early and curated material — textbooks, code, mathematics — in a late phase while the learning rate decays. Sequence length is usually staged the same way. Because data seen last disproportionately shapes the finished model, the ordering lifts capability on an unchanged token and compute budget, making it one of the few cheap levers in an otherwise irreversible run.
Think about how a school year is arranged. Picture books come before novels, and the material that really counts is taught last, when it will stick. Curriculum pretraining is that idea applied to the software behind chat assistants. These systems learn to write by reading an enormous amount of text, and the people building them choose the order of the reading list. Rough writing scraped from the open web comes first. The carefully chosen material — good textbooks, clean computer code, worked-out problems — is saved for the end, because whatever is read last leaves the deepest impression. Same amount of reading, noticeably better result.