Beyond Random Sampling: Efficient Language Model Pretraining via Curriculum Learning

Yang Zhang, Amr Mohamed, Hadi Abdine, Guokan Shang, Michalis Vazirgiannis

TL;DR

Researchers have long known that humans learn better when starting with simple concepts before tackling complex ones. This paper demonstrates that Large Language Models (LLMs) benefit from the same "curriculum learning" approach, reaching baseline performance 18–45% faster and achieving up to a 3.5% performance boost when used as a pretraining warmup.

What Problem Does This Paper Address?

Pretraining LLMs is notoriously expensive, requiring massive computational resources and trillions of tokens. Currently, the standard practice is random sampling: grabbing batches of data from a massive pile without regard for their complexity.

While recent research has focused heavily on what data to select (filtering for quality), this paper asks a different question: Does the order in which we present data matter? The authors tackle the challenge of defining "difficulty" for a machine and designing schedules that successfully transition a model from "easy" to "hard" content without causing it to forget what it learned early on.

Methods

The authors conducted the first systematic study of Curriculum Learning (CL) for LLM pretraining, testing three primary strategies:

  1. Vanilla CL: A strict, linear ordering of a fixed dataset from easiest to hardest.
  2. Pacing-based Sampling: Using functions (linear, quadratic, or inverse quadratic) to gradually shift the probability of sampling harder data over time.
  3. Interleaved Curricula: Mixing difficulty levels within training segments to ensure the model sees a variety of data while still maintaining a progressive structure.

To define "difficulty," they analyzed 15 candidate metrics and narrowed them down to six representative, non-redundant signals:

  • Compression Ratio: A proxy for structural regularity.
  • Fertility: Tokenization complexity (average subwords per word).
  • Flesch Reading Ease: A standard linguistic readability score.
  • MTLD: A measure of lexical (vocabulary) diversity.
  • Number of Tokens: Sequence length.
  • Perplexity: How "surprised" a pretrained model is by the text.

Datasets

  • Pretraining: The English subset of CulturaX, a massive, cleaned dataset for LLM training.
  • Evaluation: A suite of eight established benchmarks covering:
  • Commonsense Reasoning: PIQA, COPA, OpenBookQA.
  • Language Understanding: Hellaswag, WinoGrande, xwinograd_en.
  • Reading Comprehension: BoolQ.
  • World Knowledge: ArcChallenge.

Key Insights and Ideas

  • Ordering is Orthogonal to Selection: The benefits of CL aren't just a side effect of "filtering" out bad data. Even when the model eventually sees the exact same data as the baseline, the sequence provides a significant optimization advantage.
  • The "Warmup" Sweet Spot: The most effective way to use CL is as a "warmup" phase. Starting with a curriculum and then switching to standard random sampling prevents the model from overfitting to "easy" data while retaining the early convergence gains.
  • Not All Metrics are Equal: MTLD (lexical diversity) and Compression Ratio were the stars of the show. Interestingly, Perplexity—often used to judge data quality—was less effective as a difficulty metric because high-perplexity samples are often just "noisy" rather than "complex," which can destabilize training.
  • Readability is a "Slow Burn": While most metrics showed early gains that leveled off, the Flesch Reading Ease metric showed a consistent, non-convergent upward trend, suggesting it might be particularly potent for longer training runs.

Key Results

  • Efficiency Gains: CL strategies reached baseline performance levels using 18–45% fewer training steps.
  • Performance Boost: When used as a warmup, CL led to sustained improvements of up to 3.5% over random sampling baselines.
  • Scalability: The findings held true as the authors scaled from 0.5B to 3B parameter models and up to 100B tokens.
  • Low Overhead: Computing these difficulty metrics is computationally "cheap." For 10B tokens, the cost was roughly $1–$2, a negligible fraction of the total pretraining cost.

Limitations and Future Work

  • Architecture & Language: The study focused exclusively on decoder-only models (LLaMA-style) and English-language data. The authors note that encoder-based models or multilingual settings might behave differently.
  • Static vs. Dynamic: The difficulty scores used were "static" (precomputed). The authors suggest that dynamic curricula—where the model's own current state determines what it finds "hard"—could yield even higher efficiency.
  • Downstream Fine-tuning: The paper focuses on the pretraining phase; how these curriculum-pretrained models behave during instruction tuning or RLHF remains an open question for future research.

Summary updated

BibTeX
@inproceedings{zhang2026beyond,
  author = {Yang Zhang and Amr Mohamed and Hadi Abdine and Guokan Shang and Michalis Vazirgiannis},
  title = {{Beyond Random Sampling: Efficient Language Model Pretraining via Curriculum Learning}},
  booktitle = {EACL (Volume 1: Long Papers)},
  year = {2026},
  doi = {10.18653/v1/2026.eacl-long.271},
}
Figure