Do Data-based Curricula Work?

Maxim K. Surkov, Vladislav D. Mosin, Ivan P. Yamshchikov

Abstract

Curriculum Learning (CL) is a bio-inspired training strategy based on the intuitive idea that models, like humans, should learn better if presented with "easy" examples before "hard" ones. While often hailed as a way to speed up training, this paper investigates its efficacy for modern Transformer-based architectures. Through extensive testing across classification, translation, and pre-training, the authors find that "data-driven" curriculum learning—sorting training data by complexity—rarely benefits large language models like BERT and T5. In most cases, simple random sampling consistently performs as well as, or better than, complex ordering strategies.

Introduction

Training state-of-the-art NLP models requires massive computational resources, driving researchers to seek "shortcuts" to peak performance. Curriculum learning is one such strategy. The authors distinguish between two types: Task-driven CL (learning simple tasks before hard ones) and Data-driven CL (ordering samples within the same task by difficulty). While task-driven approaches have seen success, the evidence for data-driven CL in modern NLP is mixed. This paper rigorously tests whether data-driven curricula actually work for the Transformers that dominate the field today.

Methodology

The researchers decomposed the curriculum learning pipeline into two core components:

  1. Complexity Measures: They tested several ways to rank text difficulty, including heuristics (sentence length, word frequency), information-theoretic measures (Excess Entropy, TSE complexity), and model-based proxies (pre-trained model loss).
  2. Sampling Strategies: They implemented five strategies to schedule the data, including Competence-based (gradually increasing the data pool) and Hyperbolic (shifting focus from easy to hard over time).

These methods were evaluated across major tasks: Text Classification (Sentiment140, Hyperpartisan News), Masked Language Modeling (BERT pre-training), and Neural Machine Translation (T5 on WMT16).

Results

The empirical results were overwhelmingly negative for curriculum learning, showing that random shuffling is a remarkably strong opponent.

Classification Performance

In classification tasks, neither accuracy nor convergence speed improved significantly. In the best-case scenario, convergence was only 3% faster—a negligible gain considering the overhead of implementing the curriculum. As shown in the figures below, the random baseline (blue line) consistently matches or exceeds the performance of various complexity measures and sampling schedules.

Comparison of various complexity measures against the random baseline.
Comparison of different sampling strategies against the random baseline.

Translation and Pre-training

The results for more complex tasks were even more discouraging:

  • Machine Translation: BLEU scores for curriculum-trained models were almost always lower than the baseline (e.g., 17.0 vs 18.3).
  • MLM Pre-training: This was the most significant negative result. Curricula caused a massive slowdown; reaching specific loss thresholds often took several times longer than the baseline. By "protecting" the model from hard examples early on, the curriculum may have prevented it from learning robust features.

Discussion and Conclusion

Why does curriculum learning fail for Transformers? The authors suggest that random shuffling ensures every batch is a diverse representative of the dataset, providing a high-variance signal that helps generalization. Furthermore, human-centric definitions of "complexity" (like sentence length) may not align with what a self-attention mechanism finds difficult to learn.

The study concludes that data-driven curriculum learning remains a "gamble with very low odds." Until we have a better theoretical understanding of how Transformers process information-theoretic complexity, the simple approach of random shuffling remains the most effective and efficient choice for training large-scale NLP models.

Summary updated

BibTeX
@inproceedings{surkov2022do,
  author = {Maxim K. Surkov and Vladislav D. Mosin and Ivan P. Yamshchikov},
  title = {{Do Data-based Curricula Work?}},
  booktitle = {Insights @ ACL},
  year = {2022},
  doi = {10.18653/v1/2022.insights-1.16},
}
Figure