Generative Curriculum Learning

Animesh Jha, Karthik Mohan, Haakon Mongstad, Maximilian Böther, Ties Robroek, Ari S. Morcos, David J. Schwab, Matthew L Leavitt, Pratyush MainiarXiv 2026

TL;DR

Humans learn math by starting with addition before tackling calculus, yet teaching language models in a deliberate order—curriculum learning—has been notoriously hit-or-miss. The authors argue this is because standard methods try to sort messy, existing web data rather than designing a progression from scratch. By generating synthetic data tailored to a step-by-step curriculum (like grades 1 through 7 math), they show that training in order consistently beats random shuffling by 3–7 percentage points across model sizes, token budgets, and domains.

What Problem Does This Paper Address?

In human education and reinforcement learning, curricula work: you match the difficulty of the material to what the learner is ready for. In LLM pretraining, however, curriculum learning has been frustratingly inconsistent.

When the authors tested standard "score-and-sort" curriculum methods—which rank existing web documents by length, compression ratio, or perplexity—they found that the exact same method could be a hero on one dataset and a villain on another. For example, compression-based interleaving boosted GSM8K math scores by ~5–6 percentage points on a curated math corpus, but hurt performance by ~6–8 percentage points on a general web corpus.

The problem, the authors argue, is that classical curriculum learning puts the cart before the horse. An arbitrary web corpus was never written to be a progressive textbook. Sorting it by surface-level heuristics like document length doesn't guarantee a meaningful learning progression; it often just separates different types of documents mixed with noise.

Figure 1: Two ways to build a curriculum: (a) Classical curriculum learning scores the documents of an existing corpus and sorts them. The concepts remain out of order and mixed with unrelated text. (b) Gen- erative curriculum learning specifies a progression and generates data for each stage, so the corpus follows the progression.

Methods

Instead of hunting for a hidden order in existing data, the authors propose Generative Curriculum Learning:

  1. Specify the progression first: Define explicit stages of difficulty (e.g., Grade 1 through Grade 7 math, or Parts 1 through 4 of an introductory coding course) using detailed rubrics.
  2. Generate data for each stage: Use an LLM to rewrite source problems into each stage's target difficulty, creating a problem and worked solution tailored to that level.
  3. Train in order: Present the generated stages sequentially ($B_1 \rightarrow \dots \rightarrow B_K$) using a deterministic data loader (Zephon). To prevent the model from forgetting earlier stages or overfitting to the current one, they use 95/5 background mixing—95% of each phase comes from the active stage, and 5% is sampled from the other stages.
Figure 3: One source rewritten for each stage. A MATH-SYNTH source problem rewritten for grades 1, 3 and 7 (top) and a CODE-SYNTH source function rewritten for parts 1 through 4 (bottom). Each row gives the skill the stage teaches and a condensed version of the generated problem and its solution.

They compare this sequential order against uniform random sampling of the exact same data, reverse order ($G7 \rightarrow G1$), and interleaved cycles, using Qwen3-0.6B and Qwen3-1.7B models trained from scratch.

Datasets

  • DCLM: A high-quality, deduplicated general English web corpus (1B tokens).
  • MEGAMATH++: A curated corpus of mathematical web text and arXiv papers (1B tokens).
  • MATH-SYNTH (New): A synthetic math corpus generated by rewriting problems from OpenMathInstruct-2 and NuminaMath-1.5 into grades 1–7 using GPT-OSS-20B (tested at 1B, 2B, and 10B tokens).
  • CODE-SYNTH (New): A synthetic code corpus generated by rewriting functions from OpenCodeInstruct into four progressive programming stages (P1–P4) using DeepSeek-V4.1-Flash (0.72B tokens).
  • Evaluation: GSM8K and MATH-500 (avg@8 and pass@8) for math; ARC-Easy and PIQA for general knowledge on DCLM; HumanEval+, MBPP+, HumanEval Pro, and MBPP Pro (pass@20) for code.

Key Insights and Ideas

  • Order matters, not just grouping: Reversing the grade order ($G7 \rightarrow G1$) uses the exact same data and groupings as forward order ($G1 \rightarrow G7$), yet it drops MATH-500 performance below uniform random sampling.
  • Easy data builds a foundation for hard problems: At a 2B token budget, training on 1B tokens of grades 1–6 followed by 1B tokens of grade 7 beats training on 2B tokens of distinct grade-7 data by 3.3 percentage points on GSM8K. Easier material isn't just filler—it actively helps the model learn the harder stuff.
  • Sequential training trails early, then surges: In 10B-token runs, the grade-ordered model initially lags behind uniform sampling because it hasn't seen advanced topics yet. Once it reaches the later grades, it overtakes and finishes well ahead.
  • It works even in a crowd: Mixing MATH-SYNTH 50/50 with general web text (DCLM) still yields significant MATH-500 gains when the math half is presented in grade order.

Key Results

  • MATH-SYNTH (1B tokens): Sequential $G1 \rightarrow G7$ beats Uniform on pass@8 by +5.2 pp (0.6B) and +5.7 pp (1.7B) on GSM8K, and by +2.4 pp (0.6B) and +7.2 pp (1.7B) on MATH-500.
  • MATH-SYNTH (10B tokens): The gains hold at scale, beating Uniform by +2.9 pp (0.6B) and +3.5 pp (1.7B) on GSM8K, and +6.0 pp (0.6B) and +5.1 pp (1.7B) on MATH-500.
  • CODE-SYNTH (0.72B tokens): Sequential $P1 \rightarrow P4$ improves pass@20 over Uniform on most benchmarks, with the biggest jumps on harder compositional tasks like MBPP Pro (+4.9 pp at 0.6B and +5.5 pp at 1.7B).
Figure 2: Training in grade order beats uniform shuffling of the same data. QWEN3-1.7B trained from scratch on MATH-SYNTH, either in grade order (G1→G7) or uniformly shuffled. Each seed pair shares an initialization and sees the same data once, so only the order differs. Left: pass@8 during 10BT training, averaged over six seed pairs. The grade-ordered model trails early and finishes ahead, as it is taught more and more complex topics. Right: final gain in pass@8 over Uniform on GSM8K and MATH-500 at 10BT (six seed pairs) and 1BT (three seed pairs). We plot the mean along with the individual paired differences.

Limitations and Future Work

The experiments are limited to two domains (school math and introductory programming), models up to 1.7B parameters, and budgets up to 10B tokens. Because curriculum effects can vary across model scales, testing on larger models and other structured domains is an important next step. Additionally, the authors used fixed, pre-determined schedules; designing dynamic curricula that adapt to a model's evolving capabilities during pretraining remains an open problem.

Summary updated

BibTeX
@misc{jha2026generative,
  author = {Animesh Jha and Karthik Mohan and Haakon Mongstad and Maximilian Böther and Ties Robroek and Ari S. Morcos and David J. Schwab and Matthew L Leavitt and Pratyush Maini},
  title = {{Generative Curriculum Learning}},
  year = {2026},
  eprint = {2612.04319},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.04319},
}
Figure