Abstract
Standard training for Neural Machine Translation (NMT) often ignores the varying difficulty of training examples. This paper introduces Self-Guided Curriculum Learning (SGCL), a method where an NMT model determines its own learning path. By using a "vanilla" model’s ability to reconstruct training sentences as a difficulty metric, the authors demonstrate that training from "easy" to "hard" examples significantly improves translation quality. Experiments on WMT14 and WMT17 benchmarks show substantial BLEU score gains over standard Transformer baselines and existing curriculum learning methods.
Introduction
In standard NMT training, models are typically exposed to training examples in a random order. However, linguistic complexity and noise levels vary significantly across sentences. Curriculum Learning (CL) posits that models, like humans, benefit from starting with simple concepts before progressing to more difficult ones.
The primary challenge in CL is defining "difficulty." Previous methods relied on human-centric heuristics like sentence length or word rarity. However, human difficulty does not always align with model difficulty; for instance, a short sentence with rare idioms might be harder for a Transformer than a long, repetitive one. This paper proposes a "self-guided" approach where the NMT model's own internal logic defines the curriculum, mitigating the distribution shift between empirical training data and what the model actually learns.
Methodology
The authors introduce Recovery Degree as a proxy for difficulty. The SGCL process involves three main phases:
- Vanilla Training: A standard "vanilla" NMT model is trained on the full dataset.
- Difficulty Scoring: This vanilla model performs inference on the training set. A sentence-level BLEU score is calculated for each pair. High BLEU scores indicate "easy" examples (high recovery), while low scores indicate "hard" ones.
- Curriculum Scheduling: The training corpus is partitioned into $K$ subsets based on these scores. A new model is then trained using a "baby steps" approach, merging subsets into the training pool sequentially.
The authors explored two scheduling strategies:
- Fixed Schedule: Each training phase lasts for a predefined number of steps.
- Dynamic Schedule (Self-Paced): The model advances to the next subset only when its performance on the current subset exceeds that of the original vanilla model, ensuring mastery before progression.
Experimental Setup
The method was evaluated on two major benchmarks:
- WMT14 English⇒German (En-De): 4.5 million sentence pairs.
- WMT17 Chinese⇒English (Zh-En): 20 million sentence pairs.
Performance was measured using BLEU scores on standard test sets, including newstest2014 for En-De and newstest2017 for Zh-En.
Results and Discussion
SGCL consistently outperformed the vanilla Transformer baseline and other state-of-the-art CL methods. On WMT14 En-De, Dynamic SGCL achieved a BLEU score of 28.62 (+0.99 over baseline). On WMT17 Zh-En, it reached 25.34 BLEU (+1.56 over baseline).
Key insights include:
- Model-Centric Difficulty: Using a vanilla model to score data tailors the curriculum to the architecture's specific strengths.
- Recovery Degree vs. Length: Sentence length is not a perfect proxy for difficulty; performance-based metrics are more reliable.
- Distribution Shift Mitigation: Starting with easy examples helps the model converge to a better region of the parameter space.
- Dynamic Momentum: The dynamic schedule acts as a quality gate, preventing the model from being overwhelmed by noisy data early on.
Conclusion
Self-Guided Curriculum Learning provides a robust framework for improving NMT by leveraging the model's own feedback. While it requires additional computational overhead for the initial vanilla training and scoring phases, the significant gains in translation quality justify the cost. Future work may explore continuous difficulty adjustments and applications to non-autoregressive generation tasks.
Summary updated