Dynamic Curriculum Learning for Low-Resource Neural Machine Translation

Chen Xu, Bojie Hu, Yufan Jiang, Kai Feng, Zeyang Wang, Shen Huang, Qi Ju, Tong Xiao, Jingbo Zhu

Introduction

Curriculum Learning (CL) is a training strategy inspired by human education, where a model is presented with simpler concepts before moving to more complex ones. While CL has been shown to improve convergence in neural networks since 2009, its application to Neural Machine Translation (NMT) often relies on static definitions of "difficulty." This paper, presented at COLING 2020, introduces Dynamic Curriculum Learning (DCL), a framework that adaptively reorders training data based on real-time learning progress.

The Challenge: Staticity in Low-Resource NMT

NMT models are notoriously data-hungry, often failing to converge or overfitting when trained on small-scale corpora. Traditional CL attempts to mitigate this by sorting samples from easy to hard based on heuristics like sentence length or word rarity. However, the authors identify two major flaws in static CL:

  1. Static Difficulty: A sentence's difficulty is not fixed; it changes as the model's internal representations evolve.
  2. Mismatched Competence: Pre-defined schedules (e.g., linear or square-root functions) do not account for the non-linear progress typical of low-resource models.

Dynamic Curriculum Learning (DCL)

The proposed DCL framework replaces fixed heuristics with adaptive metrics to better align the training curriculum with the model's actual state.

1. Dynamic Sample Difficulty (Loss Decline)

Rather than using absolute loss—which can be misleading due to noise or outliers—DCL measures the rate of change in loss. A significant drop in a sample's loss between training phases indicates that the model currently has the "competence" to learn from it.

2. Dynamic Model Competence (DMC)

Instead of a mathematical curve, DCL uses the model’s performance (BLEU score) on a development set to decide when to introduce harder samples. The curriculum only advances when the model demonstrates stability and improvement on unseen data.

3. Difficulty-Based Batching

Standard NMT batches sentences by length. DCL instead groups sentences with similar loss-decline rates. This approach aims to produce more stable gradients, reducing the optimization noise prevalent in low-resource settings.

Experimental Evaluation

The authors evaluated DCL across several low-resource benchmarks, including IWSLT TED Talk datasets and subsampled versions of WMT’16 English-German.

Dataset statistics for low-resource NMT tasks.

Key Results and Discussion

DCL consistently outperformed both the standard Transformer baseline and existing state-of-the-art CL methods.

Comparison of BLEU scores across different curriculum learning methods.

Significant Performance Gains

On the extremely scarce 50K En-De task, the combination of DCL and difficulty-based batching improved the BLEU score from 9.21 to 12.90 (+3.69 points). Across IWSLT tasks, improvements ranged from 0.5 to 1.1 BLEU points.

Diminishing Returns in High-Resource Settings

The benefits of DCL are inversely proportional to the amount of training data. While it provides massive gains for the 50K dataset, the improvement on the full 4.5M En-De dataset is negligible. This suggests that curriculum learning is most effective as a tool for maximizing the utility of scarce data.

Conclusion and Future Work

Dynamic Curriculum Learning offers a robust way to train NMT models in low-resource environments by making the training schedule responsive to the model's actual learning curve. While it introduces a computational overhead of approximately 30% due to periodic re-ranking, the gains in translation quality and convergence speed are substantial. Future research may extend DCL to semi-supervised or unsupervised NMT, where data difficulty is even more volatile.

Summary updated

BibTeX
@inproceedings{xu2020dynamic,
  author = {Chen Xu and Bojie Hu and Yufan Jiang and Kai Feng and Zeyang Wang and Shen Huang and Qi Ju and Tong Xiao and Jingbo Zhu},
  title = {{Dynamic Curriculum Learning for Low-Resource Neural Machine Translation}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.coling-main.352},
}
Figure