Skip to main content
QUICK REVIEW

[Paper Review] Curriculum learning for language modeling

Daniel Campos|arXiv (Cornell University)|Aug 4, 2021
Topic ModelingComputer Science19 references13 citations
TL;DR

This paper investigates curriculum learning (CL) for language model pretraining using ELMo on Wikitext-2 and Wikitext-103, applying linguistically motivated curricula such as unigram, trigram, and part-of-speech difficulty heuristics via competence-based curriculum (CBC). Despite extensive experiments, the authors find no consistent improvement in pretraining perplexity or downstream GLUE performance, and even observe that random curriculum can be as effective as structured ones, suggesting limited benefit of CL in this context.

ABSTRACT

Language Models like ELMo and BERT have provided robust representations of natural language, which serve as the language understanding component for a diverse range of downstream tasks.Curriculum learning is a method that employs a structured training regime instead, which has been leveraged in computer vision and machine translation to improve model training speed and model performance. While language models have proven transformational for the natural language processing community, these models have proven expensive, energy-intensive, and challenging to train. In this work, we explore the effect of curriculum learning on language model pretraining using various linguistically motivated curricula and evaluate transfer performance on the GLUE Benchmark. Despite a broad variety of training methodologies and experiments we do not find compelling evidence that curriculum learning methods improve language model training.

Motivation & Objective

  • To evaluate whether curriculum learning improves pretraining efficiency and performance in language models.
  • To investigate the impact of linguistically motivated curricula—such as unigram frequency, n-gram complexity, sentence length, and part-of-speech tags—on ELMo pretraining.
  • To assess whether competence-based curriculum (CBC) training regimes enhance transfer learning performance on the GLUE benchmark.
  • To determine if structured curricula outperform random sampling in language model pretraining.
  • To explore the disconnect between pretraining perplexity and downstream transfer performance.

Proposed method

  • The authors implement competence-based curriculum (CBC) training, where model competence increases over time and only samples below the current competence threshold are used.
  • Each training sample is assigned a difficulty score using heuristics such as unigram rarity, trigram complexity, sentence length, part-of-speech tags, and dependency parsing depth.
  • The model starts with an initial competence level λ₀ and increases it by a fixed increment after each training step, restricting data access to easier examples initially.
  • Experiments are conducted on Wikitext-2 and Wikitext-103 with fixed training time and hyperparameters to isolate the effect of curriculum structure.
  • Transfer performance is evaluated on the GLUE benchmark across 12 tasks, including SST, MRPC, QNLI, and MNLI.
  • Ablation studies compare CBC with random curriculum, no curriculum, and baseline stochastic sampling.

Experimental results

Research questions

  • RQ1Does curriculum learning improve language model pretraining performance on the Wikitext-2 and Wikitext-103 datasets?
  • RQ2Do linguistically motivated curricula (e.g., unigram, trigram, POS) lead to better downstream transfer performance than random or unstructured sampling?
  • RQ3Is there a measurable improvement in pretraining perplexity when using CBC compared to standard training?
  • RQ4Does the performance on the pretraining objective correlate with downstream GLUE performance?
  • RQ5Can random curriculum selection achieve comparable results to structured, linguistically motivated curricula?

Key findings

  • No consistent improvement in pretraining perplexity was observed across any curriculum method, with many CBC-based models showing high and unstable perplexity, suggesting overfitting or poor convergence.
  • Despite poor pretraining performance, models trained with CBC methods transferred well to downstream GLUE tasks, indicating that pretraining loss is not a reliable predictor of transfer performance.
  • Random curriculum performed comparably to or better than structured curricula in several GLUE tasks, including MRPC and QNLI, challenging the assumption that structured difficulty ordering is essential.
  • The trigram-based curriculum showed slightly better overall performance on Wikitext-103, but the gains were marginal and not statistically significant across all tasks.
  • The POS and dependency-based curricula showed inconsistent behavior, with high variance in validation perplexity, suggesting poor hyperparameter alignment for these heuristics.
  • The authors found no evidence that any specific linguistic heuristic (e.g., unigram, trigram, length) was more effective than others, and no clear benefit from structured curricula over random sampling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.