Strict global curricula barely pay off at LLM scale, but the LR decay phase is genuinely special, which is why labs concentrate high-quality data into the late annealing window.
Picture studying for a year-long exam. Spending the first ten months sorting your textbooks from easiest to hardest, then reading them in order, makes very little difference at the end. The textbooks you read in the final two weeks, when you are calm and your memory is freshest, do matter. Pretraining works the same way. Sorting the whole corpus by difficulty is mostly wasted effort, but the data placed in the last few percent of training, during the LR decay phase, is the data the model retains most strongly.
Detailed answer & concept explanation~6 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
6 minutes: why strict global curricula underperform at scale, why the annealing phase is mechanically different, the LR-weighted view that explains the asymmetry, and the late-phase quality-concentration recipe used by frontier labs.
Real products, models, and research that use this idea.
- Llama 3 explicitly describes a high-quality annealing data mixture for the final phase of pretraining, with measurably better downstream eval results than no-annealing controls
- DeepSeek-V3's two-stage schedule reserves a deliberately curated math and code heavy mixture for the WSD decay phase rather than sorting the full corpus by difficulty
- Qwen 2.5 documentation reports a multi-stage training schedule with quality-weighted upsampling in the final phase, not a corpus-wide curriculum sort
- OLMo 2's mid-training and annealing experiments publish per-phase mixture weights and confirm the late-phase data quality has outsized impact on retained scores
What an interviewer would ask next. Try answering before peeking at the approach.
QHow do you decide what data goes into the annealing window?
QWhat is the difference between WSD annealing and cosine annealing for the late phase?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Picking between 'order matters' and 'order does not matter' as a binary, instead of recognizing the asymmetry between the bulk of training (order weakly matters) and the annealing phase (order strongly matters).
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.