Curriculum learning

Curriculum learning is a training strategy that presents a model with easier examples first and harder ones later, rather than in random order, to speed learning or improve results.

Schools do not teach calculus before arithmetic. Curriculum learning applies the same idea to machine learning: instead of shuffling all training examples together, the model starts with simple ones and moves to harder ones as it improves. The term was introduced in a 2009 paper by Yoshua Bengio, Jerome Louradour, Ronan Collobert and Jason Weston, presented at the International Conference on Machine Learning in Montreal. They drew the analogy with shaping, the technique animal trainers use to build up complex behaviour step by step.

Any curriculum needs a definition of difficulty and a schedule. Difficulty can come from human judgement, from a rule of thumb such as treating shorter sentences as easier, or from another model, with examples it gets right counted as easy. The schedule can raise difficulty in fixed stages or adapt to the model's progress, a variant called self-paced learning. Bengio's team tested it on recognising geometric shapes of increasing complexity and on language modelling with a gradually growing vocabulary, and found better results on test data and faster convergence.

Their explanation was that a well-chosen curriculum acts like a continuation method, an optimisation trick that solves a smoothed, easier version of a problem first and gradually sharpens it, which can lead training to a better solution. The idea has older roots: Jeffrey Elman's 1993 work on recurrent networks argued for starting small, though later researchers questioned those results.

Curricula do not always help, and the opposite sometimes works. Some speech recognition systems have done better training on the noisiest, hardest examples first, an approach called anti-curriculum learning. Curricula are common in reinforcement learning, where an agent may master a simplified version of a game before the full one. Because a curriculum changes only the order of the training data, it can be combined with almost any other training technique.

Common questions

What is curriculum learning?

It is a way of training a machine learning model in which examples are ordered from easy to hard instead of being presented randomly. The idea, borrowed from human education, is that learning simple patterns first makes complex ones easier to learn.

Who introduced curriculum learning?

The term was introduced by Yoshua Bengio, Jerome Louradour, Ronan Collobert and Jason Weston in a paper at the 2009 International Conference on Machine Learning. Related ideas go back to Jeffrey Elman's 1993 work on starting small with neural networks.

Does curriculum learning always improve models?

No. Its benefits depend on the task, how difficulty is defined and the schedule used. In some cases random ordering works as well, and in others training on the hardest examples first, called anti-curriculum learning, has done better.

How is difficulty decided in curriculum learning?

It can be set by people labelling examples as easy or hard, by simple rules such as sentence length, or automatically, for instance by measuring how well another model or the model itself handles each example. Self-paced learning adjusts the difficulty as the model improves.

Finding more

Search for "curriculum learning Bengio 2009", "self-paced learning" or "curriculum reinforcement learning" to see where the idea has worked and where it has not. The original ICML paper, later surveys on arXiv and encyclopedia entries that cite them are reliable. Results are often specific to one task and data set, so look for comparisons against a randomly ordered baseline.

  • Curriculum Learning (ICML 2009)PaperThe 2009 paper by Bengio, Louradour, Collobert and Weston that introduced the term and its experiments.
  • Curriculum learningReferenceOverview of how difficulty and schedules are defined, with examples including anti-curriculum learning.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.