Exploiting Curriculum Learning in Unsupervised Neural Machine Translation

Jinliang Lu, Jiajun Zhang

Unsupervised Neural Machine Translation (UNMT) has emerged as a powerful paradigm for translating between languages without parallel corpora. However, it faces a significant "garbage in, garbage out" challenge during its iterative training process. This paper, presented at EMNLP 2021, introduces a multi-granularity curriculum learning framework designed to prioritize high-quality data, leading to state-of-the-art performance and dramatically faster training.

The Bottleneck: Noisy Back-Translation

UNMT typically relies on two mechanisms: Denoising Auto-Encoding (DAE) and Back-Translation (BT). In BT, the model translates monolingual sentences into a target language to create "pseudo bi-texts," which are then used for training.

The core issue is that early in training, the model is weak. The resulting pseudo-translations are often nonsensical or highly distorted. Standard UNMT methods treat all generated pairs with equal importance, forcing the model to learn from low-quality noise. This results in slow convergence and sub-optimal final translation quality.

Multi-Granularity Curriculum Learning

To address this, the authors propose a two-layered Curriculum Learning (CL) strategy that transitions from "easy" to "hard" samples throughout the training process.

1. Batch-Level CL (Coarse-grained)

At the batch level, the framework sorts training data based on a "translatability" score. Instead of using simple heuristics like sentence length, the authors leverage cross-lingual word embeddings (via the MUSE toolkit). A sentence is considered "easy" if its constituent words have close neighbors in the target language's embedding space. A competence-based schedule then gradually introduces more difficult batches as the model matures.

2. Sentence/Token-Level CL (Fine-grained)

Even within an easy batch, individual tokens or sentences vary in quality. The framework uses the model itself to estimate quality in real-time through two metrics:

  • Quality Estimation (CP): Measuring the cosine similarity between the hidden states of the source sentence and its generated back-translation.
  • Uncertainty Estimation (JS): Using Jensen-Shannon divergence between two decoding passes with different dropout masks to gauge model confidence.

These scores are used to weight the loss function, ensuring the model focuses on high-quality, certain translations while down-weighting noisy samples.

The proposed multi-granularity curriculum learning framework, integrating batch-level sorting and sentence/token-level loss weighting.

Experimental Results

The method was evaluated on standard benchmarks including WMT14 (En-Fr), WMT16 (En-De, En-Ro), and LDC (En-Zh), using XLM and MASS as baselines.

Improved Translation Quality

The curriculum-based approach consistently outperformed strong baselines. For instance, on the English-Romanian (En-Ro) task, the model achieved a gain of +1.57 BLEU points over the XLM baseline. Ablation studies confirmed that both batch-level sorting and fine-grained weighting are necessary for optimal results.

Accelerated Convergence

Perhaps the most striking result is the improvement in training efficiency. By focusing on high-quality data early on, the model avoids the pitfalls of learning from noise. On the WMT En-Ro task, the proposed method reached the baseline's peak performance 3.1 times faster than standard training.

Comparison of back-translation loss and BLEU scores over training steps, demonstrating faster convergence and higher final performance with curriculum learning.

Key Insights

  • Language Distance Matters: Fine-grained CL is particularly effective for similar language pairs (e.g., English-French). For distant pairs like English-Chinese, the coarse batch-level sorting remains the more reliable signal.
  • Dynamic Difficulty: Unlike supervised learning, difficulty in UNMT is dynamic. The model-based quality estimation (CP/JS) successfully captures the evolving nature of back-translation quality.
  • Mastering the Basics: Analysis indicates that the primary gains come from the model's improved handling of the simplest sentences, providing a stable foundation for learning more complex linguistic structures later.

Conclusion

By treating unsupervised translation as a curriculum-based task, this work provides a robust solution to the noise inherent in back-translation. The multi-granularity framework not only pushes the boundaries of translation quality but also offers a significant practical advantage by drastically reducing the computational time required for training.

Summary updated

BibTeX
@inproceedings{lu2021exploiting,
  author = {Jinliang Lu and Jiajun Zhang},
  title = {{Exploiting Curriculum Learning in Unsupervised Neural Machine Translation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.findings-emnlp.79},
}
Figure