What do Language Models Learn and When? The Implicit Curriculum Hypothesis
Organizations: Language Technologies Institute, Carnegie Mellon University · Department of Computer Science, Data Science and AI Institute, Johns Hopkins University · Khoury College of Computer Science, Northeastern University · Department of Computer Science, University of Southern California
Abstract
Large language models (LLMs) can perform remarkably complex tasks, yet the fine-grained details of how these capabilities emerge during pretraining remain poorly understood. Scaling laws on validation loss tell us how much a model improves with additional compute, but not what skills it acquires in which order. To remedy this, we propose the Implicit Curriculum Hypothesis: pretraining follows a compositional and predictable curriculum across models and data mixtures. We test this by designing a suite of simple, composable tasks spanning retrieval, morphological transformations, coreference, logical reasoning, and mathematics. Using these tasks, we track emergence points across four model families spanning sizes from 410M-13B parameters. We find that emergence orderings of when models reach fixed accuracy thresholds are strikingly consistent ( across 45 model pairs), and that composite tasks most often emerge after their component tasks. Furthermore, we find that this structure is encoded in model representations: tasks with similar function vector representations also tend to follow similar trajectories in training. By using the space of representations derived from our task set, we can effectively predict the training trajectories of simple held-out compositional tasks throughout the course of pretraining (- across models) without previously evaluating them. Together, these results suggest that pretraining is more structured than loss curves reveal: skills emerge in a compositional order that is consistent across models and readable from their internals.
Figures & tables
| Task | Input | Out |
|---|---|---|
| simple_icl: present_to_gerund | run | running |
| fact_extraction: extract_number | Passage: “John gave 5 apples to Mary on Tuesday.” How many apples? | 5 |
| logical_ops: conditional | If it rains, the ground gets wet. It rains. Is the ground wet? | yes |
| Compositional tasks | ||
| comp: gerund_upper | run | RUNNING |
| comp: translate_sp_eng_reverse | hola | olleh |
| OLMo2 | OLMo3 | LLM360 | Pythia | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1B | 7B | 13B | 7B | Amber | Crystal | 410M | 1.4B | 2.8B | 12B | |
| O2-1B | — | .80 | .72 | .75 | .88 | .76 | .84 | .92 | .78 | .84 |
| O2-7B | — | .93 | .93 | .88 | .92 | .71 | .72 | .77 | .84 | |
| O2-13B | — | .93 | .82 | .89 | .64 | .66 | .76 | .83 | ||
| O3-7B | — | .83 | .92 | .70 | .72 | .79 | .85 | |||
| Amber | — | .87 | .77 | .84 | .87 | .90 | ||||
| All tasks | Sim. only | |||
|---|---|---|---|---|
| Model | MAE | MAE | ||
| Pythia-410M | .681 | .195 | .717 | .301 |
| OLMo2-1B | .723 | .070 | .602 | .289 |
| Pythia-1.4B | .778 | .086 | .755 | .193 |
| Amber (7B) | .751 | .082 | .725 | .205 |
| Crystal (7B) | .676 | .133 | .568 | .315 |
Appendix figures & tables26 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | N | Input | Output |
|---|---|---|---|
| String Operations | |||
| copying | 20 | gTpigTHK | gTpigTHK |
| token_reversal | 20 | cat | tac |
| string_analogy | 10 | abc abd, ijk ? | ijl |
| simple_icl:uppercase | 26 | b | B |
| simple_icl:lowercase | 26 | B | b |
| Task | N | Input | Output |
|---|---|---|---|
| Morphology String Operation | |||
| compositional:gerund_lower | 178 | RUN | running |
| compositional:gerund_upper | 178 | run | RUNNING |
| compositional:gerund_reverse | 178 | run | gninnur |
| compositional:gerund_upper_reverse | 178 | run | GNINNUR |
| compositional:plural_lower | 165 | CHILD | children |
| Definition | pairs | Mean | Min | Max |
|---|---|---|---|---|
| Absolute threshold ( ) | 36 | 0.860 | 0.597 | 0.955 |
| Absolute threshold ( , stable for 3 consecutive checkpoints) | 36 | 0.790 | 0.599 | 0.961 |
| Relative threshold ( , fraction of max performance) | 36 | 0.528 | 0.085 | 0.866 |
| Relative threshold ( , fraction of max performance) | 36 | 0.500 | 0.077 | 0.773 |
| Model A | Model B | tasks | ||
| Within-family (OLMo-2) | ||||
| OLMo2-1B | OLMo2-7B | 106 | 0.889 | |
| OLMo2-1B | OLMo2-13B | 105 | 0.832 | |
| OLMo2-7B | OLMo2-13B | 104 | 0.865 | |
| Within-family (Pythia) | ||||
| Pythia-1.4B | Pythia-410M | 96 | 0.910 | |
| Model A | Model B | tasks | ||
| Within-family (OLMo-2) | ||||
| OLMo2-1B | OLMo2-7B | 106 | 0.718 | |
| OLMo2-1B | OLMo2-13B | 105 | 0.721 | |
| OLMo2-7B | OLMo2-13B | 104 | 0.934 | |
| Within-family (Pythia) | ||||
| Pythia-1.4B | Pythia-410M | 96 | 0.824 | |
| Model A | Model B | tasks | ||
| Within-family (OLMo-2) | ||||
| OLMo2-1B | OLMo2-7B | 106 | 0.579 | |
| OLMo2-1B | OLMo2-13B | 105 | 0.433 | |
| OLMo2-7B | OLMo2-13B | 104 | 0.563 | |
| Within-family (Pythia) | ||||
| Pythia-1.4B | Pythia-410M | 96 | 0.866 | |
| Model A | Model B | tasks | ||
| Within-family (OLMo-2) | ||||
| OLMo2-1B | OLMo2-7B | 106 | 0.491 | |
| OLMo2-1B | OLMo2-13B | 105 | 0.359 | |
| OLMo2-7B | OLMo2-13B | 104 | 0.707 | |
| Within-family (Pythia) | ||||
| Pythia-1.4B | Pythia-410M | 96 | 0.716 | |
| Model | Representation | Layer | k heads | ||
| LLM360 | |||||
| amber | hidden states | 21 | — | 6.02568 | 0.0001 |
| crystal | hidden states | 8 | — | 6.25822 | 0.0001 |
| Pythia | |||||
| pythia_410m | hidden states | 3 | — | 0.33991 | 0.001 |
| pythia_1.4b | hidden states | 12 | — | 5.93639 | 0.001 |